gpac / mp4box.js

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

Wrong codec information encoded during video creation #384

Open Pensarfeo opened 7 months ago

Pensarfeo commented 7 months ago

Hi, first of all thanks for making this great software!

I have been trying to create a file and later read it with your package. However the codec provided when reading back the file is not the same as the one I used to encode the video.

To create the file I use the code shown here: https://github.com/gpac/mp4box.js/issues/375

I am not actually sure if there is a bug with this package or if it is a browser problem. I have been debugging the problem and it seems like the value of decoderConfig.description is consistent with the value of the codec that this package provides later on. Am I missing something?

the codec I am using is 'avc1.42403d, but the value I am getting is avc1.420332

I am a bit lost, any help would be most welcomed!