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 | <CAKDOLai32_k82cBexygLmyDbwk1bb8GjYQ9ukw_O=gtTphfq9g@mail.gmail.com> |
the "-e" option should be added to the man pages. but really, i have no desire to convert from mp3 back to wav, so this doesnt help me much... "so your problem is solved by decoding externally for now and in the long term have audacity use libmpg123 (or do the needed work themselves on top of libmad, but I'd prefere them switching;-)." i killed pulse and then looped the mp3 with mpg123, with just ALSA by itself and it looped perfectly =) to kill pulse i did this: shell$ /usr/bin/pulseaudio -k ubuntu 11.10's default sound setup with pulse was the culprit! maybe something to inform users about on the lame homepage... thanks for the help thomas ;) nick 2012/2/24 Thomas Orgis <[email protected]> > Am Thu, 23 Feb 2012 23:12:56 +0100 > schrieb nick humphrey <[email protected]>: > > > shell$ mpg123 --version > > mpg123 1.12.1 > > Good. That one really should work. > > > shell$ mpg123 -w test_again.wav test.mp3 > > Use mpg123 -e s24 -w test_again.wav test.mp3; for maximum similarity to > the input wav. > > > shell$ ls -la > > -rw-rw-r-- 1 nick nick 465496 2012-02-23 22:55 test_again.wav > > -rw-rw-r-- 1 nick nick 39936 2012-02-23 22:53 test.mp3 > > -rw-r--r-- 1 nick nick 698222 2012-02-18 13:39 test.wav > > > > test_again.wav does not have the silence in the beginning. > > I hoped so, and if you include -e s24, it should also have the same > byte-size. > > > "With plain ALSA, I can play MP3 albums ripped from CDs > > that have the tracks seamlessly blended into one another and not notice > > any gap." > > > > i think ubuntu 11.10 uses ALSA under pulse as the default setup, but i > cant > > imagine the audio framework is of any relevance here. > > Oh, you never know;-) Let's please separate the issues here: > > 1. Added silence in the decoded WAV in audacity. We have shown that this > silence does not occur when decoding with mpg123, so your problem is solved > by decoding externally for now and in the long term have audacity use > libmpg123 (or do the needed work themselves on top of libmad, but I'd > prefere them switching;-). > 2. mpg123 --loop is not really smooth loopin'. It is for me, so this is > another thing on your audio setup. I have to re-check if mpg123 is doing > something sub-optimal there (like closing/opening the audio output where it > is not necessary). > > You agree so far? > > > Alrighty then, > > Thomas. > > > ------------------------------------------------------------------------------ > 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/ > _______________________________________________ > Lame-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lame-dev > > ------------------------------------------------------------------------------ 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/