Skip to content

How to cut (trim) video and audio with timestamps #184

@rsomani95

Description

@rsomani95

Great work!

I'm confused as to how to solve this problem, but am sure that it is solvable with a little guidance. I'm trying to trim a clip that should be 600/25(fps) = 24s long.

(
    input_video
    .trim   (start_frame=10000, end_frame=10600) # output len --> 600 frames long
    .output ('out.mp4' )
    .run()
) 

However, the output gives me a file that is 10600 frames long, where the first 10000 frames don't play in some video players while they skip over in others. Nevertheless, what I wish for is a clip that is only 600 frames long.

Additionally, my output files do not have any audio. This isn't an issue though, but a solution would be a nice bonus.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions