[MEncoder-users] clean up TS ?

Kevin Bailey ke-mencoder at retriever.dyndns.org
Thu Dec 31 18:42:42 CET 2009


I have some digital TV recordings that my player is having trouble with.
Its claiming that it can't find the PMTs. The player is ffmpeg based
yet mplayer/mencoder have no trouble deciphering it.

So I was hoping to have mencoder "clean it up". I tried completely
re-encoding it:

mencoder -oac copy -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=...

but this threw off the timing in the player.

I tried just converting the format:

mencoder -oac copy -ovc copy -of mpeg ...

but this shrunk the file from 3GB to 100MB. Clearly wrong.

So is there a way to either:

 - preferably, re-create the same TS stream, except with proper PMT blocks
or
 - create a PS stream by copying the blocks without converting them
(I'm hoping the player can grok PS)

TIA


More information about the MEncoder-users mailing list