Program to join TS videos using command line

9,770

Solution 1

ffmpeg for windows

ffmpeg.exe -i concat:file1.ts^|file2.ts^|file3.ts -vcodec copy -acodec copy -f vob combined.mpg

Solution 2

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)


source: http://tomyeah.com/howto-join-multiple-ts-files/

Share:
9,770

Related videos on Youtube

bradvido
Author by

bradvido

SOreadytohelp

Updated on September 18, 2022

Comments

  • bradvido
    bradvido almost 2 years

    I have a need to join .ts video files. I know of http://www.ffprojects.net/tssplitter/ 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?

  • bradvido
    bradvido over 12 years
    Thanks. That works, but the escape character for pipe on windows is ^ not \