I've been trying, without success, to set the volume in VLC [2.2.1] via terminal, on Ubuntu.
The parameter --volume
doesn't exist anymore (Warning: option --volume no longer exists
), and I can't find anything in the help which has "volume" in it.
The documentation (https://wiki.videolan.org/Documentation:Advanced_Use_of_VLC/) is outdated, as it still has the --volume
option in it.
Is it still possible?
You can also directly press Windows Key + R shortcut, type cmd in the dialog box that opens and press Enter or OK. The environment variables should be updated to include the VLC directory. It is then possible to run the commands easily.
To change the volume setting, press Ctrl + P and then select all in the bottom left corner, as indicated in the screenshot. Then expand the Interface tree and further expand Main interfaces . Now select Qt and change the default value of Maximum Volume displayed from 125 to 200 or 300 .
According to the documentation,
--volume
no longer exists but --volume-step
and --gain
may be used:
--gain <float>
audio gain (between 0 and 8)
--volume-step <float>
audio output volume step (between 1 and 256)
Note that gain is independent of volume: If you increase it, sound will be louder even though the volume setting will not change.
The original question was about Ubuntu but I just thought I'd mention in case someone using Windows comes across this question. This is the only setting that seems to work for me on Windows.
--mmdevice-volume=<float [0.000000 .. 1.250000]>
e.g.
--mmdevice-volume=0.5
Found via the exhaustive help list, also mentioned here
Tested on MacOS using VLC 3
/Applications/VLC.app/Contents/MacOS/VLC --auhal-volume=256
Will start VLC with the set volume of 256 which corresponds to 100% of current system volume.
Can be set to 512.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With