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

Nico Sabbi nicola_sabbi at fastwebnet.it
Fri Aug 25 22:16:31 CEST 2006


Uoti Urpala wrote:

>On Fri, 2006-08-25 at 21:18 +0200, Nico Sabbi wrote:
>  
>
>>There are other possible fixes (but in all cases audio playback is broken)
>>1) use -correct-pts: video playback is better but still accelerated;
>>    
>>
>
>What do you mean by "accelerated"?
>

fast-forwarding

> As already noted on IRC the video
>playback time matches the total length of 20 s, with or without
>-correct-pts. Are you saying the total length value is wrong? 
>
no, it's the same

>And is the
>playback really "better" with correct-pts? I don't see much difference.
>  
>

to me it seems to play a bit better with -correct-pts; maybe I'm just 
deceived

>  
>
>>2) use the attached patch: it's much more appropriate and much less 
>>intrusive,
>>although there are a lot of things to consider before committing it
>>(especially the fact that in general the framerate must be set by the 
>>demuxer,
>>but demux_asf hardcodes it to 1000 fps); on the other side delegating
>>this assignment to the decoder can help to fix one of mplayer's limitation:
>>when playing file formats that don't have a nominal framerate  (such as
>>asf, mpeg*) video.c tries to parse the video stream headers to set the 
>>framerate,
>>an operation that it should _not_ do.
>>    
>>
>
>Is there a reason to believe that it's impossible to get right
>timestamps from the demuxer for asf?
>  
>

I didn't write that; I only wrote that video.c shouldn't do its nasty 
and useless code
in video_read_properties()





More information about the MPlayer-dev-eng mailing list