import recipes: todo add to site
This commit is contained in:
parent
3e4932f921
commit
33de49464e
10 changed files with 160 additions and 0 deletions
13
todo-recipes/gifs.md
Normal file
13
todo-recipes/gifs.md
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue