Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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 some MVs that is recorded from a TV, but timeline was incorrect somehow:

enter image description here

Anyone know some tool that can fix it ? The media plays fine, just the displayed stuff doesn't look good

share|improve this question
@Kiwy of course not, it's just am incorrect label – warl0ck Apr 3 '14 at 8:30

When I have problems with MPEG-TS files obtained by recording TV programmes, I usually try to demux them with Project X, and then mux them again with mplex from command (from the mjpegtools package).

I recommend you to avoid Project X GUI because I find it poorly designed, and to run it via command line, for example:

java -jar ProjectX.jar -demux input.ts

Then you can run mplex with a command similar to the following one, depending on the files you get with Project X:

mplex -f 8 -o output.mpeg input.m2v input.mp2

This way you will get a fixed MPEG-PS file from your original MPEG-TS file.

It seems Project X works only with standard definition MPEG files, not with high definition ones.

Hope this solves your problem.

share|improve this answer

If you can live with mkv files instead, you can use tsMuxeR to demux the stream and then use mkvmerge from mkvtoolnix to create an mkv file bringing back all the demuxed files into a single mkv file. When creating the mkv file, some extra information is stored that might solve the problem for you.

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.