[Libav-user] number of audio samples while demuxing

Nicolas George george at nsup.org
Wed Nov 13 14:23:36 CET 2013

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?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131113/3f8aa5c8/attachment.asc>

More information about the Libav-user mailing list