Command line for fullscreen video on 2nd monitor

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Rashef
New Cone
New Cone
Posts: 3
Joined: 16 Nov 2009 10:46

Command line for fullscreen video on 2nd monitor

Postby Rashef » 16 Nov 2009 10:55

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Command line for fullscreen video on 2nd monitor

Postby Jean-Baptiste Kempf » 16 Nov 2009 16:17

# 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
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rashef
New Cone
New Cone
Posts: 3
Joined: 16 Nov 2009 10:46

Re: Command line for fullscreen video on 2nd monitor

Postby Rashef » 17 Nov 2009 16:43

EDIT: forget it... I hate this font! :-P


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 48 guests