Kodi Community Forum
Little batch file to merge m2ts files - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Little batch file to merge m2ts files (/showthread.php?tid=71731)



Little batch file to merge m2ts files - butchabay - 2010-04-08

Here a little batch file to merge m2ts, trp, etc. files to one only file.

1. This batch file always must be in the same folder as the m2ts files are.
( Bluray m2ts files are usually in the folder "Stream" )

2. Now can create a new file with the Windows Editor and put this line inside:

copy /B 0000*.m2ts TOTAL.m2ts

3. Safe it, name.txt

4. Now rename the .txt to .bat

5. Start the bat file
(You'll see a window opening, now you just have to wait till window
disappear )

6. When it's done, you'll have a new complete file " Total.m2ts "

7. Rename it with the movie name, DONE.

Ofcourse this batch file can be used with other splitted files. Remember to set as name the first one.

Example:

00000.m2ts
00001.m2ts
00002.m2ts
00003.m2ts

copy /B 0000*.m2ts TOTAL.m2ts you see here the 00000 is the name you should use.

Cheers

Eek