[Mp4-tech] AAC :time duration
Biswajit Biswas
biswas tataelxsi.co.in
Tue Aug 12 19:59:25 EDT 2003
Time duration of an AAC file can be calculated by taking into account the
bitrate and the file length.
Bit rate can be obtained from ADIF header. Time duration in secs =
((filesize_in_bytes)*8)/(bits_per_sec)
Regards
Biswas
-----Original Message-----
From: mp4-tech-bounces lists.mpegif.org
[mailto:mp4-tech-bounces lists.mpegif.org]On Behalf Of Pradeep Sukumaran
Sent: Friday, August 08, 2023 8:10 PM
To: mp4-tech lists.mpegif.org
Cc: Pradeep Sukumaran
Subject: [Mp4-tech] AAC :time duration
Hi,
A query :
I extracted a ADIF AAC stream from a .mp4 file,dumped into an .aac file and
played it back using a mpeg4 AAC decoder.
Is there a way to find out the time duration of the file so that
it can be displayed on the player UI?
In short, can the time duration be determined for a ADIF AAC 'file' like in
.mp3 files?
Thanks in advance
pradeep
More information about the Mp4-tech
mailing list