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 Fri, 24 Feb 2012 11:54:46 +0100
schrieb nick humphrey <[email protected]>: 

> the "-e" option should be added to the man pages.

Frick on a stick! I'll have to do that. It is in the output of mpg123
--longhelp, though.

> but really, i have no
> desire to convert from mp3 back to wav, so this doesnt help me much...

Hm, I guess we missed your actual use case, then. Was ist about the
looping using mpg123 to begin with?

> 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!

Oh, joy. Yet again things are messed up by a sound server. Though, I
hope with JACK it would be seamless, too. So the most interesting bug
here for me is that either pulseaudio by design or mpg123's interface
to ... eh, scrap that: Are you using mpg123's pulseaudio interface or
is it via ALSA->pulse?

Try 

	mpg123 -o alsa --loop 4 file.mp3

vs.

	mpg123 -o pulse --loop 4 file.mp3

If using pulse directly fixes things, one can consider "fixing" ubuntu
by changing the order of plugins (making pulse the default, falling
back to ALSA if not available). But then, this still would mean that
the ALSA->pulse bridge is faulty. It should not introduce gaps.


> maybe something to inform users about on the lame homepage...

Well, the general issue of gapless playback could be prominently
featured, with the info Mike just gave. But the playback issue of ALSA
vs. pulse is not related to the encoder at all. We are heading
off-topic for this list now;-)


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.