HTML5 generating video from images

后端 未结 3 1002
温柔的废话
温柔的废话 2021-02-02 03:41

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\'r

3条回答
  •  鱼传尺愫
    2021-02-02 04:20

    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.

提交回复
热议问题