[Query] AAC ADTS with variable bitrate time duration calculation

Piyush Aggarwal piyushaggarwal.geek at gmail.com
Wed Sep 10 11:15:42 PDT 2014


Hi All

I want to know how to calculate exact duration for AAC file with ADTS
format(ie variable bitrate) in a fast way. Right now I am calculating
duration by scanning all the frames before audio starts playing. This
approach takes more time for large filesize and in push mode this approach
is not working properly for even small audio files. So can anyone suggest
me good algorithm/logic to calculate duration for aac file with ADTS format?



Regards
Piyush Aggarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140910/70ae9092/attachment.html>


More information about the gstreamer-devel mailing list