You are not logged in.
Hey, I use mplayer as a wallpaper playing movies, anime, music vids, etc, but I want to start it muted, so then if I wanna watch I just have to unmute it.
Pulseaudio can control volume per application but I can't seem to find a way to define the volume level by cmd, except for "Master"
Offline
You can use pactl command
pactl set-sink-input-volume <number of sink input> <volume>Offline
If you only want to have this happen with mplayer, you can use the volume config parameter in ~/.mplayer/config.
since 2009
Offline
Thank you both.
About the first one looks interesting but I really don't understand too much the use of pactl, I mean how can I get the sink number?
About mplayer is fine, actaully I do start it with "-volume 0" parameter, the problem about this is that it applies to every movie so if I watch a video with sound on, the next one will start again with sound off and I have to be "unmuting" for every video.
Offline
Add volume=100 to ~/.mplayer/config
-volume in command line override config option.
If non volume is set pulseaudio will set last mplayer volume
Offline
Add volume=100 to ~/.mplayer/config
.....
If non volume is set pulseaudio will set last mplayer volume
thansk for the tip!
Last edited by sl1pkn07 (2013-05-17 21:11:55)
Offline
Thanks! Unfortunately it didn't work out for me
the config file does not override the command line, the sound starts off, but then if I set it on and change the volume level it remains muted by the command line option :S
Offline