[FFmpeg-user] How can I join video files?
nicolas.george at normalesup.org
Thu Feb 16 09:41:36 CET 2012
L'octidi 28 pluviôse, an CCXX, Peter B. a écrit :
> If I read this example correctly, it is necessary to transcode the
> to-be-joined files to an MPEG transport stream, and
No, remuxing should be enough, provided the files are encoded with the same
settings, or at least settings similar enough (same codec).
> "concat:file-01.mpeg.ts|file-02.mpeg.ts" is equivalent to:
> "cat file-01.mpeg.ts file-01.mpeg.ts > full_length.mpeg.ts"
Except it takes less disk space.
> If so, does this mean that FFmpeg is not able to concat arbitrary
> input formats?
Indeed. Most formats have global headers and/or indexes, concatenating them
naïvely will just produce an invalid stream.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-user