disable a filter

This forum is about all development around libVLC.
fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

disable a filter

Postby fishstyc » 18 Mar 2011 00:59

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: disable a filter

Postby Jean-Baptiste Kempf » 18 Mar 2011 09:38

See the changes for 1.2 on libvlc
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

Re: disable a filter

Postby fishstyc » 18 Mar 2011 12:40

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: disable a filter

Postby Jean-Baptiste Kempf » 18 Mar 2011 16:24

libvlc_audio_filter_list_get, libvlc_video_filter_list_get should help you
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

Re: disable a filter

Postby fishstyc » 19 Mar 2011 09:03

I'm sorry, but I don't see how 'getting a list of available filters' enables me to disable a certain filter...


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests