[FFmpeg-user] encoding multiple, discrete segments at once, into one continuous file

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Feb 28 10:45:45 CET 2012

2012/2/27 "Андрей" <andrew2012 at flight.us>:
>  Is it possible to get ffmpeg to encode multiple discrete segments, for one
> continuous resulting file?
> something semantically (but not syntactically, obviously) equivalent to:
> { -ss <start1> -t <duration1> }, {-ss <start2>  -t <duration2> }, { etc...
> }

In a single pass, no.
Currently it requires cutting your pieces with -ss, -t options.
Then, you have to concatenate it using concat: protocol, as described in FAQ.

Andrey Utkin

More information about the ffmpeg-user mailing list