mengshun / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

Detecting invalid files #119

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by Scott.Gr...@gmail.com on 29 Aug 2011 at 7:34

GoogleCodeExporter commented 9 years ago
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.

Original comment by kid...@gmail.com on 5 Sep 2011 at 6:36