[MPlayer-users] mencoder: Increase volume using af filter?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jul 2 20:17:11 CEST 2012


On Mon, Jul 02, 2012 at 12:15:14PM -0500, Ron Johnson wrote:
> Yes, mencoder is not maintained anymore, but I also want to increase
> brightness and haven't yet divined the ffmpeg incantations for that.
> 
> Google has shown me how to do it using lameopts, but I'm using lavc.
> 
> This does not appear to increase the target volume by 10dB.
> 
> mencoder \
>  -oac lavc \
>  -ovc lavc -of mpeg \
>  -mpegopts format=xsvcd:tsaf -vf scale=480:480,harddup,eq2=1.0:1.0:0.2 \
>  -srate 44100 \
>  -af lavcresample=44100:volume=10 \  <<<<<<<<<<<<<<<<<<<<<<
>  -lavcopts vcodec=mpeg2video:<snip>:acodec=mp2:abitrate=224:aspect=4/3 \
>  -ofps 30000/1001 \
>  -mc 0 -noskip \
>  -o "${N}_svcd.mpeg" "$1"
> 
> 
> What am I doing wrong?

I think you trying to set the "volume" option of the lavcresample filter
(I don't think it has one).
I think you want instead to have an additional volume filter, so it
must be ",volume" instead of ":volume".
Also both -srate and -af lavcresample is rather overkill, either one of
them is enough to change the sample rate.


More information about the MPlayer-users mailing list