[FFmpeg-user] mts > mp4 : can you just concatenate the mts files?
Sean Darcy
seandarcy2 at gmail.com
Wed Aug 21 22:59:47 CEST 2013
On 08/21/2013 04:10 PM, Dzung Nguyen wrote:
> On Wed, Aug 21, 2013 at 3:04 PM, Sean Darcy <seandarcy2 at gmail.com> wrote:
>
>> I'm trying to generate 1 mp4 file from 10 mts files. The camcorder
>> generates a new mts file every 2gigs. For the recent school play, that's 10
>> mts files. Googling gives all sorts of suggestions, but no clear answer.
>>
>> One post suggests just cat'ing them, and not paying any attention to
>> timestamp errors. I seem to remember ffmpeg being very fussy about
>> timestamps.
>>
>> Or should I take them all to dv [ ffmpeg -i inN,mts -vcodec libx264 -crf
>> 25 -acodec copy outN.dv ] and then cat the dv files?
>>
>> Or does somebody know a better way to do this?
>>
>> sean
>>
>> ______________________________**_________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>>
>
>
> Maybe using concat demuxer?
>
> ffmpeg -f concat -i mylist.txt -c copy output
>
> where mylist.txt hold the path to mts files
>
> https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join,%20merge)%20media%20files
>
Great. Thanks.
sean
More information about the ffmpeg-user
mailing list