[vlc-devel] Re: How to modify to hardware codec for MPEG4 and so on?

j y yunjnz at yahoo.com
Thu Dec 1 04:45:27 CET 2005


Hi,
  From the information I got, the codec and demux and almost all play function will be handled by the hardware, what I need the VLC to do is just reading the mpeg4 steam from RTSP or file and writing to the hardware.
  I noticed that the libmpeg2 is only a decoder, the demuxer lies in the demux directory,
  how can I take over the demux and decode and output work to my own module?
   
  Thank you and best regards.
  

Benjamin Pracht <bigben+spam at videolan.org> wrote:
  Le mardi 29 novembre 2005 ?18:35 -0800, j y a écrit :
> Hi,
> I want to modify the codec for MPEG4 and several other formats to
> hardware codec, there will be some APIs provided by several libraries
> which are used as the interface between hardware and software.
> how to implement this? can you guide me?
> thank you and best regards.
> 
> ______________________________________________________________________
Well, you should develop a codedc module to override the ffmpeg and
libmpeg2 ones. That shouldn't be too complicated if you hardware chip
provides a decent high level API. However, I'm not sure VLC's codec
modul API is that documented. I would suggest to have a look at other
codec modules, libmpeg2 for instance, as a example. Don't hesitate to
ask further questions.

-- 
BigBen

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

  


		
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20051130/e83a84d1/attachment.html>


More information about the vlc-devel mailing list