GET STARTED
GET STARTED
Using HTML5 Canvas to capture frames from a video

Using HTML5 Canvas to capture frames from a video

HTML5 has some interesting capability that allows extracting individual frames from a video source and draw it on a canvas element. The following example quickly shows how to capture a frame from a video and attach it to the DOM as an HTML5 canvas. To run this example please use FireFox 3.5 or a WebKit based browser.


Once you have captured an image click on it to see the base64 encoded version on a separate window.


Javascript code:

HTML Code: 

0 Comments
Add Comment
UPPER HEADLINE

Mobile

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

COMPANY
PRODUCT
LEGAL

© 2024 Appcropolis, LLC

Your cart is empty Continue
Shopping Cart
Subtotal:
Discount 
Discount 
View Details
- +
Sold Out