video-filter problem
Posted: 20 Mar 2012 13:57
Hello everyone,
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 :
I really don't know how this is suppose to work. I am using the version 2.0.1 of the libVLC.
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,
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,