[vlc-devel] Re: a dumb question - vlc_lib.so/dll?

Benjamin Pracht bigben at diwi.org
Thu Oct 6 22:41:56 CEST 2005


Le jeudi 06 octobre 2005 à 21:03 +0200, j at vsxu.com a écrit :
> Hello,
> 
> I'm thinking if it's possible with the current binary version on win32
> or possibly a recompiled version (a DLL anyway) to use it as an engine
> to render video/audio and feed it into my own program for further
> processing.. I.e. let the VLC codebase do the decoding and synchronization
> and return bitmap & sound data in a format I can use.. ?
> 
> I guess a bit like an output plugin, but entirely controlled by my code?
> 
> Has this been done with VLC before? Can you estimate if it's advisable
> with VLC's current architecture? 
> I guess i'd want something like vlc_engine.dll... 
> My concern is mainly involving update cycles of the project's code (VLC)
> so new versions would work smoothly with this..
> 
> I spent the better part of today to browse the code/docs to find this myself
> but didn't (not that it looks impossible, but still if it's already out
> there somewhere why reinvent the wheel)..
> 

Well, in fact, there is a libvlc, that allows to run a vlc session from
any executable. Applications that use libevlc are vlc itself and the
mozilla plugin. However, the API is quite limited at the moment. Have a
look at libvlc.c for a description.

-- 
BigBen

-- 
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