Commit 0027fff6 authored by Thrasyvoulos Karydis's avatar Thrasyvoulos Karydis

Adding gifenc.

parent aa71f777
#!/bin/sh
# Compiled from: http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
palette="./palette.png"
filters="fps=15,scale=128:-1:flags=lanczos"
ffmpeg -i $1 -vf palettegen palette.png
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v]
paletteuse" -y $2
rm $palette
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment