ffmpeg

ffmpeg -i .\GOPR0141.MP4 -vf fps=30 image-%03d.jpg

Install on Ubuntu 14.04

sudo add-apt-repository ppa:mc3man/trusty-media

sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install ffmpeg

Image sequences <–> movies

ffmpeg through Homebrew

ffmpeg -i gwerw-3.ogv -vf scale=936:528 gwerw-3_cut.ogv

ffmpeg -i filename.flv -qscale 0 -ar 22050 -strict -2 filename.mp4

ffmpeg -i oioi.wmv -c:v libx264 -preset ultrafast -strict -2 oioi.mp4