First download the ffmpeg-2.4.13.tar.bz2 in http://www.ffmpeg.org/olddownload.html;
Then install Yasm and libx264:
Apt-get Install Yasm
Aptitude Install Libx264-dev
Installation dependencies:
Aptitude Install Libfaac-dev
Aptitude Install Libmp3lame-dev
Aptitude Install Libtheora-dev
Aptitude Install Libvorbis-dev
Aptitude Install Libxvidcore-dev
Aptitude Install Libxext-dev
Aptitude Install Libxfixes-dev
Finally compile the installation ffmpeg:
CD ffmpeg-2.4.13
Sudo-s
SOURCE Configure
Make
Make install
Test it:
Ffmpeg-i "Video.mp4"-R 5-q:v 2-f image2 image-3%d.jpeg
The function of this command is to speak video video.mp4 decomposition into pictures, video per second extract 5 frames as Picture save
#-I followed by the name of the video to be entered
#-R followed by the number of frames per second to extract pictures
#-q:v followed by extract the quality of the image 2 indicates high quality
Install ffmpeg-2.4.13 under Ubuntu14.04 (for video processing, save video as a sequence of pictures)