[vlc-devel] Re: Mac OS X MPEG-2 Acceleration - It's Here, Let's Use It
galenz at zinkconsulting.com
galenz at zinkconsulting.com
Mon Aug 28 21:20:44 CEST 2006
On Aug 28, 2006, at 11:14 AM, Clément Stenac wrote:
> 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
Clément,
Take a look at the code and I think you'll be able to answer a lot of
those questions:
http://www.defyne.org/dvb/accellent.html
Meanwhile I'm waiting to hear back from John who handled the project
up to here, seeing if we can't get some documentation.
-Galen
--
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