I am trying to convert a streaming MP3 file to a wav file for editing in 
Audacity. The mp3 stream was caught by XMMS with the MPEG Layer 1/2/3 plugin. 
XMMS and Noatun play it prefectly, so I bet that I can convert it to a wav 
file somehow.

I have tried lame, bladeenc, and mpg123 to try to either output it as a wav, 
raw, or standard output (so I could pipe it back to an encoder to rebuild the 
mp3 into something converable).

Here is the output from lame showing the problem it is having with the 
bitstream, variable frequency, and the number of channels. 

Any ideas?

$ lame --decode incoming/KEXPraw.mp3
input:  incoming/KEXPraw.mp3  (48 kHz, 2 channels, MPEG-1 Layer III)
output: incoming/KEXPraw.mp3.wav  (16 bit, Microsoft WAVE)
skipping initial 1105 samples (encoder+decoder delay)
Frame#     1/289994 452 kbps         bitstream problem: resyncing...
Frame#     2/289994 356 kbps  L  R   bitstream problem: resyncing...
Frame#     3/289994 452 kbps         bitstream problem: resyncing...
Frame#     4/289994 388 kbps         bitstream problem: resyncing...
Frame#     5/289994 448 kbps         bitstream problem: resyncing...
Frame#     6/289994 128 kbps  LMSR  ibitstream problem: resyncing...
Frame#     7/289994 416 kbps         bitstream problem: resyncing...
Error: sample frequency has changed in MP3 file - not supported
Frame#     8/289994 160 kbps         bitstream problem: resyncing...
.
.
.
Frame#   137/289994 193 kbps         bitstream problem: resyncing...
Error: number of channels has changed in MP3 file - not supported
Error: sample frequency has changed in MP3 file - not supported
Frame#   138/289994 299 kbps         fatal error.  MAXFRAMESIZE not large 
enough.
Segmentation fault

-- 

Linux: For the people, by the people.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to