Sunday, August 30, 2009

Joining MTS files (AVCHD)

I've been looking for a long time to find out how to join 2 consecutive MTS files from my Sony SR-11 camera. The case is simple: re-encode the recorded material into a smaller resolution and/or DVD format.

If you'd just take all the files the camera spitted out and join them afterwards a number of issues would emerge: jittered frames at the splitting points, audio desynchronization - you name it.

The solution couldn't be simplier but it was nowhere to be found directly on the net (google could have done a better job this time):

copy /b 00001.MTS + 00002.MTS + 00003.MTS output.mts

This example will join the files 00001.MTS, 00002.MTS, 00003.MTS into output.mts without doing any re-encoding, loosing synchronization or anything like that. And it's doing it extremly fast.

Enjoy!

No comments: