LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mplayer no sound(after upgrading X) (https://www.linuxquestions.org/questions/linux-software-2/mplayer-no-sound-after-upgrading-x-153136/)

rmanocha 03-03-2004 03:15 PM

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

tk31337 03-03-2004 04:24 PM

"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".

rmanocha 03-03-2004 04:28 PM

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.

tk31337 03-04-2004 02:24 AM

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).

guygriffiths 03-04-2004 07:28 AM

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.

rmanocha 03-04-2004 09:23 AM

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

guygriffiths 03-04-2004 09:57 AM

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/


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