[MPlayer-users] Interaction of slave-mode set_volume with commandline -af volume=...

Phil Rhodes phil_rhodes at rocketmail.com
Tue Jul 31 01:54:40 CEST 2007


Hi,

I'm writing a frontend which has the ability to fade in both video and audio 
at the start of a file.

To do this cleanly, I need to set mplayer to mute everything by default, 
otherwise, when I fade in, I can only set zero volume just after the start 
of playback, resulting in an audible blip of sound before the fade in.

Therefore, I've set -af volume=-200:0 on the commandline I use to launch 
mplayer, as described in the man page. This correctly mutes sound, but when 
I use the set_volume slave command to raise volume, nothing happens - all 
sound remains muted.

Presumably these two audio level controls are not supposed to be mutual in 
this way - they're probably at different points in the chain of filters. So, 
if anyone could suggest a way I can achieve what I need, I'd be very 
grateful.

Phil 




More information about the MPlayer-users mailing list