| Issue 259: | Increased Volume | |
| 3 people starred this issue and may be notified of changes. | Back to list |
With mplayer when I have a file with low audio I can use -af volume=20 to bring it up to a decent volume on my machine. However when I try to add this to extra options to mplayer or into the ~/.mplayer/config I get no change in max volume. |
|
,
Aug 17, 2009
Make sure you are adding it to the [gnome-mplayer] portion of the config file or add it to the extra options in the Edit -> Preferences -> Mplayer tab. Also you might want to use -af-add volume=20 instead of just -af volume=20, so that other audio filters work. |
|
,
Sep 27, 2009
I can confirm that this option seems to have no effect when added the extra options in the mplayer tab, although it does work in plain mplayer. Extra Options: -idx -af-add scaletempo -af-add volume=20 (tried plenty of variations, and just the volume filter) gnome-mplayer 0.9.8 mplayer 29411 arch linux |
|
,
Sep 28, 2009
please post the output of gnome-mplayer -v and make sure the command line options are being passed. |
|
,
Oct 27, 2009
<b>Output without ~/.mplayer/config without af volume=20</b> GNOME MPlayer v0.9.8 vo = gl ao = alsa Running with GIO support Master Playback is 0 Master Range is 0 to 64 Master Current Volume 64, multiplier = 1.562500 Scaled Volume is 0.000000 Using volume of 0.00 Using softvol, setting volume to max (will be limited by mixer 100% of 0%) opening eh.avi is block 0 is character 0 is reg 1 is dir 0 playlist 0 embedded in window id 0x0 opening playlist playlist detection = 0 adding file:///home/patrick/Downloads/eh.avi to playlist (cancel = 0) getting file metadata for /home/patrick/Downloads/eh.avi Using match: type='signal',interface='com.gnome.mplayer' Using match: type='signal',interface='org.gnome.SettingsDaemon' Using match: type='signal',interface='org.gnome.SettingsDaemon.MediaKeys' Proxy connections and Command connected playing - file:///home/patrick/Downloads/eh.avi is playlist 0 current size = 0 x 0 Changing window size to 1280 x 720 visible = 1 mplayer -profile gnome-mplayer -quiet -slave -identify -softvol -volume 0 -mixer-channel Master -framedrop -noconsolecontrols -noidle -osdlevel 0 -nomouseinput -nocache -wid 0x4400030 -ss 0 -ass -noembeddedfonts -ass-font-scale 1.00 -ass-color ffffff00 -channels 2 -vf-add screenshot -af-add export=/tmp/mplayer-af_exportbyygrl:512 /home/patrick/Downloads/eh.avi current size = 1280 x 720 Spawn succeeded for filename /home/patrick/Downloads/eh.avi MPlayer SVN-r29463-4.3.2 (C) 2000-2009 MPlayer Team Playing /home/patrick/Downloads/eh.avi. AVI file format detected. ID_VIDEO_ID=0 [aviheader] Video stream found, -vid 0 ID_AUDIO_ID=1 [aviheader] Audio stream found, -aid 1 AVI: ODML: Building ODML index (2 superindexchunks). VIDEO: [H264] 1280x720 24bpp 29.970 fps 1197.4 kbps (146.2 kbyte/s) Clip info: Software: Windows Movie Maker 3.0 ID_CLIP_INFO_NAME0=Software ID_CLIP_INFO_VALUE0=Windows Movie Maker 3.0 ID_CLIP_INFO_N=1 ID_FILENAME=/home/patrick/Downloads/eh.avi ID_DEMUXER=avi ID_VIDEO_FORMAT=H264 ID_VIDEO_BITRATE=1197416 ID_VIDEO_WIDTH=1280 ID_VIDEO_HEIGHT=720 ID_VIDEO_FPS=29.970 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_LENGTH=1469.90 ID_SEEKABLE=1 ERROR: Couldn't open video filter 'ass'. ID_CHAPTERS=0 ERROR: ASS: cannot add video filter [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. Opening video filter: [scale] Opening video filter: [screenshot] [ass] Init [ass] Updating font cache. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ID_VIDEO_CODEC=ffh264 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== [export] Exporting to file: /tmp/mplayer-af_exportbyygrl [export] Memory mapped to file: /tmp/mplayer-af_exportbyygrl (0x7fc227424000) [export] Exporting to file: /tmp/mplayer-af_exportbyygrl [export] Memory mapped to file: /tmp/mplayer-af_exportbyygrl (0x7fc227424000) AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) [export] Exporting to file: /tmp/mplayer-af_exportbyygrl [export] Memory mapped to file: /tmp/mplayer-af_exportbyygrl (0x7fc230d20000) [export] Exporting to file: /tmp/mplayer-af_exportbyygrl [export] Memory mapped to file: /tmp/mplayer-af_exportbyygrl (0x7fc230d20000) ID_AUDIO_CODEC=mp3 [Mixer] No hardware mixing, inserting volume filter. [export] Exporting to file: /tmp/mplayer-af_exportbyygrl [export] Memory mapped to file: /tmp/mplayer-af_exportbyygrl (0x7fc230d20000) Starting playback... ANS_switch_audio is invalid -1 VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. ID_VIDEO_ASPECT=1.7778 [swscaler @ 0xc6c580]using unscaled yuv420p -> rgb32 special converter VO: [gl] 1280x720 => 1280x720 BGRA Resizing to 1280 x 720 ERROR: X11 error: BadMatch (invalid parameter attributes) current size = 0 x 0 Changing window size to 1280 x 720 visible = 1 ANS_switch_audio is invalid -1 ERROR: Failed to get value of property 'sub_demux'. <b>Output with ~/.mplayer/config without af volume=20</b> GNOME MPlayer v0.9.8 vo = gl ao = alsa Running with GIO support Master Playback is 0 Master Range is 0 to 64 Master Current Volume 64, multiplier = 1.562500 Scaled Volume is 0.000000 Using volume of 0.00 Using softvol, setting volume to max (will be limited by mixer 100% of 0%) opening eh.avi is block 0 is character 0 is reg 1 is dir 0 playlist 0 embedded in window id 0x0 opening playlist playlist detection = 0 adding file:///home/patrick/Downloads/eh.avi to playlist (cancel = 0) getting file metadata for /home/patrick/Downloads/eh.avi Using match: type='signal',interface='com.gnome.mplayer' Using match: type='signal',interface='org.gnome.SettingsDaemon' Using match: type='signal',interface='org.gnome.SettingsDaemon.MediaKeys' Proxy connections and Command connected playing - file:///home/patrick/Downloads/eh.avi is playlist 0 file:///home/patrick/Downloads/eh.avi is not marked as playable (0) It seems that if in the ~/.mplayer/config the option has a space between words it won't even play any files. If it is written without spaces there is no difference int the sound during playback. I have tried both af volume=20 and af-add volume=20 in the config file. I also tried both from the extra options without any success. It does not appear to be passing the options. |
|
,
Dec 02, 2009
Issue 329 has been merged into this issue. |
|
,
Dec 03, 2009
Hi, sorry for my response time ... Adding it to the extra options would be easy, but those low volume movies are only a few in comparison to the normal ones. That makes changing this setting every time a bit overkill for the use case. Thanks for your quick reply! best regards |
|
,
Dec 03, 2009
So if this doesn't happen all the time, how do you propose implementing this? A volume boost option in the preferences? |
|
,
Dec 07, 2009
Yes, that would make the most sense, i guess. Its just a usability enhancement, but makes everyday life a bit smoother :) thank you ! |
|
,
Dec 17, 2009
I have implemented this enhancement in SVN. Since the -af volume filter implements software volume control. The gain had to be added under that option. So enabled mplayer software volume control and then adjust you gain. When you close the preference box the media will be restarted at the approximate position of the media with the new gain added. |
|
,
Dec 17, 2009
Hi, just testet current svn. The options are all there, but the mplayer-box is only flahing up for a split-second and is gone again (On FreeBSD 8, gnome-mplayer 0.9.5 works fine) - It feels just like in Issue 97 . I get the attached output :) |
|
,
Dec 17, 2009
Your mplayer is much much too old, please upgrade to something current. rc2 is over 3yrs old now. |
|
,
Today (10 hours ago)
(No comment was entered for this change.)
Status: Fixed
|
|
|
|