I' m having some trouble with video filters. I don't know how to dynamically change them in runtime. I succeeded to set a video-filter with the vlc arguments in libvlc_vlc_new() by entering "--video-filter=filtername".
I have found the libvlc_media_add_option, but unfortunately it does not work at all.
I tried :
Code: Select all
libvlc_media_add_option(_media, "--video-filter=filtername");
libvlc_media_add_option(_media, "-video-filter=filtername");
libvlc_media_add_option(_media, "video-filter=filtername");
libvlc_media_add_option(_media, ":video-filter=filtername");
libvlc_media_add_option(_media, "--vfilter=filtername");
libvlc_media_add_option(_media, "-vfilter=filtername");
libvlc_media_add_option(_media, ":vfilter=filtername");
libvlc_media_add_option(_media, "vfilter=filtername");
libvlc_media_add_option(_media, "--vout-filter=filtername");
libvlc_media_add_option(_media, "-vout-filter=filtername");
libvlc_media_add_option(_media, ":vout-filter=filtername");
libvlc_media_add_option(_media, "vout-filter=filtername");
The VLC media player can change in runtime the video filter so I know that it is possible but I don't know how. I hope some of you have the answer
Thank you,