vstinner / hachoir

Hachoir is a Python library to view and edit a binary stream field by field
http://hachoir.readthedocs.io/
GNU General Public License v2.0
613 stars 70 forks source link

Extracting MP4File metadata seems to load the entire file #80

Open veqtor opened 2 years ago

veqtor commented 2 years ago

When extracting simple info like width and height from an MP4File hachoir seems to first parse out the entire file before yielding the info. Dimensions and probably duration too, should be easily accessible at the start of the file.