![](https://seccdn.libravatar.org/avatar/cf2326486dff2c8e85fd7f7ed8129e07.jpg?s=120&d=mm&r=g)
Hi. I have a MP3 that refuses to play without sounding like a sawmill with a dual shipment of statics. It is a recording from a shoutcast radiostation, and it used to play perfectly. Somewhere either XMMS or the file got fouled up. I CAN play it in mpg321 witout problems. I CAN play it in Amarok and it sounds a-ok. But NOT in XMMS. Neither does it play if i convert it to wav. Same static. Is there a way of recoding the file? To write a true clean mp3 again? Kind of resample it. :) Bitrate 63 kbps <-- This might be a problem, but i am not sure Length 43:30 Sample Rate 11075 Hz Channels 2 Version MPEG 2.5 Layer 3 Copyright No Original No
![](https://seccdn.libravatar.org/avatar/a3f407f629d2772260bc67c180aac522.jpg?s=120&d=mm&r=g)
On Saturday 13 August 2005 09:07, Rikard Johnels wrote:
Hi. I have a MP3 that refuses to play without sounding like a sawmill with a dual shipment of statics. It is a recording from a shoutcast radiostation, and it used to play perfectly. Somewhere either XMMS or the file got fouled up. I CAN play it in mpg321 witout problems. I CAN play it in Amarok and it sounds a-ok. But NOT in XMMS. Neither does it play if i convert it to wav. Same static.
Is there a way of recoding the file? To write a true clean mp3 again? Kind of resample it. :)
Bitrate 63 kbps <-- This might be a problem, but i am not sure Length 43:30 Sample Rate 11075 Hz Channels 2 Version MPEG 2.5 Layer 3 Copyright No Original No
You want lame lame --decode filename.mp3 filename.wav lame -b 64 filename.wav filename-64.mp3 -b 64 is the bit rate so you might want 128 or even 256
![](https://seccdn.libravatar.org/avatar/cf2326486dff2c8e85fd7f7ed8129e07.jpg?s=120&d=mm&r=g)
On Saturday 13 August 2005 17.22, Dave Chapman wrote:
On Saturday 13 August 2005 09:07, Rikard Johnels wrote:
Hi. I have a MP3 that refuses to play without sounding like a sawmill with a dual shipment of statics. It is a recording from a shoutcast radiostation, and it used to play perfectly. Somewhere either XMMS or the file got fouled up. I CAN play it in mpg321 witout problems. I CAN play it in Amarok and it sounds a-ok. But NOT in XMMS. Neither does it play if i convert it to wav. Same static.
Is there a way of recoding the file? To write a true clean mp3 again? Kind of resample it. :)
Bitrate 63 kbps <-- This might be a problem, but i am not sure Length 43:30 Sample Rate 11075 Hz Channels 2 Version MPEG 2.5 Layer 3 Copyright No Original No
You want lame
lame --decode filename.mp3 filename.wav lame -b 64 filename.wav filename-64.mp3
-b 64 is the bit rate so you might want 128 or even 256
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
That result is even worse. The WAV is unplayable! rikjoh@sparhawk:~/Mp3> lame --decode file.mp3 foo.wav ID3v2 found. Be aware that the ID3 tag is currently lost when transcoding. input: file.mp3 (11.025 kHz, 2 channels, MPEG-2.5 Layer III) output: foo.wav (16 bit, Microsoft WAVE) skipping initial 1105 samples (encoder+decoder delay) Frame# 25078/25078 8 kbps MS rikjoh@sparhawk:~/Mp3> lame -b 128 foo.wav Bartman.mp3 LAME version 3.96.1 (http://lame.sourceforge.net/) CPU features: MMX (ASM used), SSE Using polyphase lowpass filter, transition band: 5379 Hz - 5512 Hz Encoding foo.wav to Bartman.mp3 Encoding as 11.025 kHz 128 kbps j-stereo MPEG-2.5 Layer III (2.8x) qval=3 Frame | CPU time/estim | REAL time/estim | play/CPU | ETA 25075/25078 (100%)| 1:37/ 1:37| 2:08/ 2:08| 13.432x| 0:00 average: 128.0 kbps LR: 112 (0.4466%) MS: 24968 (99.55%) Writing LAME Tag...done ReplayGain: -11.3dB rikjoh@sparhawk:~/Mp3> Tried "sox bart.mp3 foo.wav" but the file is not playable (No sound) rikjoh@sparhawk:~/Mp3> sox: Do not support MPEG audio (layer I, III or III) with 32-bit data. Forcing to Signed. rikjoh@sparhawk:~/Mp3> file foo.wav foo.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, stereo 11025 Hz rikjoh@sparhawk:~/Mp3> lame -b 128 foo.wav foo-64.mp3 LAME version 3.96.1 (http://lame.sourceforge.net/) CPU features: MMX (ASM used), SSE Using polyphase lowpass filter, transition band: 5379 Hz - 5512 Hz Encoding foo.wav to foo-64.mp3 Encoding as 11.025 kHz 128 kbps j-stereo MPEG-2.5 Layer III (2.8x) qval=3 Frame | CPU time/estim | REAL time/estim | play/CPU | ETA It is also unplayable in XMMS rikjoh@sparhawk:~/Mp3> mpg321 foo-64.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. Version 0.59q (2002/03/23). Written and copyrights by Joe Drew. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Playing MPEG stream from foo-64.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 11025 Hz joint-stereo This works fine! It plays as supposed. Why cant XMMS play it? Isnt the decoder equivalent? Why is the WAV unplayable? It IS detected as a WAV by several different programs and ways... But XMMS chirps, burps and chitters instead of playing the track. I am at a real standstill here! (Probably too tired...)
participants (2)
-
Dave Chapman
-
Rikard Johnels