Added additional variables

master
Paco Hope 2024-06-21 18:05:14 -04:00
parent 7da4d9e816
commit c7e41d1c3a
1 changed files with 4 additions and 2 deletions

View File

@ -14,8 +14,10 @@ From [blog post](https://dev.to/nabbisen/ffmpeg-convert-video-to-gif-7h8). [Orig
```shell
START="01:13:22"
AMOUNT="8"
SECONDS="8"
FPS=10
ffmpeg -ss $START -t $AMOUNT -i input.mp4 -r $FPS output.gif
INFILE="input.mp4"
OUTFILE="output.gif"
ffmpeg -ss $START -t $SECONDS -i "${INFILE}" -r $FPS "${OUTFILE}"
```