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

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
gudguy
New Cone
New Cone
Posts: 3
Joined: 28 Aug 2007 08:52

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

Postby gudguy » 16 Nov 2007 02:54

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

gudguy
New Cone
New Cone
Posts: 3
Joined: 28 Aug 2007 08:52

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

Postby gudguy » 21 Nov 2007 10:49

anyone?

trolli101
New Cone
New Cone
Posts: 1
Joined: 26 Nov 2007 10:37

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

Postby trolli101 » 26 Nov 2007 10:47

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

Rand00
New Cone
New Cone
Posts: 2
Joined: 17 Jun 2009 21:03

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

Postby Rand00 » 17 Jun 2009 21:04

Did you ever get an answer to your question? I also would like to do the same thing.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests