Re: encode/decode silence

Thomas Orgis <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <[email protected]>
Am Wed, 25 Sep 2013 13:27:25 -0700
schrieb Michael Winter <[email protected]>: 

> How do I calculate the number of samples of silence in the encoding and decoding process so I can trim accordingly.

Are you talking about the padding the encoder adds? That is recorded in
the Info frame by Lame; you also need to consider the delay of the
decoder. This is what libmpg123 does to deliver already trimmed output
by default, btw. If someone stepped up to help marrying lame with the
current version of libmpg123 (there's a fork of mpg123 code in use,
with some additions specific for Lame), you could get that
functionality directly from libmp3lame.


Alrighty then,

Thomas

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk

_______________________________________________
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.