Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I previously learned that FFMpeg can join videos:

However, I am attempting to join recorded over-the-air broadcasts (.ts files), and I believe that minor hiccups in signal quality are causing FFMpeg to have problems joining 95% of these.

The command I use is:

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

The error I almost always get is something similar to:

Application provided invalid, non monotonically increasing dts to muxer in stream 1: 857442 >= 857442

If I join the same exact videos using TSSplitter (which is GUI only -- I need CLI), it works without error.

So my question is, what can I do to make FFMpeg joing these files better, OR is there an alternative CLI that is better at joining recorded .ts files?

share|improve this question

2 Answers 2

You can try with mencoder. Generally speaking you can join more files with mencoder using the following syntax:

mencoder file1.ts file2.ts -ovc copy -oac copy -o combined.ts
share|improve this answer

Try simply;

cat *.ts > output.ts

Works for me for most TS files

share|improve this answer

Your Answer

 
discard

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.