gpac / mp4box.js

JavaScript version of GPAC's MP4Box tool
https://gpac.github.io/mp4box.js/
BSD 3-Clause "New" or "Revised" License
1.94k stars 326 forks source link

Error when trying to get info of a h265 encoded video #283

Open tony-halloapp opened 2 years ago

tony-halloapp commented 2 years ago

When trying to get the info from a h265 video, there's an error: [BoxParser] Box of type '' has a size 1751411826 greater than its container size 106

Furthermore, the info of the h265 video is only ready in onReady when the entire file is appended.
The onReady is never fired if only partial chunks of the file is read.

Codec for file: mime: "video/mp4; codecs=\"hvc1.1.6.L93.b0,mp4a.40.2\"; profiles=\"isom,mp42\""

Tested on macos, Chrome browser.

cconcolato commented 2 years ago

Can you share the file? It's hard to help without it.

QFyfffS commented 9 months ago

I have the same problem @cconcolato

davemevans commented 9 months ago

Likely same issue as https://github.com/gpac/mp4box.js/issues/309