Page 1 of 1

Autostart vlc with a fix volume

Posted: 23 Aug 2019 11:11
by luigisic
Hallo,
I need to put in autostart a vlc instance with a prefixed volume = 30%.
I put this line command in a windows link "C:\Program Files\VideoLAN\VLC\vlc.exe" "https://icestreaming.rai.it/2.mp3" --qt-start-minimized --directx-volume=0.30 but if I launch another instance of vlc to play video or sounds and I change the volume to 100% when I restart windows the level of volume is 100% not as I expect 30%.

In practice the volume is always that of the last closed instance of vlc

Where am I wrong?

Thanks

Re: Autostart vlc with a fix volume

Posted: 11 Jan 2021 16:45
by phaolo
I'm replying to this old thread with the solution, in case someone in the future will still need it (like me).
To use directx-volume you also need to specify the output module with --aout=directsound