I have a program that opens VLC to play a sound, but I don't want that other people see the VLC player, since I mirror my screen on a TV. Is it possible that I can make VLC open in background or minimalized?
3 Answers
The command line parameter for opening VLC minimized(in system tray) is --qt-start-minimized
. Example usage:
"C:\Program Files\VideoLAN\VLC\vlc.exe" --qt-start-minimized
On windows 10, using vlc 2.2.4:
Using vlc -I null --play-and-exit [arguments]
, vlc opens in the background without appearing in the taskbar or system tray.
However, it can be seen when 'more details' is clicked in task manager.
For example, when you want to play audio while vlc is hidden:
vlc -I null --play-and-exit "C:\Windows.old\Users\Public\Music\Sample Music\Kalimba.mp3"
-
Great answer! But vlc will stay running after the file is played. To auto-exit after the file has finished playing you can add the
--play-and-exit
flag Dec 13, 2016 at 14:25