Page 1 of 1

video-filter problem

Posted: 20 Mar 2012 13:57
by FreshIce
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 :

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");
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 :D

Thank you,

Re: video-filter problem

Posted: 18 Apr 2012 11:51
by fishstyc
Has this been solved? Seems to be problem over here too.

I guess something has changed since 1.1.x...

Re: video-filter problem

Posted: 18 Apr 2012 12:03
by Rémi Denis-Courmont
The video pipeline does not depend on the input anymore. So input item options do not apply.

Re: video-filter problem

Posted: 18 Apr 2012 14:12
by fishstyc
Which leaves the question open:

how to apply video-filters in LibVLC >= 2.0 ?

Re: video-filter problem

Posted: 18 Apr 2012 15:14
by Rémi Denis-Courmont
Write a proper API for them.