Took out -c:v and -c:a which you don't do on gif.
parent
2b972cd24c
commit
7da4d9e816
|
@ -13,6 +13,9 @@ ffmpeg -i input.mov -c:v copy -c:a copy output.mp4
|
|||
From [blog post](https://dev.to/nabbisen/ffmpeg-convert-video-to-gif-7h8). [Original documentation](https://ffmpeg.org/ffmpeg-all.html#Video-Options)
|
||||
|
||||
```shell
|
||||
ffmpeg -ss <start time> -t <duration> -i input.mp4 -c:v copy -c:a copy -r <framerate> output.mp4
|
||||
START="01:13:22"
|
||||
AMOUNT="8"
|
||||
FPS=10
|
||||
ffmpeg -ss $START -t $AMOUNT -i input.mp4 -r $FPS output.gif
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue