mfkl / libvlcsharp-samples

Various samples on different platforms showcasing LibVLCSharp features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio Equalizer & Video Adjust

subh-kundu opened this issue · comments

commented

Generic information

LibVLCSharp version : 3.6.1
project used : WinForms x64
.net version : 4.5.0
language : C#
OS : Windows 11 x64

how can i set audio equalizer, any example
videoView1.MediaPlayer.SetEqualizer

or
how to pass value slider to adjust brightness, contrast, hue colors
videoView1.MediaPlayer.AdjustInt(VideoAdjustOption.Hue)

commented

Hi,

For support, please use stackoverflow or discord. See you there

commented

Hi,
I'm follow your steps, some help for me but I've a question how to send command runtime. such as change visualization. like click to scope to spectrometer.

this code only works at loading time.

private string[] MediaOptions()
       {
           string[] mediaOptions;
           mediaOptions = new[] { "--network-caching=8000",
                                  "--directx-use-sysmem",
                                  "--avcodec-hw=none",
                                  "--audio-visual=visual",                                   
                                  "--effect-width=128",
                                  "--effect-height=128",
                                  "--effect-list=spectrometer", };
           return mediaOptions;
       }

public Form1()
       {
           InitializeComponent();
           Core.Initialize(Environment.CurrentDirectory + @"\libvlc\x64\");
           _libVLC = new LibVLC(MediaOptions());
           _mp = new MediaPlayer(_libVLC);
           videoView1.MediaPlayer = _mp;
           _libVLC.SetLogFile("vlclog.txt");
       }
commented

For support, please use stackoverflow or discord. See you there