Activating 10 band equalizer
Posted: 06 Apr 2016 21:35
Hi all,
I have embedded an VLC control control in my C# winforms project. (axVLCPlugin21 control VLC version 2.1.5).
The implemtation was succesfull and all is up and running.
What I now like to do is use the build-in equalizer to modify the audio output. I use a playlist and I now I need to add options as a string format.
What I found out so far is that a piece of code like this works (just to check the syntax)
To setup the 10-band equalizer I have two options according to the commandline help https://wiki.videolan.org/VLC_command-line_help.
1. --equalizer-preset
2. --equalizer-bands
So my option code should look something like this:
However, is does not work. The equalizer is listed in the VLC properties as audio filter, so therefore I might first need to set up the audio filter and then configure the equalizer. That would like look something like this:
In this last line of code I have used the equalizer-preamp settings to check whether the code works, but it does not. I am also not sure if ":audio-filter=equalizer" is valid. All the documentation says that is needs to be a string, but not what valid input parameters are.
So I am stuck at this point and there no more documentation to look at according google. Any help is very much appreciated!
I have embedded an VLC control control in my C# winforms project. (axVLCPlugin21 control VLC version 2.1.5).
The implemtation was succesfull and all is up and running.
What I now like to do is use the build-in equalizer to modify the audio output. I use a playlist and I now I need to add options as a string format.
What I found out so far is that a piece of code like this works (just to check the syntax)
Code: Select all
string[] Voption = { ":no-audio" };
this.axVLCPlugin21.playlist.items.clear();
this.axVLCPlugin21.playlist.add(convertedURL, null, Voption);
1. --equalizer-preset
2. --equalizer-bands
So my option code should look something like this:
Code: Select all
string[] Voption = { ":equalizer-bands=19 19 19 19 0 -2 -4 -2 0 2" }
Code: Select all
string[] Voption = { ":audio-filter=equalizer", ":equalizer-preamp=-16" }
So I am stuck at this point and there no more documentation to look at according google. Any help is very much appreciated!