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



Rockbox mail archive

Subject: Re: Trimming an MP3 file

Re: Trimming an MP3 file

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sat, 21 Jun 2003 01:09:17 +0200

Johan Vromans wrote:
> So I did. Removed two frames from the start. And this is what I get:
>
> Time: | | | | | (tick = 50ms)
> Original: ----------abcdefghijklmnopqrstuvwzyz......
> New: ------+hijklmnopqrstuvwzyz......
>
> There are 50ms gone, but not the first.

How is the file encoded? Is it VBR or CBR? What samplerate/bitrate?

If you use 44100kHz, each frame is about 26 milliseconds. It looks like
the first frame in your new stream is muted by the MP3 decoder, probably
because it contains data that depends on the previous frame (the bit
reservoir) that you cut out. Which decoder do you use?

Linus
Received on 2003-06-21

Page was last modified "Mon Nov 16 10:57:21 2020" The Rockbox Crew -- Privacy Policy