I posted this originally in Super User, and it was suggested that I post this question here, instead ...
I'm using VLC media player 3.0.16 Vetinari
under MacOS 11.6
.
I want to run VLC from the command line in order to play videoname.mp4
.
I know I can do the following:
/Applications/VLC.app/Contents/MacOS/VLC videoname.mp4
However, when I do so, VLC does not start playing the video. Rather, it just displays the VLC playlist GUI window with a videoname.mp4
line, and I have to click on videoname.mp4
in this playlist GUI in order to start playing the video.
If I add --no-playlist-autostart
and --play-and-exit
command-line options, I get the same behavior.
If I run under Linux, I can use VLC to view the videoname.mp4
video by running the following command. No playlist GUI window pops up, and the video immediately starts playing:
/usr/bin/vlc videoname.mp4
Is there a way with the MacOS VLC program to immediately launch a video directly via the command line, without the VLC playlist GUI popping up at all? I want to launch videos from the command line under MacOS in the same manner that I can do it under Linux.
Thank you in advance for any suggestions.