![]() While it's super useful in some cases, if you have the file on disk already, you better do gifify movie.mp4 -o out.gif or gifify(filePath, opts).pipe(writableStream). Gifify supports streams both on command line ( cat movie.mp4 | gifify -o out.gif) and in the programmatic API ( gifify(readableStream, opts).pipe(writableStream)). You can also pass a readable stream to gifify(stream, opts). Var output = path.join(_dirname, 'movie.gif') Var input = path.join(_dirname, 'movie.mp4') no-loop Will show every frame once without looping ![]() to End position, hh:mm:ss or seconds, defaults to end of movie text Add some text at the bottom of the movie subtitles Subtitle filepath to burn to the GIF resize Resize output, use -1 when specifying only width or height. o, -output Output file, defaults to stdout from Start position, hh:mm:ss or seconds, defaults to 0 compress Compression (quality) level, from 0 (no compression) to 100, defaults to 40 colors Number of colors, up to 255, defaults to 80 You can also use the gifify Docker image which comes with everything installed. pornel/giflossy, it's a gifsicle fork (waiting for gifsicle#16 to be merged) ( $ brew install giflossy).convert, the famous ImageMagick ( $ brew install imagemagick).FFmpeg □□□□ ( $ brew install ffmpeg).fast! Extracting a 5-second GIF from the middle of a 2-hour movie takes less than 20 seconds.no temp files used, everything happens in memory.lots of options: movie speed, fps, colors, compression, resize, reverse, from & to, subtitles.optimized! uses pornel/giflossy to generate light GIFS.programmatic JavaScript ( Node.JS) stream interface.This screencast was recorded with lolilolicon/FFcast then converted to a GIF with: gifify screencast.mkv -o screencast.gif -resize 800:-1 ![]() Either in its full length or only a part of it. I am no more using this project or providing any support to it, if you want to maintain it, ping me here: project was created 4 years ago, there might be better ways to turn a video into a GIF now, use google!Ĭonvert any video file to an optimized animated GIF.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |