import recipes: todo add to site

This commit is contained in:
lf- 2021-03-09 03:40:32 -08:00
parent 3e4932f921
commit 33de49464e
10 changed files with 160 additions and 0 deletions

13
todo-recipes/gifs.md Normal file
View file

@ -0,0 +1,13 @@
# GIFs
## MP4 to GIF
```bash
ffmpeg -i input.mp4 -vf "fps=10,scale=320:-1:flags=lanczos" -c:v pam -f image2pipe - | convert -delay 10 - -loop 0 -layers optimize output.gif
```
## GIF to MP4
```bash
ffmpeg -f gif -i infile.gif outfile.mp4
```