ArchiveOrangemail archive

MPlayer usage questions, feature requests, bug reports


mplayer-users.mplayerhq.hu
(List home) (Recent threads) (26 other MPlayer lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Moderate traffic list: up to 30 messages per day
  • This list contains about 86,064 messages, beginning Dec 2000
  • 3 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

mencoder: Increase volume using af filter?

Ad
Ron Johnson 1341249312Mon, 02 Jul 2012 17:15:12 +0000 (UTC)
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?-- 
"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
Reimar Döffinger 1341253044Mon, 02 Jul 2012 18:17:24 +0000 (UTC)
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.
Ron Johnson 1341257516Mon, 02 Jul 2012 19:31:56 +0000 (UTC)
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
Home | About | Privacy