Install ffmpeg-2.4.13 under Ubuntu14.04 (for video processing, save video as a sequence of pictures)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.