October 2020 - Present
As a regular discord user, I really like GIFs picture because it's a very simple. However, most of the time the process creating them are not that easy. First you have to find the video, get the timestamp you wish to clip the video and then convert the video into GIF files. Very likely most of the time you need a lot of different software and the process is not streamlined.
However there is a software called FFmpeg which allows you to do almost everything you want with a video file. But still, FFmpeg is a command line software and there is not much GUI you can use unless you install from somewhere. So, I got an idea to try use FFmpeg on web via WebAssembly with ffmpeg.wasm. Taking advantage of web platform which you don't need to pre install anything to use.
The first version of the app allows you to finely set timestamp you want via an interactive control panel. There are also other settings such as FPS, speed, scale to fine tune the output file (most cases gif files are very big so reducing scale/fps can help with this). It's mostly usable in itself, but there is a big limitation on the size of input files and speed as the file has to be transferred to worker thread to be used.
However, thanks to suggestion from this comment on github, using WORKERFS is possible which remove the file size limitation and the need to transfer file to worker thread. This has made the app much more versitile (because you can clip video of any size) and much more pleasant to use.
Today, I still actively use this application from time to time when i need a quick gifs.
© 2023 HamP | View Source