Page 1 of 1

Generic access module/demuxer plugin

Posted: 06 Jan 2012 18:01
by dashesy
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

Re: Generic access module/demuxer plugin

Posted: 06 Jan 2012 18:48
by Jean-Baptiste Kempf
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.

Re: Generic access module/demuxer plugin

Posted: 06 Jan 2012 21:28
by dashesy
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

Re: Generic access module/demuxer plugin

Posted: 07 Jan 2012 12:59
by Jean-Baptiste Kempf
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.