Creating a Demultiplexer for Mime Encoded streams

Want to help the VideoLAN project? Designers, testers, translators, please come...
This is NOT about GETTING some help.
Forum rules
Please read the forum's rules carefully before posting. This forum should not be used to post VLC usage related questions.
rchen
New Cone
New Cone
Posts: 9
Joined: 05 Feb 2008 07:27

Creating a Demultiplexer for Mime Encoded streams

Postby rchen » 21 Feb 2008 07:36

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Creating a Demultiplexer for Mime Encoded streams

Postby Jean-Baptiste Kempf » 21 Feb 2008 08:39

Go to modules/demux/ to see the other demuxers.

Go to include/ to see all the libvlc stuctures and documentation.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

rchen
New Cone
New Cone
Posts: 9
Joined: 05 Feb 2008 07:27

Re: Creating a Demultiplexer for Mime Encoded streams

Postby rchen » 21 Feb 2008 09:13

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Creating a Demultiplexer for Mime Encoded streams

Postby Jean-Baptiste Kempf » 21 Feb 2008 09:24

Yes, the caching system.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

rchen
New Cone
New Cone
Posts: 9
Joined: 05 Feb 2008 07:27

Re: Creating a Demultiplexer for Mime Encoded streams

Postby rchen » 03 Mar 2008 06:39

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Creating a Demultiplexer for Mime Encoded streams

Postby dionoea » 22 Apr 2008 15:16

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)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “Contribute and help the VideoLAN project”

Who is online

Users browsing this forum: No registered users and 4 guests