-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for QuickTime #133
Fix for QuickTime #133
Conversation
Oh awesome, thanks for working on this! I finally had a chance to try this with a batch of some .MOV files from the same dataset; however I still see the errors:
I see it quite a bit on various files (they're from a personal camera roll though so I'm not sure I can share them, regrettably) -- the If it'd be helpful I'll try to look closer to see if we can send you at least one of the video files privately, but it's family media so I'd have to ask our family members. If there's any other way I can help, or questions I can answer, please let me know! 👍 |
@mholt I thought that this issue is related to only old QuickTime atom. For example, my .mov file has "ftyp" (File Type) box containing "qt " ("qt" + double spaces) as major/compatible brand as follows: I could not find any MP4 file occurring this error other than QuickTime's output. I have two questions.
You can see brand codes by mp4tool(this project) or mp4dump(Bento4) like following commands.
|
I love mp4tool btw, I already have it installed :)
iPhone camera (iPhone 13 mini)
Running mp4tool on one of the video fields yields this output:
The error message for this particular file was It is interesting that I don't get this error message when running |
Oh, I wonder why...
|
Oh! That did it:
I'm not sure why the error wasn't appearing earlier tonight. I know I didn't run that Does that mean it's able to extract metadata it wasn't able to before? After re-running my program now too, I don't see the error anymore. I'm not sure why it apparently compiled with the old/main branch before, even though I did go back and confirm I first ran Processed about 30,000 files now and I don't see any instances of "box size" so that's a good sign. 👍 |
@mholt
Yes. But there are some things to note. I have not found official information about 4 bytes padding of Apple .mov file yet. And this implementation do not keep those bytes. |
Gotcha. That's OK for my use case since I'm just reading files, not writing. Thanks again for the patch! |
#132
Fix not to return error when QuickTime atom has padding bytes.