allyarellano / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Mplayer sound options don't work #616

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open gnome-mplayer
2. open edit/preferences/mplayer
3. check "Use mplayer software volume control" or add options for mplayer

What is the expected output? What do you see instead?
Want sound amplified
Putting options in "Extra Options to MPlayer:" like -af volume=10 or softvol 
don't work --> The video play but sound is the same.
Check "Use mplayer software volume control" --> No sound and no video

opening playlist
playlist detection = 0
adding file:///home/este/test.avi to playlist (cancel = 0)
getting file metadata for /home/este/test.avi
mplayer -vo null -ao null -nomsgcolor -nomsgmodule -frames 0 -noidx -identify 
-nocache -noidle /home/este/test.avi 
playing - file:///home/este/test.avi
is playlist 0
libcurl required for cover art retrieval
setting up mplayer
mplayer -vo xv -vf-add screenshot -vc 
ffmpeg2crystalhd,ffdivxcrystalhd,ffwmv3crystalhd,ffvc1crystalhd,ffh264crystalhd,
ffodivxcrystalhd, -ao alsa -channels 2 -af-add 
export=/tmp/mplayer-af_exportrlitve:512 -quiet -slave -noidle 
-noconsolecontrols -nostop-xscreensaver -identify -volume 100 -af-add 
volume=60,000000:0 -softvol -msglevel all=5 -osdlevel 0 -delay 0,000000 
-subdelay 0,000000 -subpos 0 -sub-fuzziness 0 -wid 0x2c00018 -brightness 0 
-contrast 0 -hue 0 -saturation 0 -alang Zuni,zun -slang Zuni,zun -nomsgcolor 
-nomsgmodule -nokeepaspect -ass -embeddedfonts -ass-font-scale 1,00 -ass-color 
ffffff00 /home/este/test.avi 
MPlayer SVN-r33094-4.6.2 (C) 2000-2011 MPlayer Team
Lecture de /home/este/test.avi
Fichier de type AVI détecté.
ID_VIDEO_ID=0
[aviheader] Flux vidéo trouvé, -vid 0
ID_AUDIO_ID=1
[aviheader] Flux audio trouvé, -aid 1
VIDEO:  [XVID]  624x352  12bpp  25.000 fps  1022.6 kbps (124.8 kbyte/s)
Information sur le clip : 
 Software: MEncoder SVN-r34823
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=MEncoder SVN-r34823
ID_CLIP_INFO_N=1
Load subtitles in /home/este/
ID_FILENAME=/home/este/test.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
Setting to minimum size so that mplayer has something to draw to
ID_VIDEO_BITRATE=1022552
ID_VIDEO_WIDTH=624
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=151160
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.00
ID_LENGTH=2452.72
ID_SEEKABLE=1
ID_CHAPTERS=0
Ouverture du filtre vidéo : [ass auto=1]
[ass] auto-open
Ouverture du filtre vidéo : [screenshot]
==========================================================================
Codec vidéo forcé : ffmpeg2crystalhd
Codec vidéo forcé : ffdivxcrystalhd
Codec vidéo forcé : ffwmv3crystalhd
Codec vidéo forcé : ffvc1crystalhd
Codec vidéo forcé : ffh264crystalhd
Codec vidéo forcé : ffodivxcrystalhd
Ouverture du décodeur vidéo : [ffmpeg] FFmpeg's libavcodec codec family
Codec vidéo choisi : [ffodivx] vfm : ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Ouverture décodeur audio : [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
ERROR: Couldn't find audio filter '000000:0'
ID_AUDIO_BITRATE=160000
ERROR: [libaf] Couldn't create or open audio filter '000000:0'
ID_AUDIO_RATE=48000
ERROR: Erreur de pré-initialisation de la chaîne de filtres audio !
ID_AUDIO_NCH=2
Codec audio sélectionné : [mp3] afm : mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================

Sortie... (Erreur fatale)
ID_EXIT=ERROR
in media state change with state = 0

What version of the product are you using? On what operating system?
media-video/gnome-mplayer-1.0.5 and 1.0.6
Gentoo

Please provide any additional information below.
Try with xubuntu and same result

Original issue reported on code.google.com by esuu...@gmail.com on 17 May 2012 at 8:59

GoogleCodeExporter commented 8 years ago
Do you have pulseaudio installed? If so you may want to try switching to pulse. 
If that doesn't work change the audio output to "default" and see if that 
helps. It is possible that you are setting the volume on a device that is muted 
or the default alsa device is set incorrectly. I just did a quick test here 
softvol and volume gain (in preferences) work correctly here I tried them with 
pulse and default ao's.

Quick tests using mplayer can be done like this.

This should work

mplayer -ao alsa "some file"

Should play the same volume

mplayer -ao alsa -softvol -volume 100 "some file"

Should play with louder volume

mplayer -ao alsa -softvol -volume 100 -af volume=20 "some file"

That is basically what gnome-mplayer is doing in these situations. If those do 
not work try different -ao's or remove "-ao alsa" (equivalent to "Default" in 
gnome-mplayer)

Original comment by kdeko...@gmail.com on 17 May 2012 at 9:17

GoogleCodeExporter commented 8 years ago
Any feedback on this?

Original comment by kdeko...@gmail.com on 20 May 2012 at 11:06

GoogleCodeExporter commented 8 years ago
Closing due to lack of response

Original comment by kdeko...@gmail.com on 24 Oct 2012 at 12:31