Closed rlazot closed 2 years ago
we have same error, the duration is not correct
we have same error, the duration is not correct
it is my wrong, video playback time= duration
/ timescale
I'm not sure I understand the issue. Since it's been a while, I'm not sure the issue still exists. Please reopen the issue if it is still a problem.
Hello everyone, first of all thanks for this amazing tool, I have an error using the following demo: https://gpac.github.io/mp4box.js/test/index.html on the server this works fine, but when I download the files and test it on live server in visual studio code, this does not work correctly, and the length of the video is also not correct, which does not allow me to play the mp4 video. I have tried with other videos and the same happens, in the demo https://gpac.github.io/mp4box.js/test/index.html it works correctly but on my server it does not work correctly, apparently the executable or script (mp4box.all.js) in NPM is not updated correctly (https://www.npmjs.com/package/mp4box)
These are the files that I use to do my test: https://github.com/nnalin3/mp4box_testing_files
which are the same as found in: https://github.com/gpac/mp4box.js/tree/master/test
I attach screenshots and console logs files demo_mp4box.log my live server.log .
I get this in the demo example
and on my live server I get different number(you can see, the souce buffer 2 (sound buffer) is empty and the time in source buffer 1 (video buffer) is the same as the demo example but divided by 1000):
Greetings and thanks in advance