This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#parameters: | |
# $1 - mp4 url | |
# $2 - start time in format hh:mm:ss.mic | |
# $3 - duration in seconds | |
# $4 - text for gif overlay | |
# $5 - output file without extension | |
if [ "$#" -ne 5 ] | |
then | |
echo "Usage: gifenc.sh \$1 \$2 \$3 \$4 \$5 |