[vlc-devel] Re: Mac OS X MPEG-2 Acceleration - It's Here, Let's Use It
Clément Stenac
zorglub at diwi.org
Mon Aug 28 20:14:18 CEST 2006
Hi,
> 2: It requires preparsing the video, setting up the video window and
> then decoding with DVDVideo. In VLC decoding usually occurs before
> the display core is aware of anything. It would require adding a
> specific preparser to the avcodec decoder and opening up the window
> earlier in the proces (perhaps this can be avoided, but i'm not sure
> yet)
Haven't looked at the code, but it does look like the most tricky part,
because that probably requires some demuxer interaction. Well, the
parser should actually probably be implemented as a sub-demuxer.
> 3: it uses libavcodec, whereas we usually use libmpeg2 because of
> it's superior speed and resilience. ( a special submodule with a
> higher score could take care of this)
Well, that doesn't look important at it precisely doesn't use soft
decoding, just put the stuff in a separate module tried first.
> 4: we need a way to find out at the decoder level wether we are going
> to be streaming/transcoding, because then we need to disable the
> hardware decoding.
if( var_GetString( p_dec, "sout" ) ) ... :)
> It's all possible, but at the moment #1 is a blocker for me. (besides
> lack of time :D )
--
clément
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list