LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-14-2004, 12:36 AM   #1
maul
LQ Newbie
 
Registered: Oct 2004
Location: New York
Distribution: Slackware 10
Posts: 18

Rep: Reputation: 0
no sound in mplayer, xine


hey,
i am having a weired problem. i've tried looking online but nothing has helped. i am running slack 10 kernel 2.6.6. i have ALSA and oss compiled with the kernel. i have a nforce2 mobo and iam using the onboard soundcard. the problem i am having is that sound works with xmms. but wont work with xine or mplayer. i get video but no sound. i also installed the nvsound drivers for the mobo from nvidia. there are so many drivers installed i dont know which one linux is using. i've tried selecting oss and ALSA in the control center xmms works fine with either but the video players dont play sound for either, also shouldnt the nforce drivers show up in that list? they dont.
when i run mplayer from the console with ALSA selected in the preferences i get some errors.
Code:
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: soundcard set to hw:0,0
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 512x384 => 512x384 Planar YV12
alsa-control: unable to find simple control 'PCM',0 0%  0%  0.0% 0 0 0%
alsa-control: unable to find simple control 'PCM',0 0%  0%  0.0% 0 0 0%
alsa-control: unable to find simple control 'PCM',0 0%  0%  0.0% 1 0 0%
alsa-control: unable to find simple control 'PCM',0 0%  0%  0.0% 2 0 0%
alsa-control: unable to find simple control 'PCM',0 0%  0%  0.0% 3 0 0%
alsa-control: unable to find simple control 'PCM',0 0%  0%  0.0% 4 0 0%
with oss selected everything is fine, just no sound.

when i run alsaconf it says that it cant detect any pci or isa cards, shouldnt it detect something here?

this is the output for my lsmod
Code:
Module                  Size  Used by
fglrx                 235868  7
nvidia_agp              6236  1
nvnet                  71396  0
nvsound              1540680  0
agpgart                28588  2 nvidia_agp
this is the output of dmesg
Code:
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
PCI: Setting latency timer of device 0000:00:04.0 to 64
eth0: forcedeth.c: subsystem: 01043:80a7 bound to 0000:00:04.0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
Code:
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
can't register device seq
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 49440 usecs
intel8x0: clocking to 47463
usbcore: registered new driver snd-usb-audio
ALSA device list:
  #0: Dummy 1
  #1: NVidia nForce2 at 0xe6002000, irq 20
oprofile: using NMI interrupt.
Code:
nvsound: module license 'unspecified' taints kernel.
Nvsound: Nvidia Audio Init Module, 21:28:23 Oct  5 2004 version 1.0-0
thanks in advance
 
Old 10-14-2004, 01:51 AM   #2
slano
Member
 
Registered: May 2003
Distribution: slack,gentoo
Posts: 57

Rep: Reputation: 16
maybe you have allready tried this but maybe not
Code:
mplayer movie.abvi -ao alsa1x
 
Old 10-14-2004, 02:05 AM   #3
maul
LQ Newbie
 
Registered: Oct 2004
Location: New York
Distribution: Slackware 10
Posts: 18

Original Poster
Rep: Reputation: 0
hi,
thanks for the quick reply. no i hadent tried that, dont know what that command does either.

i tried mplayer movie.abvi -ao alsa1x and this was the output.

Code:
MPlayer dev-CVS-041012-04:00-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2005 MHz (Family: 6, Stepping: 1)
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

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: No such device (it should be readable by the user.)
Using nanosleep() timing
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing /mnt/win_c/TOS Season 1/tos - s01e00 - the cage.avi.
AVI file format detected.
VIDEO:  [DIV3]  640x480  24bpp  23.976 fps  1421.1 kbps (173.5 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
audio_out: alsa9 and alsa1x modules were removed, use -ao alsa instead.
mplayer movie.abvi -ao alsa...produced this output.

Code:
MPlayer dev-CVS-041012-04:00-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2005 MHz (Family: 6, Stepping: 1)
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

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: No such device (it should be readable by the user.)
Using nanosleep() timing
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing /mnt/win_c/TOS Season 1/tos - s01e00 - the cage.avi.
AVI file format detected.
VIDEO:  [DIV3]  640x480  24bpp  23.976 fps  1421.1 kbps (173.5 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)


MPlayer interrupted by signal 6 in module: flip_page
- 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.
Xlib: unexpected async reply (sequence 0x5a)!
alsa-uninit: pcm closed
i dunno what causes those errors.....HELP!
 
Old 10-14-2004, 11:13 AM   #4
maul
LQ Newbie
 
Registered: Oct 2004
Location: New York
Distribution: Slackware 10
Posts: 18

Original Poster
Rep: Reputation: 0
bump....anybody?
 
Old 10-14-2004, 12:30 PM   #5
maul
LQ Newbie
 
Registered: Oct 2004
Location: New York
Distribution: Slackware 10
Posts: 18

Original Poster
Rep: Reputation: 0
should this be moved to another forum? moderators?
 
Old 10-14-2004, 01:55 PM   #6
maul
LQ Newbie
 
Registered: Oct 2004
Location: New York
Distribution: Slackware 10
Posts: 18

Original Poster
Rep: Reputation: 0
bump
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sound but no video with xine, mplayer imix Linux - Software 10 06-09-2005 11:18 AM
Sound works perfect (incl Xine and Mplayer) but not in Totem elluva Linux - Software 0 02-05-2005 04:48 PM
xine vs mplayer theonebeyond Linux - Software 5 12-05-2004 12:07 PM
fast sound and video playback (xmms, xine, mplayer) budhusa Linux - Software 8 01-13-2004 01:50 AM
RH 9 Soundcard detected; sound w/ xine, mplayer; none w/ xmms, cd player johnsandidge Linux - Newbie 0 08-09-2003 08:42 PM

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

All times are GMT -5. The time now is 05:55 PM.

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