bbc / VideoContext

An experimental HTML5 & WebGL video composition and rendering API.
http://bbc.github.io/VideoContext/
Apache License 2.0
1.33k stars 157 forks source link

Videonode - Clip skips a few seconds on first playback but is fine on subsequent plays. #179

Open JohnGrayUoY opened 5 years ago

JohnGrayUoY commented 5 years ago

Hi,

I am finding that when I sequence two videos nodes which are played on after the other, the first time the second node is played, it seems to skip into the footage (missing around the first two seconds) rather than starting at the first frame. Then, once the end of the clip is reached, the playback freezes for a couple of seconds, which seems to be related to the playback at the start being missed. The clip freezes until the missed seconds seem to be made up, at which point it sequences and plays the next clip

If I scrub the playhead of the video backwards and allow the same section to play it then the issue is not present and everything plays back smoothly without any lost footage.

This leads me to believe it could be related to the loading of the videos but I am unsure if this is the case, and if so, what I could change to possibly improve the issue.

Any advice or suggestions would be great to help try to locate and resolve this issue.

Cheers,

John

germain-gg commented 5 years ago

Hi @JohnGrayDCLabs ,

Would you be able to create a reduced test case in a jsbin or similar highlighting the issue?