[FFmpeg-user] Converting MPEG-2 TS segments into MP4 fragments

Tom Distler tom.distler at gmail.com
Mon May 13 19:56:59 CEST 2013


Hi,

I have a series of ts segments (seg001.ts, seg002.ts, etc) that I want to
convert into mp4 fragment files... i.e. files w/ a 'moof' box instead of a
'moov' box.

I've tried ` ffmpeg -i seg001.ts -codec copy seg001.m4v`, but that
generates files w/ independent "movies"... each w/ it's own 'moov' box.

Is the segment muxer able to do what I want? I've been able to use it to
create a single file w/ multiple 'moof' boxes inside, but I really need
separate files for each segment (they are created live on-the-fly).

Thanks.


More information about the ffmpeg-user mailing list