Last active
August 29, 2015 14:01
-
-
Save nthitz/ec256bbfaf2584afb708 to your computer and use it in GitHub Desktop.
ffmpeg commands
This file contains 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
#installed presumably with brew | |
--prefix=/usr/local/Cellar/ffmpeg/2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid | |
# create a gif from input starting at ss for t duration (ffmpeg 2.2) | |
ffmpeg -i input.avi -ss 00:09:11 -t 10 out.gif | |
# extract a portion and save it | |
ffmpeg -ss 00:05:31 -i seinfeld.3x02.the_truth.dvdrip_xvid-fov.avi -t 8 -c:v mpeg4 -c:a libfaac -b:v 1200k sammy.mp4 | |
for giffing: part of imagemagic | |
convert -delay 6 -loop 0 out-*.tga anim.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment