brianchirls / Seriously.js

A real-time, node-based video effects compositor for the web built with HTML5, Javascript and WebGL
MIT License
3.87k stars 354 forks source link

Blending Two Live Video Feeds #139

Closed km147 closed 7 years ago

km147 commented 7 years ago

Hi Brian, we are using your code here extensivley and looking to blend two live video streams, meaning that when a camera switch takes place the 1st stream is not closed immediatly but say 500ms later as the second streams comes into play.

But we notice that the switching camera function regardless of the effect in place, effectively creates an immediate closure of one stream and the creation of the second.

Am I therefore correct to assume that say two live videos would need to be presented as a canvas/layer each of their own and then we apply our own effect, or am I missing something.

Appreciate being pushed in the right direction

rgds n thanks so much for yr efforts. Shawn

km147 commented 7 years ago

Oops Sorry, discovered the demo here, http://brianchirls.github.io/Seriously.js/examples/blur/whip.html