Closed feross closed 9 years ago
@jakefb, can you provide the file in question to @jhiesey via email? Otherwise, we'll have to close this issue for lack of sufficient information to debug.
I emailed @jhiesey a link to the file a few days ago. Maybe he didn't get it?
I looked back through my mail and ended up finding it. I'll take a look soon.
@jakefb I figured out what's wrong. That file is slightly malformed according to the spec, and while many players are perfectly happy to play it, mp4box.js chokes and fails.
Unfortunately it might be fairly tricky to fix this elegantly due to the design of mp4box.js. I'll try to think if there's an easier solution to this problem.
@jakefb, as a workaround, you can fix the file so it plays by editing a few bytes with a hex editor. Change the four bytes at offsets 0x17b
, 0x1d7
, 0xde47
, and 0xdea3
from 0x72
(which is the letter 'r' in ascii) to 0x0
and it should work.
OK I have a better solution. Fixed by this commit: https://github.com/jhiesey/mp4box.js/commit/414178f55e645039ac97ca1d159f7f8cdaa4c146
Moving this issue from https://github.com/feross/instant.io/issues/46 for @jakefb.
I dragged a 600 MB mp4 file onto the page