Re: lame inserting 0.047 seconds of silence in the beginning of the mp3 file

nick humphrey <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <CAKDOLaihgK0FLm5+afmh8OkGddeaXe02ZhiCo_jcS5K9Kn41ag@mail.gmail.com>
i dont understand. the mp3 file is encoded from a wav source file using
*lame*. what does audacity or mpg123 have to do with it? it seems like
you're suggesting that the silence is normal/intended and that the program
you play it with is supposed to cut out the silence??? or have i
misunderstood?

i run this:
mpg123 --loop 4 funky_drummer_1.mp3

and the silence is there. it doesnt loop smoothly.

from my point of view this seems like a deficiency with lame. or is the
intended behavior of converting a wav file to mp3 to make the resulting mp3
file 0.047 seconds longer than it should be, and that that extra length
should be silence at the beginning of the file?

nick

2012/2/23 Thomas Orgis <[email protected]>

> Am Thu, 23 Feb 2012 16:12:21 +0100
> schrieb nick humphrey <[email protected]>:
>
> > as in which program i use to play the mp3? i open it in audacity
> > 1.3.13-beta and can see the empty space in the waveform. i havent been
> able
> > to find out which decoder it uses.
>
> Hm, I assume it uses libmad. Can you use mpg123 on the command line
> (assuming UNIX-ish system here, or usage of binary from
> http://mpg123.orgis.org/download/win32/) to decode to WAV again?
>
> shell$ mpg123 -w output.wav input.mp3
>
> (you can also specify -e s24  or -e f32 for 24 bit / floating point output)
>
> Giving the Audacity developers a message about this would be a good idea
> --- lame encodes the information about the padding since many years and
> decoders should use that.
>
>
> Alrighty then,
>
> Thomas.
>
> --
> Thomas Orgis - Source Mage GNU/Linux Developer (http://www.sourcemage.org)
> OrgisNetzOrganisation ---)=- http://orgis.org
> GPG public key D446D524: http://thomas.orgis.org/public_key
> Fingerprint: 7236 3885 A742 B736 E0C8 9721 9B4C 52BC D446 D524
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.