video-filter problem

This forum is about all development around libVLC.
FreshIce
New Cone
New Cone
Posts: 3
Joined: 29 Aug 2011 11:40

video-filter problem

Postby FreshIce » 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 :

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,

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

Re: video-filter problem

Postby fishstyc » 18 Apr 2012 11:51

Has this been solved? Seems to be problem over here too.

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

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

Re: video-filter problem

Postby Rémi Denis-Courmont » 18 Apr 2012 12:03

The video pipeline does not depend on the input anymore. So input item options do not apply.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

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

Re: video-filter problem

Postby fishstyc » 18 Apr 2012 14:12

Which leaves the question open:

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

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

Re: video-filter problem

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

Write a proper API for them.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests