[FFmpeg-user] Concatenate mp4 file
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Feb 26 11:43:23 CET 2014
<frafart <at> free.fr> writes:
> I want to concatenate 2 mp4 file, originated from an stream.
>
> Here what I do :
>
> - Generate TS file from an mpegts udp stream with ffmpeg segment
> (file001.ts and file002.ts).
> - Convert this ts to mp4 (h264/aacplus) (file001.mp4 and file002.mp4)
> - Concatenate this mp4 file :
> - Transform mp4 to ts (newsfile001.ts and newfile002.ts)
> - Concat TS to mp4 (file001_002.mp4).
This sounds incredibly complicated.
Why cant you do all this in just one step?
Ie concatenating the input (with the concat protocol)
and outputting the mp4 you need.
Carl Eugen
More information about the ffmpeg-user
mailing list