First, you need to locate the actual binary executable in the VLC Mac application package. Open Finder
, go to the Applications
folder, right-click on the VLC app and then click Show Package Contents
. Now you can browse what's actually inside.
In this case, the VLC binary is located in the Contents/MacOS
folder as file VLC
. Open Terminal
and enter the exact file path to this, and you'll find the VLC binary executes: /Applications/VLC.app/Contents/MacOS/VLC
. If you don't want to use this whole path every time, you can make a symlink and edit your Bash PATH to point to this.
Now that you can call the binary right from the CLI, you probably will want to pick an interface so that you don't have the usual GUI popping up. A full list of available interfaces are at the VLC Interfaces wiki page.
Once you find the working set of commands for your VLC CLI calls which produces your intended output, you'll probably want to use the dummy
interface when calling VLC in your program/batch processing. The dummy
interface is basically nothing but output in the Terminal like most non-interactive CLI programs.
End result: /Applications/VLC.app/Contents/MacOS/VLC -I dummy [further parameters here]
I recommend using the -vvv
parameter so you get extensive log output to help as you test different commands.
vlc
in terminal it tells me to usecvlc
I guess it would be the same under OSX.