Minimal plugins for C# libvlcharp - how to determine

3 weeks ago 21
ARTICLE AD BOX

I have a simple C# .NET Winforms app. It will just play a standard .mp4 video with audio.

This is how I initialize

string[] vlcParameter1 = new string[] { @"--video-x=0", @"--reset-plugins-cache", @"--verbose=4", @"--width=1920", @"--video-y=0", @"--no-video-deco", @"--no-one-instance" }; Console.WriteLine("LibVLC(vlcParameter1"); _libVLC1 = new LibVLC(enableDebugLogs: true,vlcParameter1);

When I start the app and it gets to the last line, most of the time it takes many seconds to complete. Looking at some of the debug output, it appears it is loading over 400 plugin modules. I would like to make this go much faster. I realize the reset plugins cache is supposed to clear each time, but I want to make sure it works the same way each time until it is fast every time.

My feeling is that there are too many extra plugins being loaded.

Questions:

How can I know which plugins are being used? Does anyone know which ones I should keep?

I will delete the reset to see if that helps.

Read Entire Article