Kagami / ffmpeg.js

Port of FFmpeg with Emscripten
Other
3.24k stars 329 forks source link

.mp4 -> .gif without full FFmpeg library #188

Open 1kilogram opened 1 year ago

1kilogram commented 1 year ago

Where can I find a library that will return data from each frame of an .mp4 video that can be converted to jpeg, for example? Or can the video be converted directly to gif-animation (with % quality of .gif image)?

Without using the complete FFmpeg library which is more than 10 mb.

makeding commented 3 months ago

This is a version I built with mp4 -> gif support: https://github.com/ugoira/ffmpeg.js The file size is about 9mb and 1.5mb for gziped