canvas2video
canvas2video copied to clipboard
save canvas to webm video
Hi,
The library works great when I set the outVideoType to mp4, however the canvas animation I am recording is 1660 x 960 so the mp4 takes quite a long time to create.
When it does create the video it plays perfect and downloads fine.
If I set outVideoType to webm the video renders much much faster and plays in the browser (chrome).
The problem I have is that when I download the video, it's black, however the video element plays fine.
Is there a parameter I am missing when I create the video?
I just use:
const canvas2videoInstance = new Canvas2Video({
canvas: streamInput,
outVideoType: "mp4"
});
because webm video convert to mp4 is too slowly