VLC command line volume control

terminalvlc

I use VLC in command line mode on macOS and would like to set the volume from the command line as well. On a Linux system this can be achieved by using the option

--alsa-gain= float value

Note that

--volume

is deprecated. Does anyone know how to achieve volume control in macOS?

Best Answer

As mentioned above

--gain= float number

works, but beware that the float number has to be between 0 and 1 and not 0 and 8 as it is stated in the documentation linked above.