diff --git a/README.md b/README.md index 4c5eee2..7b6548c 100644 --- a/README.md +++ b/README.md @@ -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 -t -i input.mp4 -c:v copy -c:a copy -r output.mp4 +``` +