Page 1 of 1

Feed VLC (.Net wrapper for libvlc.dll) with array of bytes

Posted: 16 Nov 2007 02:54
by gudguy
Hi,

I understand that some of you are using the vlc to do all the decoding/transcoding/streaming whether using the ActiveX control or .net wrapper for libvlc.dll. My situation is different though, I am receiving the video stream as MPEG4 (sent by IP Camera) from my application as an array of bytes (byte[]). I can decode the MPEG4 with XVID, meaning i can both have the raw data or MPEG4 data represented as an array of bytes (byte[]). Can i feed vlc (either ActiveX, or .Net wrapper for libvlc.dll) with these array of bytes for decoding/transcoding ? So its like:

byte[] --> vlc (ActiveX/.Net wrapper) --> video container (.avi, .mp4, .mpg)
or
byte[] --> vlc (ActiveX/.Net wrapper) --> video renderer (SDL, DirectX, DirectShow)

Any input is highly appreciated!

regards,
gudguy

Re: Feed VLC (.Net wrapper for libvlc.dll) with array of bytes

Posted: 21 Nov 2007 10:49
by gudguy
anyone?

Re: Feed VLC (.Net wrapper for libvlc.dll) with array of bytes

Posted: 26 Nov 2007 10:47
by trolli101
Hello,

I Have the same question but I'm using the libvlc API for C++ directly.

My application receives a stream from a server , decodes it using raptor (http://en.wikipedia.org/wiki/Raptor_code) and now I would need to play those blocks (byte arrays) with VLC. Is it possible to do it using libvlc ?

Thanks in advance,
trolli101

Re: Feed VLC (.Net wrapper for libvlc.dll) with array of bytes

Posted: 17 Jun 2009 21:04
by Rand00
Did you ever get an answer to your question? I also would like to do the same thing.