Page 1 of 1

disable a filter

Posted: 18 Mar 2011 00:59
by fishstyc
Somewhere in VLC's code there is a function called vout_EnableFilter, which is indirectly used in functions like libvlc_video_set_adjust_int, in order to enable a certain video-filter.

At this time, someone using LibVLC is limited to changing effects parameters for which functions have been written (like the adjust, marquee, etc. video-filters).

I was wondering if it's possible to disable a filter on a playing stream, when a user doesn't want it anymore?

It is possible to enable an effect when a stream is already playing, and also to change the parameters. I am trying to implement a more generic way to add or remove and alter video-filters (or other options), that should work for any existing filter. But I also want to include a way to disable a filter again.

Re: disable a filter

Posted: 18 Mar 2011 09:38
by Jean-Baptiste Kempf
See the changes for 1.2 on libvlc

Re: disable a filter

Posted: 18 Mar 2011 12:40
by fishstyc
Where exactly do you mean?

In the NEWS.txt file in the nightly build of march 15, I only found this (which I like :)

* New capabilities for libVLC:
** libvlc_media_player_navigate for DVD navigation
** libvlc_audio_filter_list_get, libvlc_video_filter_list_get to get the
list of available audio and video filters

Re: disable a filter

Posted: 18 Mar 2011 16:24
by Jean-Baptiste Kempf
libvlc_audio_filter_list_get, libvlc_video_filter_list_get should help you

Re: disable a filter

Posted: 19 Mar 2011 09:03
by fishstyc
I'm sorry, but I don't see how 'getting a list of available filters' enables me to disable a certain filter...