Page 1 of 1

OpenGL output command line?

Posted: 28 Jan 2019 00:24
by neosettler
Greetings,

How to force OpenGL output with command line in LibVLC 3.x?

Is there any benefit or using DX or OpenGL on windows 10?

Re: OpenGL output command line?

Posted: 28 Jan 2019 04:40
by mfkl
Check this https://wiki.videolan.org/VLC_command-line_help/

Probably something like
OpenGL video output (gl)
--gl={any,wgl,none} OpenGL extension
Extension through which to use the Open Graphics Library (OpenGL).
--glconv={any,direct3d9,none}

Re: OpenGL output command line?

Posted: 28 Jan 2019 19:33
by RĂ©mi Denis-Courmont
There are no defined ways to force a video output. It is selected accorded to other settings.

Re: OpenGL output command line?

Posted: 29 Jan 2019 15:39
by Moriquendi
Hey there,

I had a similar issue. Check out this topic https://forum.videolan.org/viewtopic.php?f=32&t=147148. Maybe you can remove dlls (in "plugins/video_output" folder) other than OpenGL to force libvlc to use it.

Re: OpenGL output command line?

Posted: 30 Jan 2019 03:22
by neosettler
Sorry for the double post:

Hello and thank you for your support.

removing :
libdirect3d9_plugin.dll
libdirect3d11_plugin.dll

does in fact fallback to OpenGL output. One annoying side effect is that the video does flickers, seems like black or missing frames. Why " You may need to tell your app to look for dlls elsewhere than in the VLC app directory. " would be necessary though?

Re: OpenGL output command line?

Posted: 01 Feb 2019 13:28
by Moriquendi
Why " You may need to tell your app to look for dlls elsewhere than in the VLC app directory. " would be necessary though?
I dont know what that means either :) I simply removed the .dll and it worked. I didnt change anything in my code.