开发者

Is it possible to grab the content of the HTML 5 Canvas element to a video programatically?

  1. 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?
  2. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜