[MPlayer-dev-eng] real demux problem/solution and a [PATCH]

Arpi arpi at thot.banki.hu
Thu Apr 10 23:19:24 CEST 2003


Hi,

> pnm://rm.bbc.net.uk/news/media/video/39060000/rm/_39060081_at
> tack18_simpson_vi.rm

Hmm it was you on IRC today afternoon? :)

> the fps is 12.5, but mplayer reports only 12.
> 
> Maybe it is because there are 2 field containing FPS.

> I have in stream 0x800C. What if second byte 0x80 is as fixed point ?
> That it is simply 12 and half ?

possible... i always wondered how can realplayer know the exact fps and we
get an integer (always rounded down) value... i'll check some 23.976 streams

>      /* parse chunks */.
> -    for (i = 1; i < num_of_headers; i++).
> +    for (i = 0; i < num_of_headers; i++).

huh what a nice 100l bug :)
it was earlier fixed (in wrong way) by Denes, but i didn't like his fix
this one looks better and has some sense too

>  		{   int len=codec_data_size;.
> -		    while(--len>=8){.
> +		    while(--len>=6){.

dunno, probably ok, have to RTFS

>  			case 0x20200002:.
> +			case 0x20201002:.

has no real sense, this is just some old code, actually it's always accepted
but a warning printed if unknown id


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list