Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: errors decoding mp3 recorded on Archos Jukebox Recorder 20

Re: errors decoding mp3 recorded on Archos Jukebox Recorder 20

From: Andreas Stemmer <groovingandi_at_gmx.de>
Date: Mon, 23 Nov 2009 08:42:46 +0100

David Byron wrote:
> I just did something a bit silly but I've got my fingers crossed that
> someone can help. I just did some recording using an ancient version of
> rockbox. The info screen on my Archos Jukebox Recorder 20 says version 2.1.
> I should have upgraded first. Or maybe folks here will tell me I should
> have bought a newer mp3 recorder but that's a bit of a different question.

As the Archos jukeboxes and recorders were the first devices supported
by rockbox, version 2.1 was pretty mature in all core functionalities
already.

> In any case, what's done is done and I have an ~65 minute mp3 file that
> plays fine on the device but when I transfer it to my windows machine, I
> can't find a media player to play it all the way through.

You're probably hit by a bug in the hardware, the MAS MP3
encoding/decoding chip of the Archos boxes. Unfortunately, I couldn't
find any reference on the rockbox site about it, so everything I write
is just off my head about discussions on this list about five years ago.

Somebody found out that the MAS produces faulty recordings under certain
circumstances. AFAIR, exceeding the input level limit was one way to
increase the probability of the bug. When the bug happens, the MP3
stream of the recorded data contains a few extra BITS in the wrong
place. This makes all the following data look like garbage, as
everything is shifted a little bit...

> I'm looking for help decoding this file. I grabbed the rockbox source code
> and am looking into building the relevant bits of code for a desktop target.
> No idea if that's feasible or if the Archos hardware is doing the magic
> here. Please let me know if I should move this over to the developers list.

The Archos recorders are devices with hardware decoders, so you won't
find the code necessary to decode your file in the rockbox sources. The
most simple solution in your case would be to play the file on the
recorder and rerecord the audio on your computer. Not nice and not
perfect quality-wise, but easy to do.

It is possible to fix the broken recording however. You need to analyze
the MP3 stream, find the error in the bitstream and remove the
unnecessary bits. Someone (bluechip or Jens Arnold, I don't remember)
started to write a tool to do this automatically. I don't know what
happened to this tool, however...

This is such a strange and uncommon bug, that the classical mp3 fixing
tools don't work here, unfortunately.

HTH,
Andreas
-------------------------------------------------------------------
Unsubscribe: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ: http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette: http://www.rockbox.org/mail/etiquette.html
Received on 2009-11-23

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy