HTML5 generating video from images
24,444
Here we go:
- Article: http://techslides.com/convert-images-to-video-with-javascript
- Demo: http://techslides.com/demos/image-video/create.html (select multiple images at once)
- Code:
[just view the source]
- You can download
.webm
video file
@K3N answer mentions building an encoder. Luckily there is one - https://github.com/antimatter15/whammy - snippet from the article:
You need a video encoder and today I just happened to stumble on Whammy, a real time JavaScript WebM Encoder.
Author by
Display name
Updated on July 09, 2022Comments
-
Display name almost 2 years
i'm wondering, since HTML and with javascript are mesmerizing together, if there is a solution in HTML5 to generate a video-file from many images?
For example, you're able to load a video into a canvas and make it appear as greyscaled video, by manipulating the canvas. However, I would like to know, if there is somewhat a method to generate a video-file out of that greyscaled version. Would make sense, if you want to send the video via whatsapp etc.
Thank you