LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-22-2005, 04:02 PM   #1
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
MPlayer Audio Issues


I just installed MPlayer and I'm having trouble with the audio. In order to hear the DVD's I put in I have to turn my system volume ALL THE WAY UP. When I do this the movie sounds like whispers so low that I have to put my ear up to the speakers. Obviously when I turn my system volume all the way up everything else is insanely loud. I've checked the volume in MPlayer and it's set to max. I use the ALSA driver and I have tried the OSS driver with the same results. I run an Audigy 2 ZS on Fedora Core 4.

In the same DVD-ROM (AOpen 1648/Pro) a music CD plays at the correct volume level.

Last edited by Centinul; 07-22-2005 at 04:09 PM.
 
Old 07-22-2005, 04:50 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
I often have to balance, Mplayer's volume with Kmix and my speakers...

Did you say you tried increasing Mplayer Volume with " * "

On the Keypad only:

* increses volume
/ decreases

Also try another DVD see if you have the same problem. I know some DVD's have terrible sound editing. The speech is at a whisper and the action seens are terribly loud... Some are better then others...

KC
 
Old 07-22-2005, 10:32 PM   #3
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Original Poster
Rep: Reputation: 30
Yes, I did try another DVD and had the same problem. I tried "*" and my volume was already maxed out and it made no difference. Thanks!

This is extremely frustrating!!!

Anybody?
 
Old 07-22-2005, 10:48 PM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
You could try another audio output

mplayer -ao help

Available audio output drivers:
mpegpes DVB audio output
oss OSS/ioctl audio output
alsa ALSA-0.9.x-1.x audio output
arts aRts audio output
esd EsounD audio output
polyp Polypaudio audio output
jack JACK audio output
nas NAS audio output
sdl SDLlib audio output
null Null audio output
pcm RAW PCM/WAVE file writer audio output

Then try some diff devices:

mplayer -ao arts dvd://1

You said you did try oss and alsa... Are you able to play DVD's fine in other apps? That would give you a clue as to where to look next...

KC
 
Old 07-23-2005, 09:06 AM   #5
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Original Poster
Rep: Reputation: 30
I just installed totem-xine and it worked beautifully. I don't understand what the problem with MPlayer is. I just recompiled it. Also as a side note if I try and set 5.1 surround sound I get an error too. I'll post the code I used to compile mplayer and maybe that will help solve the problem.


Code:
./configure --enable-gui --enable-largefiles --enable-menu --prefix=/usr --confdir=/etc/mplayer --cc=gcc32

Last edited by Centinul; 07-23-2005 at 09:15 AM.
 
Old 07-24-2005, 12:04 AM   #6
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Original Poster
Rep: Reputation: 30
A little update:

If I go to the terminal and do the following:

Code:
mplayer -ao alsa:device=surround51 -channels 6 dvd://
The volume is a little better but it's not true 5.1 surround sound. For example the speach comes out of all speakers instead of the center speaker. I still have to crank my volume up all the way to hear it though.

if I go to the terminal and do the following:

Code:
mplayer -ao alsa -channels 6 dvd://
I only get sound out of my front left and right speakers and I still have to crank the volume

If i go to the terminal and do the following:

Code:
mplayer -ao alsa:device=surround51 dvd://
I get the following error:

Code:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 1.0pre7-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing dvd://.
Reading disc structure, please wait...
There are 29 titles on this DVD.
There are 28 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (channel)  48000 Hz  32.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: surround51
alsa-init: unable to set channels: Invalid argument
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...


MPlayer interrupted by signal 11 in module: play_audio
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
alsa-uninit: pcm closed
The only way to get the volume at a respectable level is to crank the amplification to max but then iit sounds EXTREMELY distorted. What's going wrong?

If I run totem-xine the dvd plays fine with true 5.1 surround, although the volume is still a little low. I would really like to get mplayer working though.


Last edited by Centinul; 07-24-2005 at 12:14 AM.
 
Old 07-24-2005, 08:21 PM   #7
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Original Poster
Rep: Reputation: 30
Bump!
 
Old 07-26-2005, 05:15 AM   #8
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Original Poster
Rep: Reputation: 30
Bump!
 
Old 07-28-2005, 05:16 AM   #9
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Original Poster
Rep: Reputation: 30
Bump
 
Old 08-01-2005, 11:05 AM   #10
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Original Poster
Rep: Reputation: 30
Bump!
 
Old 03-02-2006, 05:08 PM   #11
simber
LQ Newbie
 
Registered: Nov 2005
Location: Ankara
Distribution: SuSE 9.2
Posts: 24

Rep: Reputation: 15
@centinul:
Hi there,
I saw your problem here and I am having just the same problem at the moment. Did you find a soltion to your problem? Please let me know about any workaround for this issue if you had one?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio in Mplayer mickeyboa Fedora 0 11-13-2004 09:11 AM
No Audio when trying new Mplayer breakerfall Linux - Software 2 08-25-2004 07:58 PM
Mplayer Audio Help dmiller23462 Linux - Software 6 08-11-2004 05:21 AM
No audio with MPlayer christer Linux - Software 6 10-04-2003 08:43 PM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration