Update README.md

master
Paco Hope 2024-03-11 18:13:28 -04:00
parent f8b4391fe0
commit 2b972cd24c
1 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,18 @@
# 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
ffmpeg -ss <start time> -t <duration> -i input.mp4 -c:v copy -c:a copy -r <framerate> output.mp4
```