[Libav-user] number of audio samples while demuxing

Nisar Ahmed nisar.med at gmail.com
Wed Nov 13 14:28:19 CET 2013


Most of the time it will be LPCM but it can be AAC as well.

Thanks


On Wed, Nov 13, 2013 at 6:23 PM, Nicolas George <george at nsup.org> wrote:

> Le tridi 23 brumaire, an CCXXII, Nisar Ahmed a écrit :
> > While demuxing a QuickTime movie the number of audio samples returned by
> > the av_read_frame is always 1024 per channel, is it possible to increase
> > this number to higher value such as 1920 or 48000?
>
> av_read_frame() does not normally read samples but encoded frames. What is
> the codec in the file you are trying to read? Will it always be the same?
>
> Regards,
>
> --
>   Nicolas George
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131113/646c83a2/attachment.html>


More information about the Libav-user mailing list