dataviz/README.md

22 lines
532 B
Markdown

# Random Data Visualisation stuff
This is just some random stuff I wanted to put somewhere since I spent time figuring it out.
## Convert `mov` to `mp4` trivially.
```shell
ffmpeg -i input.mov -c:v copy -c:a copy output.mp4
```
## convert movie clip to animated gif
From [blog post](https://dev.to/nabbisen/ffmpeg-convert-video-to-gif-7h8). [Original documentation](https://ffmpeg.org/ffmpeg-all.html#Video-Options)
```shell
START="01:13:22"
AMOUNT="8"
FPS=10
ffmpeg -ss $START -t $AMOUNT -i input.mp4 -r $FPS output.gif
```