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 | |
echo "Usage: vid2gif.sh <input> <output>" | |
echo -n "Enter desired delay (1/100 of seconds): " | |
read delay | |
fps=$(expr 100 / $delay) | |
read -p "Enter width [default: -1]: " width | |
width=${width:--1} | |
read -p "Enter height [default: -1]: " height | |
height=${height:--1} | |
read -p "Enter start timestamp [default: 0]: " tstart |
OlderNewer