Open VLC in background

11

1

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?

Sten Wessel

Posted 2014-01-31T08:01:35.617

Reputation: 160

Answers

11

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

Shazvi

Posted 2014-01-31T08:01:35.617

Reputation: 1 140

8

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"

Boomkop3

Posted 2014-01-31T08:01:35.617

Reputation: 101

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 – JoshuaDavid – 2016-12-13T14:25:29.370