Page 1 of 1

--directx-device

Posted: 04 May 2016 17:55
by wcndave
Hi, I would like to open VLC from a link in a very specific way.

So far I have:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --directx-device="\\.\SyncMaster 2333HD(Digital)" --no-qt-name-in-title -f --qt-minimal-view --no-qt-fs-controller "C:\Users\Dave\Documents\myfile.mp4"

However I can't see how to know what to put in the device part so I can target a specific monitor.

At the moment it is randomly appearing on one of 2 monitors, from the 4 attached. How can I tell it which monitor?

Thanks

Dave

Re: --directx-device

Posted: 04 May 2016 21:25
by Rémi Denis-Courmont
The value of the directx-device option should be the name of a DirectDraw device, as defined by the operating system. You can see the current list in the VLC advanced preferences.

Re: --directx-device

Posted: 05 May 2016 10:23
by wcndave
Thanks, I can see the list of devices there, however putting that in the command line option makes no difference...

Image

Re: --directx-device

Posted: 05 May 2016 12:14
by Rémi Denis-Courmont
That only works if you use the DirectDraw video output.

Re: --directx-device

Posted: 05 May 2016 12:25
by wcndave
Ahhhh I see, thanks. Selecting that mode means nothing plays at all, just get blank screens.

It looks like VLC always opens in the same window as it was last open in, so using the -f option to put fullscreen should be enough.

Many thanks for the replies!

Dave