Export to GitHub

mp4v2 - issue #119

Detecting invalid files


Posted on Aug 29, 2011 by Grumpy Dog

How do I determine if the file I've opened is supported? If I open quicktime .mov files the library seems to have issues. For example, see the warnings spit out below from the library:

This is a .mov file that came with the book on Aperture that I purchased. It's one of their example files.

ReadChildAtoms: "Bella.mov": In avc1 atom, extra 4 bytes at end of atom ReadAtom: "Bella.mov": invalid atom size, extends outside parent atom - skipping to end of "meta" "" 1792965225 vs 41553554 ReadAtom: "Bella.mov": atom type is suspect ReadChildAtoms: "Bella.mov": In atom meta missing child atom hdlr ReadChildAtoms: "Bella.mov": In atom meta missing child atom ilst

Comment #1

Posted on Sep 5, 2011 by Happy Lion

Are they just warnings, or is the library failing to open the file entirely? If they're just warnings then I think they can be ignored (there's a lot of spec-smash between MP4 and MOV files, since they're defined by an ISO spec and the QTFF, respectively) so long as you can still work with the file the way you need to. If you can attach the file, or send it to me, I can try and track down why stuff is wrong.

Status: Accepted

Labels:
Type-Defect Priority-Medium