Page 1 of 1

Set VideoOutput Device in WebPlugin

Posted: 21 May 2013 11:51
by eli13
Hello.

Is it possible to set the video-output device to 'Windows GDI-Output' in the VLC-WebPlugin? We have the problem that quite often someone is using Windows Remote Desktop to access a computer. The browser is running on the remote computer, therefore also the VLC-plugin and the screen in the Remote Terminal just stays black.
This is the same for the VLC-standalone: If you do not set the video-output to 'Windows GDI-output' no video can be seen from a remotedesktop - what makes sense if you imagine that vlc uses some fancy opengl/direct3d whatever rendering that by-passes the remoteDesktop thing.

The last option would probably be to delete all video-output dlls in the vlc installation except the gdi-output.. but it would of course be nicer if setting an option would be possible.

Thanks for any help.
(Using vlc 2.0.5)

Edited:
I tried with adding the options
:vout=wingdi
--vout wingdi
--vout=wingdi
but it doesnt seem to have any impact on the plugin.

Then I chose the brute-force method and deleted all .dll files in video_output, except libwingdi_plugin.dll.
If I start the plugin now, it will start rendering the video into a new image instead of the location of the plugin in the html-page..

So again: Any way to make the vlc-plugin v2.0.5 use wingdi as output and still render to the plugin-area and not into a single new window?

Edit again:
It seems this can be "resolved" by deleting
- libdirect3d_plugin.dll
- libdirectx_plugin.dll
- libvdummy_plugin.dll
- libyuv_plugin.dll
As with all these video-outputs no video is shown over RemoteDesktop while with
- Direct2d
- OpenGl
- WinGdi
Video also works over a RemoteDesktop connection. By deleting the files from the install-directory the plugin seems to use one of the RemoteDesktop-compatible video-outputs.

Of course deleting some DLLs after installing is not a very nice solution, an option would be great. :)

Re: Set VideoOutput Device in WebPlugin

Posted: 21 May 2013 17:02
by RSATom
try to use windowless mode (vlc-plugin 2.0.6)

Re: Set VideoOutput Device in WebPlugin

Posted: 21 May 2013 17:11
by eli13
The plugin in 2.0.6 is IMHO totally broken and unusable atm: Most of the Javascript objects are not there (especially playlist).

But yes, it works fine with fbVLC 2.0.5 in windowsLessMode with Remote Desktop.

Re: Set VideoOutput Device in WebPlugin

Posted: 23 May 2013 03:14
by RSATom
Then you could try FBVLC

Re: Set VideoOutput Device in WebPlugin

Posted: 23 May 2013 12:15
by Jean-Baptiste Kempf
Your installation is utterly broken if you need this.

Re: Set VideoOutput Device in WebPlugin

Posted: 23 May 2013 14:30
by eli13
Why is my installation broken?

I just noticed that watching a videostream with Windows Remote Desktop on a remote Machine does not work if VLC uses any of the DirectX/Direct3D things. And as you cannot set the vout-device in the WebPlugin the only way to resolve the problem is by deleting the modules. Do you have a better solution?