Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a need to join .ts video files. I know of which works very well, but as far as I can tell it is GUI only.

I need to be able to do this from the command line in Windows. Are there any solutions out there that can handle this?

share|improve this question
up vote 3 down vote accepted

ffmpeg for windows

ffmpeg.exe -i concat:file1.ts^|file2.ts^|file3.ts -vcodec copy -acodec copy -f vob combined.mpg
share|improve this answer
Thanks. That works, but the escape character for pipe on windows is ^ not \ – bradvido Mar 1 '12 at 14:11

I would simply use the command line. Navigate to the folder with all *.ts-files to be concatenated and then run the...

copy /b *.ts output-file.ts

...command, which takes all *.ts-files in the current directory and concatenates them to a resulting file called output-file.ts. The command might run for several minutes, so don't worry, you can grab a cup of coffee now ;)

(as the *.ts-format - "Transport Stream" - is a streaming format, it is possible to easily just "add one file after another" without damaging the data inside)


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.