TimeScale field length when mdhd atom version is 1

Frank Lai frank.franklai at gmail.com
Sun Jul 15 16:56:14 UTC 2012


Hi all,

Current mp4 mdhd atom parsing in TagLib, when mdhd verison is 1, Time Scale
field  reading 8 bytes.

But from http://wiki.multimedia.cx/index.php?title=QuickTime_container#mdhdand
FFmpeg source (
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/mov.c#l761),
Time Scale field is always 4-byte.

I don't find a sample file that mdhd atom version is 1, so I am not sure
which is correct. 4-byte or 8-byte?

Best Regards,
Frank Lai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20120716/f690e5c5/attachment.html>


More information about the taglib-devel mailing list