All Projects → lukechilds → Gifgen

lukechilds / Gifgen

Licence: mit
Simple high quality GIF encoding

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Gifgen

Node Sorry
生成表情gif
Stars: ✭ 90 (-77.33%)
Mutual labels:  ffmpeg, gif
Ffmpegcommand
FFmpegCommand适用于Android的FFmpeg命令库,实现了对音视频相关的处理,能够快速的处理音视频,大概功能包括:音视频剪切,音视频转码,音视频解码原始数据,音视频编码,视频转图片或gif,视频添加水印,多画面拼接,音频混音,视频亮度和对比度,音频淡入和淡出效果等
Stars: ✭ 394 (-0.76%)
Mutual labels:  ffmpeg, gif
Vdx
🎞 An intuitive CLI for processing video, powered by FFmpeg
Stars: ✭ 1,356 (+241.56%)
Mutual labels:  ffmpeg, gif
Jvedio
Windows desktop application to manage local video;Support baidu AI, youdao translation;Support FFMPEG video processing;Support multi-database management and statistics;Support skin switching
Stars: ✭ 545 (+37.28%)
Mutual labels:  ffmpeg, gif
Gifine
Quickly record and edit gifs and videos of your desktop
Stars: ✭ 225 (-43.32%)
Mutual labels:  ffmpeg, gif
Gifify
😻 Convert any video file to an optimized animated GIF.
Stars: ✭ 5,792 (+1358.94%)
Mutual labels:  ffmpeg, gif
Ffmpeg Gif Script For Bash
Turn your videos into palette-mapped gifs with this easy script
Stars: ✭ 100 (-74.81%)
Mutual labels:  ffmpeg, gif
Quick Media
media(audio/image/qrcode/markdown/html/svg) support web service (多媒体编辑服务, 酷炫二维码, 音频, 图片, svg, markdown, html渲染服务支持)
Stars: ✭ 612 (+54.16%)
Mutual labels:  ffmpeg, gif
Ffmpegandroid
android端基于FFmpeg实现音频剪切、拼接、转码、编解码;视频剪切、水印、截图、转码、编解码、转Gif动图;音视频合成与分离,配音;音视频解码、同步与播放;FFmpeg本地推流、H264与RTMP实时推流直播;FFmpeg滤镜:素描、色彩平衡、hue、lut、模糊、九宫格等;歌词解析与显示
Stars: ✭ 2,858 (+619.9%)
Mutual labels:  ffmpeg, gif
Giph
simple gif recorder
Stars: ✭ 193 (-51.39%)
Mutual labels:  ffmpeg, gif
Gifserver
A server for transcoding gif to video on the fly
Stars: ✭ 100 (-74.81%)
Mutual labels:  ffmpeg, gif
tube2gif
Search and Generate Gif from Youtube
Stars: ✭ 21 (-94.71%)
Mutual labels:  ffmpeg, gif
Kotlinffmpeg
Examples of using FFMpeg library on Android with Kotlin
Stars: ✭ 138 (-65.24%)
Mutual labels:  ffmpeg, gif
Ccapture.js
A library to capture canvas-based animations at a fixed framerate
Stars: ✭ 2,836 (+614.36%)
Mutual labels:  ffmpeg, gif
canvas-capture
Record the canvas as an image, mp4 video, or gif from the browser
Stars: ✭ 35 (-91.18%)
Mutual labels:  ffmpeg, gif
Mpv thumbnail script
A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies
Stars: ✭ 350 (-11.84%)
Mutual labels:  ffmpeg
Piper
piper - a distributed workflow engine
Stars: ✭ 374 (-5.79%)
Mutual labels:  ffmpeg
Coderyi.github.io
Don't fork! coderyi's blog,about iOS ,CS and my code life.
Stars: ✭ 349 (-12.09%)
Mutual labels:  ffmpeg
Dms
A UPnP DLNA Digital Media Server that includes basic video transcoding. Tested on a Panasonic Viera television, several Android UPnP apps, and Chromecast.
Stars: ✭ 347 (-12.59%)
Mutual labels:  ffmpeg
Monkey Dl
Bulk download your favourite anime episodes from your favourite anime websites
Stars: ✭ 382 (-3.78%)
Mutual labels:  ffmpeg

gifgen

Simple high quality GIF encoding

If you've ever tried encoding GIFs with ffmpeg there's a good chance your results came out looking pretty bad. This is because GIFs are limited to a palette of 256 colours and ffmpeg just uses a generic palette to be able to cover a wide range of colours.

gifgen produces much better results by doing a 2-pass encode. The first pass generates a custom colour palette based on all of the pixels from each frame. The second pass encodes the GIF using this palette instead of the default one bundled with ffmpeg.

ffmpeg default:

ffmpeg default

gifgen:

gifgen

Usage

$ gifgen -h
gifgen 1.2.0

Usage: gifgen [options] [input]

Options:
  -o   Output file [input.gif]
  -f   Frames per second [10]
  -s   Optimize for static background
  -v   Display verbose output from ffmpeg
  -w   Scale output with horizontal resolution
  -b   Begin the clip at a given timestamp (in seconds)
  -d   Duration in seconds of the resulting gif, can be combined with at

Examples:
  $ gifgen video.mp4
  $ gifgen -o demo.gif SCM_1457.mp4
  $ gifgen -sf 15 screencap.mov
  $ gifgen -sf 15 -w 320 screencap.mov

Begin at 3.5 seconds into the video, make the gif using the next 5.5 seconds
  $ gifgen -b 3.5 -d 5.5 screencap.mov

Installation

macOS

brew install lukechilds/tap/gifgen

Linux

Just clone this repo and either copy/symlink gifgen to your PATH or run the script directly with ./gifgen. Requires ffmpeg to be installed.

Windows

¯\_(ツ)_/¯

Credits

gifgen is pretty much just the information from this blog article wrapped up in a shell script. Full credit goes to the original author.

License

MIT © Luke Childs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].