Effects and Filters

This forum is about all development around libVLC.
frax
New Cone
New Cone
Posts: 5
Joined: 04 Apr 2012 14:14

Effects and Filters

Postby frax » 04 Apr 2012 14:26

Hello

Im developing an video application with Libvlc on windows. I like to be able to adjust things like "brightness" and "saturation" is there a way to bringup the "Effects and Filter" dialog and adjust these from there ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Effects and Filters

Postby Rémi Denis-Courmont » 04 Apr 2012 16:25

No. That's part of the VLC UI.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

frax
New Cone
New Cone
Posts: 5
Joined: 04 Apr 2012 14:14

Re: Effects and Filters

Postby frax » 05 Apr 2012 11:27

Ok . If I like to build a new dialog for this ( adding filters and adjusting parameters on them ) is it possible to adjust parameters and add/remove filters while playing media through Libvlc api?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Effects and Filters

Postby Rémi Denis-Courmont » 05 Apr 2012 14:15

Some filters are supposed to be exposed but very few. And the guy that wrote that code ran away.

So some LibVLC patching will be needed.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: Effects and Filters

Postby sherington » 05 Apr 2012 14:31

These methods still work don't they?

http://www.videolan.org/developers/vlc/ ... video.html

Code: Select all

LIBVLC_API int libvlc_video_get_adjust_int (libvlc_media_player_t *p_mi, unsigned option) LIBVLC_API void libvlc_video_set_adjust_int (libvlc_media_player_t *p_mi, unsigned option, int value) LIBVLC_API float libvlc_video_get_adjust_float (libvlc_media_player_t *p_mi, unsigned option) LIBVLC_API void libvlc_video_set_adjust_float (libvlc_media_player_t *p_mi, unsigned option, float value)
I use these in my Java bindings to set/get brightness etc on-the-fly, but with my own dialog of course. I have not used them for a while, but they certainly used to work.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Effects and Filters

Postby Rémi Denis-Courmont » 05 Apr 2012 15:38

I am not sure. I have heard some reports that they did not work, but it could be confused developers too. The code did seem to have some, err, bugs last time I looked at it.

In any case, this is quite a small subset of the audio and video filters.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

frax
New Cone
New Cone
Posts: 5
Joined: 04 Apr 2012 14:14

Re: Effects and Filters

Postby frax » 10 Apr 2012 13:44

Fine functions for the "adjust " filter! I did not found them before. But as mentioned before there is more filters. I found that someone worked on a function

Code: Select all

libvlc_set_video_filter(
http://mailman.videolan.org/pipermail/v ... 83636.html


That seems to do the things im looking for but I dont find it in the source (2.0.1) that I downloaded. Is is something wrong with these functions ?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests