5th February 2006

HowTo join multiple ts files

Dealing with HDTV movies from newsgroups (usenet binaries) i had to join many .ts files ( movie.1080i.0001.ts , movie.1080i.0002.ts, movie.1080i.0003.ts , … ).

NullPacketStripper

I found this little java tool called NullPacketStripper . One of its features is “ automatically merge files following the filename.nnnn.ts (with nnnn being a 1-4 digit number) pattern “. You need to have a 1.4.x JVM installed. Just start the program NullPacketStripper.jar and select your movie.1080i.0001.ts as “Input file(s)”, press “Start processing” and wait until all parts are merged.

Ok and now something for the people that don’t like java. If the .ts files are split correctly you can simply join the files using your OS built in copy functions.

In windows just move all .ts files into one folder. Go to “DOS” command line (cmd.exe), navigate to your folder with the .ts files and type:

copy /b *.ts output-file.ts

or output the file to another drive like e:\

copy /b *.ts e:\output-file.ts

In linux it shouldn’t be that much harder. Just use the cat command.

posted in reviews, windows | 10 Comments