Hi,
For Layer 1 it is 384 samples per frame I guess, which is neways obsolete now :)
For AAC HE I think it is 1024 samples per frame. (1024 * sample_width
* channels.)
You can refer gst-plugins-bad-0.10.8/ext/faad/gstfaad.c
Ved
On Wed, Dec 24, 2008 at 11:49 AM, Michael Smith wrote:
> On Tue, D
On Tue, Dec 23, 2008 at 9:22 PM, Sameer Naik
wrote:
> Thanks a lot Mike, thats just what i needed to know.
>
> to confirm, the samples_per_frame for mp3 frames can be either 1152 or 576. So
> basically a buffer of (1152 * width * channels) size should handle all (mpeg1,
> layer{1,2,3}) cases, righ
Thanks a lot Mike, thats just what i needed to know.
to confirm, the samples_per_frame for mp3 frames can be either 1152 or 576. So
basically a buffer of (1152 * width * channels) size should handle all (mpeg1,
layer{1,2,3}) cases, right!
Secondly, how would the buffer size calculation go for
On Tue, Dec 23, 2008 at 9:12 AM, Sameer Naik
wrote:
> Hi,
> I am writing a gstreamer plugin in which i need to calculate the raw audio
> buffer size for a give sample rate, channels, etc.
>
> for example if i have a mp3 frame with the following parameters:
> bitrate:320Kbp