bin/mov2gif: fix comments; use cached-nix-shell

This commit is contained in:
Henrik Lissner 2021-01-20 00:44:35 -05:00
parent ab1640e486
commit cf85294497

View file

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