Documentation ¶
Overview ¶
Package gifeo can be used to create gif videos, from a premade set of images
ffmpeg can be used to create that set: `ffmpeg -i <input video> frames/frame_%05d.jpg`
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Verbosity = 1
Verbosity can be used to controll the cli output of the program 0 -> nothing 1 -> progress bar
Functions ¶
Types ¶
type Giffer ¶
type Giffer struct { // Scale is the scaledown factor used in creating // the pixelated dither effect, on a per-frame basis Scale int // K is the amount of colors to be used in the palette K int // Palette can be set by the user, if left at default nil, // gifeo will create the palette from the first frame Palette color.Palette // contains filtered or unexported fields }
Giffer is a struct that contains setup information and is used to create gif videos
func (*Giffer) CreateVideo ¶
CreateVideo is used to create the gif video The frames in the inputDir directory need to be of format: frame_ddddd.jpg. This can be achieved with ffmpeg by specifying as an output: frame_%05d.jpg That does mean that the maximum GIF length is 6min40s
Click to show internal directories.
Click to hide internal directories.