Page 1 of 1

Creating a Demultiplexer for Mime Encoded streams

Posted: 21 Feb 2008 07:36
by rchen
Hi

I am relatively new to vlc but would like to get offer my help for writing a demux module that will be able to take audio streams from multipart mime streams from video cameras. (Current vlc solution takes an mjpeg mime stream and plays it).

I have been able to compile a 0.8.6d tarball on Centos. Can someone point me to a development process that I need to follow to do this ? Also is there documentation around data structures and flow that I can look at ?

Thanks,
rchen

Re: Creating a Demultiplexer for Mime Encoded streams

Posted: 21 Feb 2008 08:39
by Jean-Baptiste Kempf
Go to modules/demux/ to see the other demuxers.

Go to include/ to see all the libvlc stuctures and documentation.

Re: Creating a Demultiplexer for Mime Encoded streams

Posted: 21 Feb 2008 09:13
by rchen
Thanks !

Seems like most of the demux2 have a couple of main methods: Open and Close
Capabilities (demux2), Categories(I/p) sub categories (I/P demux) are also registered for each demux module
Codecs are set using 4CCs

There is a score set for each demux2. The higher the score - the higher the likelyhood of selection if a match occurs.

Is there a centralized location where the scores are maintained / listed ?

Thanks,
rchen

Re: Creating a Demultiplexer for Mime Encoded streams

Posted: 21 Feb 2008 09:24
by Jean-Baptiste Kempf
Yes, the caching system.

Re: Creating a Demultiplexer for Mime Encoded streams

Posted: 03 Mar 2008 06:39
by rchen
I have modified an existing demux2 to accept some specific mime strings. However while using 2 mime encoded streams - one audio and one video - with the input slave command I get the following error

demux doesn't like DEMUX_GET_TIME

Looking at the src/input/input.c file it seems like it expects the demux2 to take some action on the slave stream. It is not clear what this action should be. Any inight into what is being expected here.

Thanks,
rchen

Re: Creating a Demultiplexer for Mime Encoded streams

Posted: 22 Apr 2008 15:16
by dionoea
Did you get your demux to work? If you're still stuck, feel free to e-mail vlc-devel@videolan.org with a patch so we can comment. (you'll need to subscribe first)