Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Recording
  • Assigned To No-one
  • Operating System Archos Recorder
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by MarkusJ - 2011-02-04
Last edited by nls - 2011-02-12

FS#11921 - Corrupted files with Archos Recorder 20 v1

Device: Archos Recorder 20 v1
SW Version: Daily Build from January 30th 2011

When recording from Line In sometimes the mp3 files are corrupted. See output from MP3Utility:

——————8←—————–8←—————–8←—————–

Processing: test.mp3

Error: Sync error reading frame header 89,784 expected at byte 49,930,980. Approx. time: 39:15 (53.8% through audio).
Previous valid frame header located at byte 49,930,458.
Resync successful - Frame header 89,784 found at byte 57,952,742.
Frame 89,783 (bytes 49,930,458 - 57,952,741) long by 8,021,762 bytes (expected 522 bytes, found 8,022,284 bytes).

Error: Sync error reading frame header 89,785 expected at byte 57,953,473. Approx. time: 45:34 (62.5% through audio).
Previous valid frame header located at byte 57,952,742.
Resync successful - Frame header 89,785 found at byte 63,100,169.
Frame 89,784 (bytes 57,952,742 - 63,100,168) long by 5,146,696 bytes (expected 731 bytes, found 5,147,427 bytes).

Error: Sync error reading frame header 89,786 expected at byte 63,100,900. Approx. time: 49:37 (68.0% through audio).
Previous valid frame header located at byte 63,100,169.
Resync successful - Frame header 89,786 found at byte 65,408,153.
Frame 89,785 (bytes 63,100,169 - 65,408,152) long by 2,307,253 bytes (expected 731 bytes, found 2,307,984 bytes).

Error: Sync error reading frame header 89,787 expected at byte 65,408,335. Approx. time: 51:26 (70.5% through audio).
Previous valid frame header located at byte 65,408,153.
Resync successful - Frame header 89,787 found at byte 78,804,848.
Frame 89,786 (bytes 65,408,153 - 78,804,847) long by 13,396,513 bytes (expected 182 bytes, found 13,396,695 bytes).

Error: Sync error reading frame header 89,788 expected at byte 78,805,030. Approx. time: 61:58 (85.0% through audio).
Previous valid frame header located at byte 78,804,848.
Resync successful - Frame header 89,788 found at byte 79,381,742.
Frame 89,787 (bytes 78,804,848 - 79,381,741) long by 576,712 bytes (expected 182 bytes, found 576,894 bytes).

Error: Sync error reading frame header 89,789 expected at byte 79,381,924. Approx. time: 62:25 (85.6% through audio).
Previous valid frame header located at byte 79,381,742.
Resync successful - Frame header 89,789 found at byte 80,800,502.
Frame 89,788 (bytes 79,381,742 - 80,800,501) long by 1,418,578 bytes (expected 182 bytes, found 1,418,760 bytes).

Error: Sync error reading frame header 89,790 expected at byte 80,801,233. Approx. time: 63:32 (87.1% through audio).
Previous valid frame header located at byte 80,800,502.
Resync successful - Frame header 89,790 found at byte 81,766,698.
Frame 89,789 (bytes 80,800,502 - 81,766,697) long by 965,465 bytes (expected 731 bytes, found 966,196 bytes).

Error: Sync error reading frame header 89,791 expected at byte 81,766,907. Approx. time: 64:17 (88.2% through audio).
Previous valid frame header located at byte 81,766,698.
Resync successful - Frame header 89,791 found at byte 87,149,606.
Frame 89,790 (bytes 81,766,698 - 87,149,605) long by 5,382,699 bytes (expected 209 bytes, found 5,382,908 bytes).

Error: Sync error reading frame header 89,792 expected at byte 87,150,337. Approx. time: 68:31 (94.0% through audio).
Previous valid frame header located at byte 87,149,606.
Resync successful - Frame header 89,792 found at byte 89,280,730.
Frame 89,791 (bytes 87,149,606 - 89,280,729) long by 2,130,393 bytes (expected 731 bytes, found 2,131,124 bytes).

Error: Sync error reading frame header 89,793 expected at byte 89,281,095. Approx. time: 70:12 (96.3% through audio).
Previous valid frame header located at byte 89,280,730.
Resync failed (reached end of file).

Summary: 89,792 total frames processed (1 padded, 89,791 unpadded). Bitrate is VARIABLE.

Closed by  nls
2011-02-12 09:50
Reason for closing:  Not a Bug
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

This is a hardware bug listed in docs/KNOWN_ISSUES.

It’s been a long time, but I recall some problem with the MAS hardware encoder that causes corrupt VBR headers. Have you tried running the VBRFix plugin on such recordings?

Have a look around http://www.rockbox.org/mail/archive/rockbox-archive-2009-02/0041.shtml too.

There is a hardware bug in the MAS hardware encoder. This old mailing list thread has some info on it: http://www.rockbox.org/mail/archive/rockbox-archive-2005-11/index.shtml#8 It’s not just the frame headers, but a bit shift of all subsequent data after a glitch. This isn’t rockbox specific, not even archos specific. It could be worked around, but the workaround mentioned in the thread is still not in place. It’s not something simple. Bluechip wrote a fixer utility for this type of broken recordings, see this mailing list thread: http://www.rockbox.org/mail/archive/rockbox-archive-2006-01/index.shtml#305 Note that I never tried it, so ymmv.

Thanks for the comments.

The fixer utility from Bluechip seems to work. But I would be happy if the firmware could be patched to work like the original Archos firmware:
“It tracks the frames of incoming mp3 data. In case of a mismatch the MAS gets restarted. Results in a minor glitch in the recording, but will hardly get noticed, as rare as it happens.” (Source: Message from LinusN http://www.rockbox.org/mail/archive/rockbox-archive-2005-11/0012.shtml )

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing