Hi I am still battling with sound on my ThinkPad 600 running Xubuntu. I have managed to get some sound and even play MP3 via command line - mpg123 and mplayer. But I cannot get any program to play it. It either doesnt play at all or plays so crackly you cant even hear the music. Is this a hardware limitation or am I doing something wrong? Please help, I am a fairly new Linux user. When using mplayer via command line I noticed that it said 'pulse' is this the audio output engine/settings it is using as under Mixer there is also a mention of Pulse under one of the Output options - along sine OSS and Alsa. Your help would be greatly appreciated.
Simon Royal
--- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal. --- IBM ThinkPad 600 running Xubuntu 10.04 & Apple iBook G3 running OSX 10.4.
_________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
You can use VLC via the command line, right now the exact commands escape me :S
Maybe the answer will be on http://wiki.videolan.org/VLC_command-line_help
James
I am looking for a way of playing them without using command line, if possible.
Simon Royal
--- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal. --- IBM ThinkPad 600 running Xubuntu 10.04 & Apple iBook G3 running OSX 10.4.
----------------------------------------
From: jwbensley@gmail.com Date: Tue, 18 May 2010 20:07:06 +0100 To: main@lists.alug.org.uk Subject: Re: [ALUG] MP3 Plays Only In Command Line
You can use VLC via the command line, right now the exact commands escape me :S
Maybe the answer will be on http://wiki.videolan.org/VLC_command-line_help
-- Regards, James.
http://www.jamesbensley.co.cc/
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
_________________________________________________________________ http://clk.atdmt.com/UKM/go/195013117/direct/01/
On Tue, 18 May 2010 16:51:40 +0100 Simon Royal simonroyal@live.co.uk wrote:
Hi I am still battling with sound on my ThinkPad 600 running Xubuntu. I have managed to get some sound and even play MP3 via command line - mpg123 and mplayer. But I cannot get any program to play it. It either doesnt play at all or plays so crackly you cant even hear the music. Is this a hardware limitation or am I doing something wrong? Please help, I am a fairly new Linux user. When using mplayer via command line I noticed that it said 'pulse' is this the audio output engine/settings it is using as under Mixer there is also a mention of Pulse under one of the Output options - along sine OSS and Alsa. Your help would be greatly appreciated.
Pulse refers to PulseAudio which enables sound from local and remote applications to be mixed together and then output (ALSA dmix can do the local mixing bit).
My suspicion is that with the GUI applications there is more happening and somethimes the MP3 decoder thread doesn't get the CPU often enough to be able to keep up with the output.
Sometimes this can be fixed by:
1. Giving a higher (sometimes even real time) priority to the decoder thread. 2. Having a little more buffering between the decoder and the output - this means there is more time between when the decoder can run (because there is space in the output buffer) and when it must run (because the output buffer is getting empty).
How to configure anything like that would depend on what GUI applications you are using and what media framework they use (e.g gstreamer, xine, vlc).
HTH, Steve.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Simon Royal wrote:
I am still battling with sound on my ThinkPad 600 running Xubuntu. I have managed to get some sound and even play MP3 via command line - mpg123 and mplayer. But I cannot get any program to play it. It either doesnt play at all or plays so crackly you cant even hear the music. Is this a hardware limitation or am I doing something wrong? Please help, I am a fairly new Linux user. When using mplayer via command line I noticed that it said 'pulse' is this the audio output engine/settings it is using as under Mixer there is also a mention of Pulse under one of the Output options - along sine OSS and Alsa. Your help would be greatly appreciated.
The problem could be because your installation is using PulseAudio as the audio layer/mixer. I had a very similar problem on a Mandriva box a few years ago - it was a dual-core 2GHz Athlon, so wasn't exactly puny (at the time), but would play MP3s in short staccato chunks. A look at "top" showed that PulseAudio was sucking 100% of one of the cores just doing that simple task (and, IIRC, mpg123 states it can run happily on a 300MHz P5, or something of that ilk).
I rummaged around and changed the audio layer to use ALSA and it's been perfectly fine since. Have a Google around for "disabling pulseaudio linux" for a few clues as to how this might be done, but I've not tried it on *buntu, so can't comment on exactly how...
Simon
- -- - --------------------------------------------------------------------- Simon Ransome http://nosher.net
Photography RSS feed - http://nosher.net/images/images.rss