diff --git a/bin/mov2gif b/bin/mov2gif index 5e1f7735..5b0bad4f 100755 --- a/bin/mov2gif +++ b/bin/mov2gif @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #! nix-shell -i bash -p ffmpeg gifsicle # Uses ffmpeg to convert a video file to a gif file. Optimizes the final result @@ -7,8 +7,8 @@ # Requires: ffmpeg gifsicle # # Example: -# vid2gif some-vid.mp4 output.gif -# vid2gif -f 10 -s 00:00:10 -t 00:00:05 some-vid.mp4 output.gif +# mov2gif some-vid.mp4 output.gif +# mov2gif -f 10 -s 00:00:10 -t 00:00:05 some-vid.mp4 output.gif set -e PALETTE="/tmp/palette.png"