Closed mholt closed 1 year ago
@mholt Thank you for interest in this library and creating this GH issue.
I created MOV file by Apple QuickTime and tried to input the file into mp4tool. And I found same error.
I have investigated the MOV file by hexdump.
In my MOV file, pasp-box is starting at 0xD9D2B and has 0x10 (=16) bytes data. And 4 bytes block following pasp-box is 0x00000000.
ISO/IEC 14496-12 says 0x00000000 of first 4 bytes means "box extends to end of file". However, following 4 bytes 0x00000028 is not box type name, and probably size of stts-box.
So, I think 0x00000000 is padding between boxes.
Sorry, I'm not very familiar with MOV file yet. Please wait for more investigation.
Oh awesome! Thank you for working on this. You know a lot more than me about this :sweat_smile: Let me know if there is any way I can help.
@mholt
Could you try to use fix-qt
branch and confirm its ReadBoxStructure returns no error?
https://github.com/abema/go-mp4/pull/133
Works for me :) Thank you!
Hi, thanks for this great package! I'm using it with pretty good success so far on a side project of mine.
I am starting to test it with .MOV files from an iPhone; I admit I don't know much about video formats, but I suspect these are H.265 encoded.
I encounter this error frequently (with different
size=
values, of course, ranging around various kilobytes):I believe .MOV files are .MP4 files "under the hood" (I think?) -- so I'm just wondering if this is something that this package supports. If so, what can I do to help with a fix?