Page 1 of 1
Command-line: Select location/monitor to open player?
Posted: 19 Mar 2008 07:11
by GeeZuZz
Is there any way i can choose where the player should show up, using command line?
I want the player to always show up on my secondary monitor (TV). I can figure out the X/Y coordinates for that monitor if necessary.
Re: Command-line: Select location/monitor to open player?
Posted: 19 Mar 2008 15:22
by VLC_help
--directx-device= might work.
Re: Command-line: Select location/monitor to open player?
Posted: 19 Mar 2008 21:34
by GeeZuZz
Hi,
I tried:
Code: Select all
vlc.exe http://10.0.0.9/video.m3u --directx-device="\\.\DISPLAY2"
But that didn't work (tried changing display number from 0-3, same results).
Is there anything i need to put in before --directx-device? Is DISPLAY2 just an example, or is that the actual naming windows uses? If not, where can i find out what my display devices are called?
Re: Command-line: Select location/monitor to open player?
Posted: 20 Mar 2008 16:52
by VLC_help
Settings -> Preferemces and Video -> Output modules -> DirectX, tick Advanced options and dropdown box should display all device names (I assume you are using DirectX video output module).
Re: Command-line: Select location/monitor to open player?
Posted: 20 Mar 2008 23:22
by GeeZuZz
Settings -> Preferemces and Video -> Output modules -> DirectX, tick Advanced options and dropdown box should display all device names (I assume you are using DirectX video output module).
I'm using DirectX yes, and i've tried all displays listed, but VLC window pops up the same place on same monitor every time..
Re: Command-line: Select location/monitor to open player?
Posted: 22 Mar 2008 17:29
by VLC_help
Settings -> Preferences and Video has Video X/Y coordinate sections which might do the trick (--video-x= and --video-y= from command line).
Re: Command-line: Select location/monitor to open player?
Posted: 28 Mar 2008 01:40
by GeeZuZz
Settings -> Preferences and Video has Video X/Y coordinate sections which might do the trick (--video-x= and --video-y= from command line).
Tried changing those as well, but it did not do any difference... Window still shows up on the "default" place.
BTW; I wasn't aware that when launching VLC from command line with parameters, the parameters where actually saved in the options. Isn't it possiblet to make them only apply for the current process?
Re: Command-line: Select location/monitor to open player?
Posted: 28 Mar 2008 23:55
by VLC_help
Options-styles:
--option A global option that is set for the duration of the program.
-option A single letter version of a global --option.
ption An option that only applies to the stream directly before it
and that overrides previous settings.
http://wiki.videolan.org/VLC_command-line_help
but there have been some issues
https://trac.videolan.org/vlc/ticket/1106 so I am not sure if those options work as they should.