tech:make_gif
Differences
This shows you the differences between two versions of the page.
| tech:make_gif [2023/01/14 16:46] – created katsimbris | tech:make_gif [2025/06/17 18:38] (current) – Adding Text katsimbris | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| * split filter will allow everything to be done in one command and avoids having to create a temporary PNG file of the palette. | * split filter will allow everything to be done in one command and avoids having to create a temporary PNG file of the palette. | ||
| * Control looping with -loop output option but the values are confusing. A value of 0 is infinite looping, -1 is no looping, and 1 will loop once meaning it will play twice. So a value of 10 will cause the GIF to play 11 times. | * Control looping with -loop output option but the values are confusing. A value of 0 is infinite looping, -1 is no looping, and 1 will loop once meaning it will play twice. So a value of 10 will cause the GIF to play 11 times. | ||
| + | |||
| + | ====== Make a gif with text Using FFMPEG ====== | ||
| + | < | ||
| + | -vf " | ||
| + | drawtext=fontfile=/ | ||
| + | textfile=subtitles1.txt: | ||
| + | enable=' | ||
| + | fontcolor=white@0.8: | ||
| + | box=1: | ||
| + | x=(w-text_w)/ | ||
| + | drawtext=fontfile=/ | ||
| + | textfile=subtitles2.txt: | ||
| + | enable=' | ||
| + | fontcolor=white@0.8: | ||
| + | box=1: | ||
| + | x=(w-text_w)/ | ||
| + | drawtext=fontfile=/ | ||
| + | textfile=subtitle3.txt: | ||
| + | enable=' | ||
| + | fontcolor=white@0.8: | ||
| + | box=1: | ||
| + | x=(w-text_w)/ | ||
| + | -loop 0 output.gif | ||
| + | </ | ||
| + | |||
| + | * Create .txt files for the subtitles you want to use. (In this case, subtitles1.txt + subtitles2.txt + subtitles3.txt | ||
| + | * Note the commands for time after " | ||
tech/make_gif.1673714806.txt.gz · Last modified: by katsimbris
