You are not logged in.

#1 2019-05-08 18:51:39

Wolfyrion
Member
Registered: 2019-04-23
Posts: 3

[REQUEST AUR PACKAGE] Giftuna

http://giftuna.io/

GifTuna

Quickly convert videos to gifs

Offline

#2 2019-05-14 11:52:27

teckk
Member
Registered: 2013-02-21
Posts: 519

Re: [REQUEST AUR PACKAGE] Giftuna

Until you get a PKGBUILD made for that,

GifTuna is powered by FFmpeg, which makes it fast and easy to import just about any type of video.

ffmpeg will make animated gifs easily enough.

Examples:

Simple and small size

ffmpeg -i input.mp4 -ss 00:00:38 -t 00:00:02 -pix_fmt rgb24 -r 5 -s 240x134 output.gif

Better quality but larger in size

ffmpeg -ss 00:00:38 -t 00:00:02 -i input.mp4 \
-vf "fps=5,scale=240:-1:flags=lanczos,palettegen" \
-y /tmp/palette.png

ffmpeg -ss 00:00:38 -t 00:00:02 \
-i input.mp4 -i /tmp/palette.png \
-lavfi "fps=5,scale=240:-1:flags=lanczos [x]; [x][1:v] paletteuse" \
-y output.gif

Another way to do it

ffmpeg -ss 00:00:38 -t 00:00:05 \
-i input.mp4 -r 5 -filter_complex "[0:v] split [a][b];[a] palettegen [p];[b][p] paletteuse" \
-s 200x150 Out.gif

mplayer will make gifs too

mplayer input.mp4 -ss 00:00:38 -endpos 6 -vo gif89a:fps=5:output=output.gif -vf scale=240:134 -nosound

Offline

Board footer

Powered by FluxBB