Skip to content

Instantly share code, notes, and snippets.

@anhphamt
Last active December 5, 2016 03:49
Show Gist options
  • Save anhphamt/e2a673a65535241ceff983f86c3c5c4b to your computer and use it in GitHub Desktop.
Save anhphamt/e2a673a65535241ceff983f86c3c5c4b to your computer and use it in GitHub Desktop.
Install ffmpeg, ImageMagick on OSX

Install ffmpeg

http://www.renevolution.com/ffmpeg/2013/03/16/how-to-install-ffmpeg-on-mac-os-x.html

sh brew install ffmpeg --with-fdk-aac --with-sdl2 --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools

Make sure your XCODE, homebrew is latest version.

brew doctor

Install ImageMagick

https://www.imagemagick.org/script/binary-releases.php#macosx

Using ffmpeg to combine images into video

ffmpeg -r 25 -qscale 1 -i %05d.morph.jpg output.mp4

Some useful links: http://www.itforeveryone.co.uk/image-to-video.html

http://superuser.com/questions/624567/ffmpeg-create-a-video-from-images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment