Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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".
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.
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.
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
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/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.