[FFmpeg-user] How to split and then concatenate a video file?

Žygimantas Bruzgys un1x0nly at gmail.com
Wed Feb 20 15:52:18 CET 2013


On Wed, Feb 20, 2013 at 3:37 PM, nandan amar <nandan.amar at gmail.com> wrote:
> One can also try to split each frame and them remove unwanted ones and
> then encode them back.

Thanks, but my goal is not to remove frames.

> This may help you -
> split:
> ffmpeg -i foo.avi -r 10 -s WxH -f image2 foo-%03d.jpeg
> and combine back
> ffmpeg -f image2 -i foo-%03d.jpeg -r 10 -s WxH foo.avi

And I want to segment the clip without reencoding it.

Žygimantas


More information about the ffmpeg-user mailing list