LinuxQuestions.org
Help answer threads with 0 replies.
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 03-03-2004, 03:15 PM   #1
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
mplayer no sound(after upgrading X)


hi,
I have recently upgraded my X version from 4.2 to 4.3 and for some reason my sound does not work with mplayer.It used to work just fine before.It still works fine with gaim and xmms etc. but there is no sound in mplayer.the error message i get is:
Code:
MPEG-PS file format detected.
VIDEO:  MPEG1  320x240  (aspect 1)  29.970 fps  1196.4 kbps (149.6 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 4000->176400 (32.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
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 - 320 x 240 (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.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: no soundcards found: Success
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
I can see the video but no sound.
I am running kernel version 2.4.24 on a debian sid machine.
i run mplayer with the following parameters:
mplayer -vo xv [filename]
i have tried this with .mpg,.avi,.asf and also with .mp3 and all give the same error.
i am running mplayer version
Code:
mplayer-686    1.0-pre3-0.2   The Ultimate Movie Player For Linux
i dont know what could have coused this but if someone could help me...i would really appreciate it.
thanks
 
Old 03-03-2004, 04:24 PM   #2
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
"alsa-init: no soundcards found: Success"

Are you using ALSA output in XMMS, or the standard OSS? It looks like ALSA's not setup with your soundcard. Try changing your audio output plugin using "mplayer -ao oss". You can get a list of all sound systems MPlayer is compiled with by running "mplayer -ao help".
 
Old 03-03-2004, 04:28 PM   #3
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Original Poster
Rep: Reputation: 30
well apparently using mplayer -ao oss made things right.
i have not even touched alsa since i installed debian....and since it does not come statndard in 2.4.x kernels i am sure i am not running alsa for my sound.:
Code:
mpegpes DVB audio output
        oss     OSS/ioctl audio output
        alsa9   ALSA-0.9.x audio output
        arts    aRts audio output
        esd     EsounD audio output
        nas     NAS audio output
        sdl     SDLlib audio output
        null    Null audio output
        pcm     RAW PCM/WAVE file writer audio output
        plugin  Plugin audio output
this is the output from mplayer -ao help
anyways do you have any idea what might have gone wrong here.Sound was working just fine before i upgraded X.
thanks.

Last edited by rmanocha; 03-03-2004 at 04:33 PM.
 
Old 03-04-2004, 02:24 AM   #4
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
No idea, sorry. Sometimes it's better not to ask, and just be glad it works ;-) (Okay, that's never really true, but I'm clueless nonetheless).
 
Old 03-04-2004, 07:28 AM   #5
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
I had a similar problem. When I upgraded X from 4.3.1 to 4.4.0 (ducks flying objects) mplayer switched it's default output plugin to null, rather than alsa.
 
Old 03-04-2004, 09:23 AM   #6
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by guygriffiths
I had a similar problem. When I upgraded X from 4.3.1 to 4.4.0 (ducks flying objects) mplayer switched it's default output plugin to null, rather than alsa.
what is the difference between 4.3 and 4.4?and did you find any debian sources for 4.4?thanks
 
Old 03-04-2004, 09:57 AM   #7
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Well, there are a few differences. The main one that's caused dispute is that the license is not compatible with the GPL, although it's still open source software. For me, the best difference was that the Mesa code has now been linked in with DRM for SiS graphics cards. Although it now locks up, at least it says I have direct rendering/
 
  


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
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
No sound after upgrading to kernel 2.6.8 thiqued Linux - Hardware 2 09-03-2004 10:07 PM
MPlayer / Mplayer Plugin no Sound apjonesy Linux - Software 5 08-06-2004 04:27 AM
sound not working after upgrading sharpie Linux - Hardware 9 07-11-2004 10:44 PM
No sound after upgrading to alsa 1.0.0rc2 bullgates Linux - Hardware 3 12-28-2003 08:43 PM

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

All times are GMT -5. The time now is 11:56 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