[vlc-devel] Add input option to libvlc_media_instance

Pierre d'Herbemont pdherbemont at free.fr
Thu Dec 13 20:57:33 CET 2007

Hi Jacques,

On Dec 13, 2007, at 7:48 PM, jboileau wrote:

> How can I add input options (a list of arguments like --sout-all  
> etc) when using the libvlc_media_descriptor_... API? What API  
> function should I call to do this?
> I would like to do something similar to libvlc_playlist_add_extended  
> but using the libvlc_media_descriptor_... and  
> libvlc_media_instance_.. APIs.

You should be able to do use the mrl [1] ":options" for that:  
libvlc_media_descriptor_new( p_libvlc, "myfile.avi :sout-all", &e);


[1] http://wiki.videolan.org/MRL

More information about the vlc-devel mailing list