OpenGL output command line?

This forum is about all development around libVLC.
neosettler
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 18 Dec 2012 17:44

OpenGL output command line?

Postby neosettler » 28 Jan 2019 00:24

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?

mfkl
Developer
Developer
Posts: 735
Joined: 13 Jun 2017 10:41

Re: OpenGL output command line?

Postby mfkl » 28 Jan 2019 04:40

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}
https://mfkl.github.io

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

Re: OpenGL output command line?

Postby Rémi Denis-Courmont » 28 Jan 2019 19:33

There are no defined ways to force a video output. It is selected accorded to other settings.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Moriquendi
Blank Cone
Blank Cone
Posts: 74
Joined: 31 May 2011 16:22

Re: OpenGL output command line?

Postby Moriquendi » 29 Jan 2019 15:39

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.

neosettler
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 18 Dec 2012 17:44

Re: OpenGL output command line?

Postby neosettler » 30 Jan 2019 03:22

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?

Moriquendi
Blank Cone
Blank Cone
Posts: 74
Joined: 31 May 2011 16:22

Re: OpenGL output command line?

Postby Moriquendi » 01 Feb 2019 13:28

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests