Short url: caseywatts.com/quicktimegifs
- Put a file
in.mov
in the folder~/giffing/
- Run Lines 2 and 3
- Enjoy!
mkdir ~/giffing/ | |
ffmpeg -i ~/giffing/in.mov -r 5 ~/giffing/gif-%04d.png | |
convert -delay 20 -loop 0 ~/giffing/gif-*.png ~/giffing/gif.gif |
Short url: caseywatts.com/quicktimegifs
in.mov
in the folder ~/giffing/
👍
mkdir ~/giffing && touch ~/giffing/in.mov
videosnap
is best snap.
Have fun:
# https://developer.apple.com/library/ios/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_DO_I_BUILD_MY_PROJECTS_FROM_THE_COMMAND_LINE_
mkdir -p /tmp/lolwat ; cd /tmp/lolwat && \
curl -sOL https://github.com/matthutchinson/videosnap/tarball/master && \
tar xfz master && cd matt* && \
open -a Xcode videosnap.xcodeproj
# Cmd + Q when 'Ready'
# Done because it needs a 'schema' ... wat?
# If you have a better solution for this, get on it!
xcodebuild -list -project videosnap.xcodeproj
xcodebuild -scheme videosnap build SYMROOT="."
mkdir -p ~/bin ; export PATH=~/bin:$PATH && \
mv ./Debug/videosnap ~/bin/ && \
which videosnap
rm -rf /tmp/lolwat
videosnap -l
videosnap -t 3 -w 5 -d 'USB Camera' --no-audio -s 'HD720' lolwat.mov
Thx, 5000!
Have you looked at
imagesnap
to grab images so I dont have to Bring My Own Movie?