Generic access module/demuxer plugin

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
dashesy
Blank Cone
Blank Cone
Posts: 13
Joined: 27 Jul 2009 19:04

Generic access module/demuxer plugin

Postby dashesy » 06 Jan 2012 18:01

Hi,

Please let me know if this is the right place to ask this, or I should ask in the ML.

I want to add support for a new media file format (Audio+Video). It is open-source, I have not decided the license but it does not matter.
I can write one DirectShow filter for Windows and one V4L for Linux (and MAC?) and VLC will be able to access the new file format through mentioned modules.
But this requires a lot more effort (and I am not sure if the API will never break in the future, or supported at all).

Is there any VLC-native way (plugin, or generic module) to add new formats without requiring a ./configure --enable--my-module_name ?
Please let em know if there is any better way too, thanks.

Regards,
dashesy

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: Generic access module/demuxer plugin

Postby Jean-Baptiste Kempf » 06 Jan 2012 18:48

a media file format? You mean a container?
But then you speak about v4l and DirectShow, who are device access...
I do not get it...

Anyway, you can compile a module out of tree.
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.

dashesy
Blank Cone
Blank Cone
Posts: 13
Joined: 27 Jul 2009 19:04

Re: Generic access module/demuxer plugin

Postby dashesy » 06 Jan 2012 21:28

Thanks for the answer

Yes it is a container, but I guess one can write a DirectShow filter to support containers and codecs (similar to oggdsf for DirectShow players such as WMP and VLC although VLC supports ogg without DirectShow as well).
Please correct me if I am wrong, an out of tree module requires VLC to be configured with it before make, I cannot copy a dll to plugins directory of official VLC and use the module, am I right?

dashesy

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: Generic access module/demuxer plugin

Postby Jean-Baptiste Kempf » 07 Jan 2012 12:59

As a container, you must do a VLC demux plugin. Using v4l or dshow module will not make it work!

Yes, you can do an out of tree module, but you do not need to configure VLC.
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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 95 guests