Page 1 of 1

Command line for fullscreen video on 2nd monitor

Posted: 16 Nov 2009 10:55
by Rashef
Hi,

I need a script to have VLC playing a specific file full screen on secondary monitor. I would like to hide VLC as much as possible (tray icon etc).
This is what I'm working on:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" --quiet --video-on-top --disable-screensaver -f --loop --no-audio --no-video-title-show --no-advanced --qt-display-mode=2 --no-qt-system-tray --no-qt-fs-controller --no-qt-name-in-title --directx-device="\\.\DISPLAY1" "<full_path_of_fil" && exit
But I noticed that:
  • It doesn't override all preferences set using the GUI (if a user change something it might not correctly play the file).
  • There is still a box with a big VLC logo on black background. I cannot close otherwise VLC closes all windows.
  • I have 4 computer with same hardware: one of them has both screens blinking when VLC re-start the video (there is a loop).
Hints, suggestions?
Can I avoid the user to open a second instance of VLC?

Re: Command line for fullscreen video on 2nd monitor

Posted: 16 Nov 2009 16:17
by Jean-Baptiste Kempf
# There is still a box with a big VLC logo on black background. I cannot close otherwise VLC closes all windows.

This is because you use --qt-display-mode=2

Use -Idummy

Re: Command line for fullscreen video on 2nd monitor

Posted: 17 Nov 2009 16:43
by Rashef
EDIT: forget it... I hate this font! :-P