VLC always sets volume to 0% on startup & to 45% on beginning of playback, regerdless of "Remember volume level" & "Set volume on startup" settings. How-To-Repeat: 1. Start VLC. 2. Verify that remembering sound volume level is on. 3. Set volume to any non-zero value, e.g. 100%. 4. Close VLC. 5. Open it again - you'll see that volume level is 0%. 6. Start playback of any file/stream. 7. You'll see that volume level is 45%.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-multimedia Over to maintainer (via the GNATS Auto Assign Tool)
Tested 2.1.1, 2.1.0 - problem persists. I can't test older versions because ffmpeg is too new.
I'm also experiencing exactly the same problem as desribed here: https://bugs.archlinux.org/task/37076?project=1&cat[0]=2&string=vlc It happens only when playing files (directly or over http). 1080p x264 streams are playing perfectly.
I've seen the same volume issue - on 9.2. Part fix is to add hw.snd.vpc_autoreset=0 to sysctl.conf This doesn't fix the Set volume on startup in vlc but it does allow the volume to remain consistent between files and vlc restarts instead of always jumping to 45%. This volume change also effects more than vlc
2013/12/24 Shane Ambler <FreeBSD@shaneware.biz>: > I've seen the same volume issue - on 9.2. > > Part fix is to add hw.snd.vpc_autoreset=0 to sysctl.conf I'll try this later. > This doesn't fix the Set volume on startup in vlc but it does allow the > volume to remain consistent between files and vlc restarts instead of > always jumping to 45%. This proves that VLC does not (or fails to) call volume restore procedure. As I remember, it worked on all older versions (<2.1). > This volume change also effects more than vlc What did you mean?
On 24/12/2013 20:50, Anton Sayetsky wrote: >2013/12/24 Shane Ambler <FreeBSD@shaneware.biz>: >> I've seen the same volume issue - on 9.2. >> >> Part fix is to add hw.snd.vpc_autoreset=0 to sysctl.conf >I'll try this later. Another sysctl that appears related is hw.snd.vpc_0db this is described as "0db relative level". The default of 45 is what vlc sets the volume to, changing this also changes the volume that vlc resets to. While the vlc volume setting changes, the audio output level doesn't change. That is with vpc_0db=7 and vlc volume=7 or vpc_0db=45 and vlc volume=45 the sound level at the speakers is the same. So while vlc appears to be getting it's volume setting from there, changing it doesn't give the desired result. >> This doesn't fix the Set volume on startup in vlc but it does allow the >> volume to remain consistent between files and vlc restarts instead of >> always jumping to 45%. >This proves that VLC does not (or fails to) call volume restore procedure. >As I remember, it worked on all older versions (<2.1). The vlc volume restore definitely worked before the recent update a few months ago. Of note here, the sound restore does work if jack audio output is used but vlc jack output also doesn't close properly, that is pressing stop or closing the vlc window leaves a continuous tone playing, you need to pause playback before stopping or closing to prevent this. >> This volume change also effects more than vlc >What did you mean? vlc isn't the only program it effects, the sysctl tip was from a musicpd user (using 10-BETA) with the same volume changing behaviour on the multimedia mailing list. Also given that the sysctl is a system level sound option the command to reset the sound level must be coming from the underlying sound system not the user application. There is a possibility that this command has existed for a long time but was ignored until recently.
Reminder: no any reaction in more than a month.
I'm seeing this problem on recent ports on 8.3p14 and hw.snd.vpc_autoreset=0 temporarily fixes it. Thanks for the tip. -- I don't think they are going to give a shit about the Republican Committee trying to bug the Democratic Committee's headquarters. -- Richard M. Nixon, 1972