[MPlayer-dev-eng] [PATCH] dvdnav - partial REVIEW

James Courtier-Dutton James at superbug.co.uk
Fri May 26 21:04:54 CEST 2006


Ötvös Attila wrote:
> 2006. május 23. 21.52 dátummal James Courtier-Dutton ezt írta:
>> Ötvös Attila wrote:
>>> Hi James Courtier-Dutton!
>>>
>>> I modified the libdvdnav for mplayer:
>>>
>>> dvdnav_get_audio_attr()
>>> dvdnav_get_spu_attr()
>>> These sherve to the mplayer can query the audio, spu language code and
>>> the audio type (stereo, 5.1, dolby digital, etc.).
>>>
>>> Because of the still frames decoding error so get needed the repeat of
>> What decoding error is this?
> 
> I think the problem has two parts:
> 
> 1, At first mplayer reads some first frames. The mplayer will try out the 
> codecs to determine stream type if the DVD begins with still frame.
> 
> 2, In the mplayer is the libmpeg2 who can't decode the stream if one frame is 
> in stream. The libmpeg2 needs at the least 2-3 frames.
> 
All you need to do is to modify libmpeg2 to properly handle sequence end
codes in the mpeg2 stream. All still frames on a DVD end with a sequence
end code.

James




More information about the MPlayer-dev-eng mailing list