fix-webm-duration icon indicating copy to clipboard operation
fix-webm-duration copied to clipboard

Issue Windows Player

Open Didi3333 opened this issue 4 years ago • 6 comments

Hi,

First of all thank you very much for this dev.

I'm faced an issue when i make a record of more than 3 seconds.

On Chrome, and VLC there are no impact but with the classic windows player Movie and TV the video doesn't displayed until the end

Analysing the webm with ffpmeg, it seems there is an error on a data:

image

The emplacement change on different record that i made. I also check with classic recorder without the fix and there is no error detected by FFmpeg.

Have you got an idea ?

Didi3333 avatar Oct 29 '21 14:10 Didi3333

I'll take a look. Also, if you can attach a file example (before the fix), it will help.

yusitnikov avatar Oct 29 '21 15:10 yusitnikov

Hi,

Here the webm without the fix. I put in into a zip due to Github limitation

test_WithoutFix.zip

Regards

Didi3333 avatar Nov 02 '21 07:11 Didi3333

Hi @yusitnikov, had you find time to check the file ?

Didi3333 avatar Nov 08 '21 13:11 Didi3333

Another repro example is: https://nickdesaulniers.github.io/netfix/demo/bufferAll.html (mentioned in the MDN docs).

theipster avatar Dec 28 '21 20:12 theipster

After doing some research, it turns out that in order to implement this properly, the EBML header not only requires the Duration metadata but also requires adjusting the SeekHead and Cues metadata too.

I've got a working version here for reference, but feel free to trace that all the way back to the ts-ebml package's makeMetadataSeekable() function, which is where all the magic happens.

theipster avatar Dec 31 '21 15:12 theipster

hi, has the problem been solved?

jimwong666 avatar Aug 31 '22 05:08 jimwong666