yusitnikov / fix-webm-duration

navigator.mediaDevices.getUserMedia + MediaRecorder create WEBM files without duration metadata. This library appends missing metadata section right to the file blob.
MIT License
245 stars 48 forks source link

after fix my buggy blob and download them the video result is breaking before the end. #22

Open AntiKevin opened 2 weeks ago

AntiKevin commented 2 weeks ago

Im using react-webcam that uses MediaRecorder API to record my webcam video, when I try to fix the blob generated with the chunks of react-webcam, the video breaks in a pause or before the end.

image

yusitnikov commented 2 weeks ago

How exactly does it break?

AntiKevin commented 1 week ago

the video stops before the end of the seekbar

grpandi commented 1 week ago

Having same issue. Before ysFixWebmDuration, the video play fully (35 seconds). after ysFixWebmDuration, duration are added with log "[fix-webm-duration] Duration section is missing", but the video plays only 3 seconds.

guillemc commented 6 days ago

I'm having the same problem: if you open the downloaded video with Chrome it displays the correct duration and plays correctly. But if you open the video with the Windows Media Player, it displays the correct duration but plays only for 3 seconds. Opening the video with VLC plays the full video, but the progress bar seems to move in random chunks.

yusitnikov commented 5 days ago

I'm currently working on upgrading the library to something more readable and debuggable, and fixed one bug along the way that might help with this issue too. I'll release it in a week or two, I think. I'll return to this thread after that.