This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:ffmpeg [2017/11/29 08:15] – [Install a Full FFmpeg Distribution on Debian] office | fuss:ffmpeg [2019/01/04 19:24] – [Convert Video to GIF Animation] office | ||
---|---|---|---|
Line 304: | Line 304: | ||
ffmpeg -i dump.gif -vf " | ffmpeg -i dump.gif -vf " | ||
</ | </ | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
Achieving an acceptable GIF is a games of push and pull between the value of '' | Achieving an acceptable GIF is a games of push and pull between the value of '' | ||
+ | Other very useful filters are: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | In one pass: | ||
+ | <code bash> | ||
+ | ffmpeg -i a.gif -vf " | ||
+ | </ | ||
+ | the actions performed will be: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ====== Lowest Common Denominator Settings Compatible with All Sites ====== | ||
+ | |||
+ | The settings produce an output file with the '' | ||
+ | <code bash> | ||
+ | ffmpeg -i $INPUT_FILE \ | ||
+ | -c:v libx264 -crf 23 -profile:v baseline -level 3.0 -pix_fmt yuv420p \ | ||
+ | -c:a aac -ac 2 -b:a 128k \ | ||
+ | -movflags faststart \ | ||
+ | output.mp4 | ||
+ | </ | ||