Is it possible to grab the content of the HTML 5 Canvas element to a video programatically?
- What I'm looking for is any API/library which helps to capture the HTML 5 animation running in the canvas element and convert it into a video?
- Also the audio too should be captured in the output video.
OR
Alternative approach: Say I have a GWT (Java code) which does some mathematical calculations and renders animation onto a CanvasElement. Is it possible to render a video instead of outputting开发者_如何学编程 the animation to the CanvasElement? Again the audio should be captured as well.
HTML 5 Video example: http://www.craftymind.com/factory/html5video/CanvasVideo.html
Check how some programs sample youtube videos. Also, have a look at this answer: Video capture in HTML 5
精彩评论