View Full Version : Is there a free software that can join two .m2t files together?(opposite of HDVSplit)


Daniel Woodson
January 4th, 2008, 11:47 PM
I have two *.m2t files that I want to join together, without any encoding/rendering. I'd like to have one single m2t file. (the opposite of HDVSplit, which splits one m2t file into several smaller ones)

Thanks for your help!

Taky Cheung
January 4th, 2008, 11:50 PM
I use Womble MPEG editor. It's not free tho.

Mike Sakovski
January 5th, 2008, 11:29 AM
if u work in ms windows, then open MS DOS window and from command line enter:
C> copy/b m2t_file_name1 m2t_file_name2 resultant_m2t_file_name

that's it.

Daniel Woodson
January 5th, 2008, 03:50 PM
I use Womble MPEG editor. It's not free tho.

Thanks... I have used Womble MPEG, but the
resulting m2t file refuses to play in Playstation 3. :(
(not really sure why.... :( )

Daniel Woodson
January 5th, 2008, 03:51 PM
if u work in ms windows, then open MS DOS window and from command line enter:
C> copy/b m2t_file_name1 m2t_file_name2 resultant_m2t_file_name

that's it.

Thanks! I tried this method. Combined several M2Ts
from command line... Works perfectly when the resulting
M2T is played in Playstation 3! :)

Warren Kawamoto
May 16th, 2012, 11:36 AM
if u work in ms windows, then open MS DOS window and from command line enter:
C> copy/b m2t_file_name1 m2t_file_name2 resultant_m2t_file_name

that's it.

Sorry for my lack of MS DOS, but I need to join 2 m2t files, and haven't tried this yet. Before I do, I have several questions;
1. Do these 2 m2t files need to reside in the root of C drive before joining them?
2. Suppose my first m2t file is 001.m2t and my second is 002.m2t, and I want the result to be 003.m2t.

Using the above scenario, what EXACTLY do I put on the command line?

Taky Cheung
May 16th, 2012, 12:54 PM
I thought there is a + sign in the syntax. for example.

COPY /B 1.m2t + 2.m2t NEW.m2t

To make it easier, you can copy both m2t files to C:\ root. Then hit Windows-R and type
"CMD" then enter. It opens a Command Prompt windows. type "cd\" to switch to the room directory. Then enter the copy command.

Warren Kawamoto
May 17th, 2012, 10:01 AM
Thanks for your reply Taky! I'll try that.

Warren Kawamoto
May 17th, 2012, 09:48 PM
Ok, I finally tried it and this worked in joining my files:
C:\>copy/b test001.m2t+test002.m2t result.m2t

Taky Cheung
May 17th, 2012, 11:09 PM
Or you can just do this

copy/b test001.m2t+test002.m2t

Then the test001.m2t will be overwritten with the joined content.

Warren Kawamoto
May 18th, 2012, 09:58 AM
Ok, I finally tried it and this worked in joining my files:
C:\>copy/b test001.m2t+test002.m2t result.m2t

You know what? This is not working for me! I assumed my files were joined together, because the file size was double of what it was before. However, when I played it back, only the first file was seen. How strange. I tried it on 2 computers, same thing. I also tried:
C:\>copy/b test001.m2t+test002.m2t
which should have resulted in 001 being a new joined with 002. When I play it back, the file size is double of what the original was, but the length of the clip was the original 001 file. What am I doing wrong?

Warren Kawamoto
May 18th, 2012, 10:04 AM
I also tried this file joiner, but the result was the same.... resulting file size looks correct because it's the sum of both files put together, but the length of the result is only 1 clip.
TSSplitter - Official Website (http://www.ffprojects.net/tssplitter/tssplitter.htm)

Chris Medico
May 18th, 2012, 11:36 AM
That is because the files were joined but the metadata inside the files wasn't updated.

You can not join m2t files that way.

Chris Medico
May 18th, 2012, 11:42 AM
You can join your files together if you rewrap them into a mpg wrapper then use the "copy" trick on the mpg files.

This does not re-encode them or reduce their quality. It only changes their container.

Once you have the file put together you can change the container back to m2t.

A program called ffmpeg will change containers for you and its free.

Warren Kawamoto
May 18th, 2012, 11:09 PM
Thanks Chris, I'll try that when I get home!

Roger Van Duyn
May 23rd, 2012, 06:45 PM
I've used MPEG Streamclip to do it.

Colin Browell
May 27th, 2012, 11:28 AM
As you've found out, you can't just join two arbitrary m2t files together. It's nothing to do with metadata. The files contain several timing fields and a sudden jump can cause problems or confuse software that attempts to read or play the joined file. Even if the software can handle these jumps, there is likely to be visual corruption at the joins where the inter-frame references are broken.

The best way to do this is to use software that remuxes/restreams the two files into one - effectively repackaging it without re-rendering the actual video and audio data, which I think is what MPEG Streamclip does.

Richard Davidson
May 28th, 2012, 06:13 PM
Do it all the time with MultiAVCHD and it is free on top of that. The software is not real clear cut on the process but it does it and it is really fast in the joining.

Email me if you have any questions but I have posted the process here on the fourm somewhere.

Warren Kawamoto
June 2nd, 2012, 06:50 PM
I've just downloaded MultiAVCHD and tried joining .m2t files, but no success. For those who were successful, are you sure you're editing .m2t and not .mts? So far, I've not been able to join .m2t files with all of the above scenarios.

Battle Vaughan
June 6th, 2012, 09:48 AM
I have no .m2t files to experiment with, but this freeware app joins everything I've tried with it, including .mts files.

Download Simple File Joiner 2.1 Free - A tool which combines many different files into a new file - Softpedia (http://www.softpedia.com/get/System/File-Management/Simple-File-Joiner.shtml)

Worth a look....

Jim Hoyle
June 29th, 2015, 12:28 PM
Here's my confirmed working method for this:

ffmpeg -i "concat:in1.m2ts|in2.m2ts|in3.m2ts|in4.m2ts" -c copy output.m2ts

That way you get a seamless result. Whereas if you don't merge with ffmpeg and just put the files on timeline in Adobe Premiere, there will be a huge gap both in audio and video. The above result is fast (no re-encoding). You have to naturally get free ffmpeg in order for that to work and you can concatenate as many files as you want (and .m2t will work fine).