[MPlayer-dev-eng] [PATCH] further dvr-ms playback improvements

John Donaghy johnfdonaghy at gmail.com
Thu Nov 2 18:24:19 CET 2006


> >
> > I take it that's a joke right? ;)
>
> no, sometimes useful pieces of information leak

Well I did search MSDN but didnt find much except that on this page
there was a little bit about PTS values in a dvr-ms file that didn't
mean a lot to me.

http://windowssdk.msdn.microsoft.com/en-us/library/ms783614.aspx

> >
> > That would leave the frame size, about which I currently dont know
> > what to do. What about a generic mechanism in mplayer for picking that
> > up the frame size from the codec when there's no other way?
>
>
> maybe don't assign the frame size if the file is dvr-ms

That does seem to work. The framesize seems right in my PAL, PAL HD
and NTSC samples if I put this block into demux_open_asf:

            if (asf->asf_is_dvr_ms) {
                sh_video->bih->biWidth = 0;
                sh_video->bih->biHeight = 0;
            }

If you think this looks ok I'll submit it as a patch.

John



More information about the MPlayer-dev-eng mailing list