[MPlayer-users] mplayer -identify incorrect for certain .ts files

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue Oct 2 23:45:34 CEST 2007

Il Tuesday 02 October 2007 11:40:19 pm stattik ha scritto:
> Hi All,
> Mplayer is identifying certain TS files from the local CBS and CW
> affiliates incorrectly.The local CBS affiliate broadcasts in 1080i
> and the local CW affiliate broadcasts in 480P and 1080i.
> When using the following command, mplayer correctly identifies the
> framerate but gets the length wrong.
> mplayer.exe test.file.ts -vo null -ao null -identify -frames 0
> 1>"test.file.info"
> When forcing -demuxer 35, the length is correct, but the framerate
> is identified as 59.940
> mplayer.exe test.file.ts -vo null -ao null -demuxer 35 -identify
> -frames 0 1>"test.file.info"
> Since I use the ID_LENGTH info for two-pass encoding, I've always
> used the -demuxer 35 option when working with TS files.  Shows from
> NBC and ABC are identified correctly.
> I've uploaded a test clip and verbose outputs to
> ftp://upload.mplayerhq.hu/MPlayer/incoming/ts.file-bad.identify/
> Any help would be greatly appreciated.

it's well known that the duration of mpeg-ts files is extrapolated => 
completely invented out of thin air.
If the TS contains more than 1 video stream the extrapolation
is even more unreliable.
Better give up

More information about the MPlayer-users mailing list