Added additional variables
parent
7da4d9e816
commit
c7e41d1c3a
|
@ -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}"
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue