2

I want to crop a video frame sequence by frame number. For example for 10000 frames sequence, i want to crop it 750 frame from beginning.

1
  • Hi @Gyan - if you post an answer, ideally with an example of syntax as well as the link, we can upvote it. Comments are generally temporary so your comment here will go eventually.
    – Dr Mayhem
    Sep 26, 2018 at 9:04

1 Answer 1

1

FFmpeg's image sequence demuxer has a start_number option, so if you want to skip img_0749.jpg and start from img_0750.jpg, you would start your command as follows,

ffmpeg -start_number 750 -i img_%04d.jpg ...

See the docs for the image2 demuxer at http://ffmpeg.org/ffmpeg-formats.html#image2-1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.