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

Thomas Orgis <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <[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
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.