Skip to docs navigation
On this page

FFMPEGexternal link is a “A complete, cross-platform solution to record, convert and stream audio and video.” 1

Install ffmpeg

While ffmpeg only provides the source code, there are installers for Windows, Mac, and Linux on the ffmpeg.org download pageexternal link

ffmpeg Snippets

Export frames of video with 4 zeros

ffmpeg -i input.mp4 %04d.jpg

Convert mp4 to avi

ffmpeg -i input.mp4 output.avi

Export only Keyframes ffmpeg -skip_frame nokey -i input.mp4 -vsync 0 -r 30 -f image2 keyframes-%02d.png

References