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
Packaging failure when there is additional unused mdat box in the source file #298
Comments
@kqyang I've just run into this in my testing too. I seem to also be seeing this error when using fragmented MP4 files as inputs, even when there is a moov atom at the start of the file. Will try to dig a bit deeper and see if I can put together a test file. |
I looked into the sample video: SampleVideo_1280x720_30mb.mp4:
There is an additional unexpected and unused mdat box. That is what causes the problem. It is unusual and not useful but since the spec does not disallow having unused mdat box, we will fix the problem. @zshenker Let us know if your test failure is caused by the same problem. |
atom_map.txt |
@zshenker It does not look like the same problem. Can you attach a sample file or send it to my email? |
@kqyang Just shared a sample file with you via Google Drive.
|
@zshenker Thanks. So the problem with this file is different but related. There is timecode track in this file, which contains one mdat with 4 bytes of data. We don't recongize timecode track thus the associated mdat is not used. It will be addressed in the same fix. |
Extracted from #107.
System info
Shaka Packager Version: cc778f6-release
Issue and steps to reproduce the problem
Use sample videos from sample-videos.
But when try to do something with the video the error occurs:
The text was updated successfully, but these errors were encountered: