-
Notifications
You must be signed in to change notification settings - Fork 334
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
Failed parsing MP4 file recorded with xiaomi phone #354
Comments
Log from https://gpac.github.io/mp4box.js/test/filereader.html
|
The workaround for my file is as following:
samples can be red now, however BoxParser would still throw the reported error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following video mp4box_issue354.mp4 was recorded with Xiaomi phone and can be played in every player I have tried (chrome, safari, quicktime player, xiaomi players on device) so I believe its a valid example of a common mp4 file. However, trying to parse the video with mp4box v0.5.2 is problematic. I have also tried more Xioami phones with the same result...
Observed issues:
mp4.appendBuffer()
with chunk size 65536, the returned value (next offset to be requested) is the same as thefileStart
. Which ends in infinite loop of "requesting" the very same data over and over.mp4box
:This error seems to be related to #309 and #120 , however I believe there are more things to be resolved:
appendBuffer()
throws error or return different value than the provided buffer.fileStartmp4.onError()
api)The text was updated successfully, but these errors were encountered: