[MPlayer-users] mencoder: Increase volume using af filter?
Ron Johnson
ron.l.johnson at cox.net
Mon Jul 2 21:31:57 CEST 2012
On 07/02/2012 01:17 PM, Reimar Döffinger wrote:
> 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".
I should have known that, from looking at the -vf options. Thanks.
And yes, that did the trick.
> Also both -srate and -af lavcresample is rather overkill, either one of
> them is enough to change the sample rate.
Which is, to use that hateful PHB phrase, "best practice"?
--
"There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
disaster, you need people with high IQs."
Thomas Sowell
More information about the MPlayer-users
mailing list