From 2b972cd24c3f3cd9d873b6cff81b96f9c6ca2cae Mon Sep 17 00:00:00 2001 From: Paco Hope Date: Mon, 11 Mar 2024 18:13:28 -0400 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 +``` +