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

Wrong smhd box size when parsing audio muxed by Mp4box.js #267

Closed fyuhkust closed 2 years ago

fyuhkust commented 2 years ago

Hi, I was trying to use Mp4box.js to mux a mp4 encoded by webcodecs. It throws this error on the result mp4 muxed by Mp4box.js:

[isom] not enough bytes in box smhd: 0 left, reading 4 (file isomedia/box_code_base.c, line 4799)

I will comeup with a PR to fix this problem.

fyuhkust commented 2 years ago

here is the PR: https://github.com/gpac/mp4box.js/pull/268

cconcolato commented 2 years ago

closed by merging #268