scale=1024:-1 resize to width of 1024 and keep aspect ratio for the height.fps=12 take the first video stream in the container at 12 frames per second.filter_complex we're going to be chaining some filters together.The will be something like your-recording.mov, the should be the width you want the final gif to be, and will be something like recording.gif. In this command there are 3 tokens you need to plug in.
Thoughts on how to fix?įfmpeg -i -filter_complex " fps=12,scale=:-1,split palettegen paletteuse" If I leave out the -pix_fmt rgb24 part it complains. Here's the error: ffmpeg -pix_fmt rgb24 -i yesbuddy.mov output.gifįfmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developersīuilt on 17:47:34 with clang 2.1 (tags/Apple/clang-163.7.1)Ĭonfiguration: -prefix=/usr/local/Cellar/ffmpeg/0.11.1 -enable-shared -enable-gpl -enable-version3 -enable-nonfree -enable-hardcoded-tables -enable-libfreetype -cc=/usr/bin/clang -enable-libx264 -enable-libfaac -enable-libmp3lame -enable-librtmp -enable-libtheora -enable-libvorbis -enable-libvpx -enable-libxvid -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libass -enable-libvo-aacenc -disable-ffplay