Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: MP3 file plays in WMP, Songbird but fails to decode with LAME (Read 8260 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

MP3 file plays in WMP, Songbird but fails to decode with LAME

Hi,
I am having trouble decoding an MP3 file encoded as 320kbit CBR, stereo, 44,1kHz. I am using LAME.EXE 32-bits 3.97 on Windows. I would assume the file was corrupt but it plays fine on both Windows Media Player, VLC and Songbird.

Here is the complete output:

.\bin>lame --decode test.mp3 test.wav
bitstream problem: resyncing...
input:  test.mp3
        (32 kHz, 2 channels, MPEG-1 Layer III)
output: test.wav  (16 bit, Microsoft WAVE)
skipping initial 1105 samples (encoder+decoder delay)
Frame#    1/15775  160 kbps  L  R  bitstream problem: resyncing...
Frame#    2/15775  320 kbps        bitstream problem: resyncing...
Frame#    3/15775  192 kbps        bitstream problem: resyncing...
Frame#    4/15775  192 kbps        bitstream problem: resyncing...
Frame#    5/15775  80 kbps  L  R  bitstream problem: resyncing...
Frame#    6/15775  80 kbps  L  R  bitstream problem: resyncing...
Frame#    7/15775  256 kbps  LMSR  bitstream problem: resyncing...
Frame#    8/15775  56 kbps  LMSR  bitstream problem: resyncing...
Frame#    9/15775  224 kbps        bitstream problem: resyncing...
Frame#    10/15775  128 kbps  L  R  bitstream problem: resyncing...
Frame#    11/15775  384 kbps        bitstream problem: resyncing...
Frame#    12/15775  224 kbps  L  R  bitstream problem: resyncing...
Frame#    13/15775  96 kbps        bitstream problem: resyncing...
Frame#    14/15775  160 kbps        bitstream problem: resyncing...
Frame#    15/15775  320 kbps        bitstream problem: resyncing...
Frame#    16/15775  64 kbps        bitstream problem: resyncing...
Frame#    17/15775  160 kbps  L  R  bitstream problem: resyncing...
Frame#    18/15775  160 kbps  L  R  bitstream problem: resyncing...
Frame#    19/15775  56 kbps  LMSR  bitstream problem: resyncing...
Frame#    20/15775  224 kbps  MS  ibitstream problem: resyncing...
Frame#    21/15775  192 kbps  LMSR  ibitstream problem: resyncing...
Frame#    22/15775  192 kbps  L  R  bitstream problem: resyncing...
Frame#    23/15775  64 kbps        bitstream problem: resyncing...
Frame#    24/15775  224 kbps        bitstream problem: resyncing...
Frame#    25/15775  224 kbps        bitstream problem: resyncing...
Frame#    26/15775  320 kbps        bitstream problem: resyncing...
Frame#    27/15775  384 kbps  LMSR  ibitstream problem: resyncing...
Frame#    28/15775  32 kbps        bitstream problem: resyncing...


Any ideas?

Thanks in advance,
Jonas

MP3 file plays in WMP, Songbird but fails to decode with LAME

Reply #1
The decoder sees some sync word, likely to be in ID3v2, maybe some cover art? Did you try lame 3.98.2 too?

MP3 file plays in WMP, Songbird but fails to decode with LAME

Reply #2
Any possibility this is one of those trojans that is a wma file disguised as an mp3?

MP3 file plays in WMP, Songbird but fails to decode with LAME

Reply #3
The decoder sees some sync word, likely to be in ID3v2, maybe some cover art? Did you try lame 3.98.2 too?


Yes, tried the 3.98.2 binary from http://www.rarewares.org and it gives the same output.

I just noticed LAME thinks the input file is 32kHz. According to Songbird and WMP the MP3 has no ID3v2 tag.

MP3 file plays in WMP, Songbird but fails to decode with LAME

Reply #4
Are your sure your test.mp3 is an MP3? Maybe upload the first 4 kilo bytes of that file.

Or, if it indeed is, does it contain some APE tag or other stuff in front of the audio stream?

MP3 file plays in WMP, Songbird but fails to decode with LAME

Reply #5
Are your sure your test.mp3 is an MP3? Maybe upload the first 4 kilo bytes of that file.

Or, if it indeed is, does it contain some APE tag or other stuff in front of the audio stream?

I tried Foobar2000 now and it plays the file and shows the expected file properties. Also if I right-click and choose Utils-> Rebuild MP3 Stream on the file it fixes it so it works with LAME --decode.

My guess is that the file is somehow not standard MP3 and the players are more forgiving than LAME or there is a bug in LAME.

How do I upload a sample of the file?

Uploaded 4kb MP3 in upload forum.

MP3 file plays in WMP, Songbird but fails to decode with LAME

Reply #6
Try running the file through mp3val and see if it can whip it into shape.  It's fixed a lot of questionable mp3's for me.

Bob


MP3 file plays in WMP, Songbird but fails to decode with LAME

Reply #8
The decoder sees some sync word, likely to be in ID3v2, maybe some cover art??


There seems to be no tags at all. Could it be that the LAME header is somehow broken?
BTW, the file is not recognized by EncSpot, with or without "Lame Tag" checked in the options tab.

~~