Rockbox mail archiveSubject: Re: Trimming an MP3 file
Re: Trimming an MP3 file
From: Andreas Stemmer <groovingandi_at_gmx.de>
Date: Sun, 22 Jun 2003 09:37:59 +0200
Am Sun, 22 Jun 2003 01:06:05 +0200 hat Johan Vromans <jvromans_at_squirrel.nl>
> already. My initial approach was: I have this MP3 files with leading
> space, how to get rid of the space. I understand that due to technical
> reasons an MP3 file _always_ must start with space. So I guess that
> the only way to rip a CD with contiguous music is to produce one big
> MP3 file.
A MP3 file doesn't have to start with space, but it normally starts with
space if you encode it as single file. If you split the big MP3 file into
normal tracks _after_ encoding, you get files that don't start or end with
silence. There may be some (inaudible because it's only on the first few
ms) decoding errors because of the bit reservoir if you play them as single
track, but if you play them in the right order, you'll get really seamless
playback with rockbox. The mp3 decoder just reads the mp3 frames from the
memory of your jukebox and doesn't know if there's a file boundary, it just
sees consecuting mp3 frames.
It's not a big deal, just a few extra click during extraction.
Btw. it should be possible to cut away the leading space in existing mp3s,
too, but I have never tried it.
Received on 2003-06-22