bin/mov2gif: fix comments; use cached-nix-shell
This commit is contained in:
parent
ab1640e486
commit
cf85294497
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue