Raspberry Pi Compilation Installation FFmpeg

Source: Internet
Author: User

Test passes on the Raspberry Pi pi3b official system.

1. Download http://www.linuxfromscratch.org/blfs/view/svn/general/yasm.html yasm and install:./configure--prefix=/usr
Make
Make install


2. Download the latest stable version of x264 and install:
./configure--enable-shared--prefix=/usr
Make
Make install


3.sudo Apt-get Install aptitude
sudo aptitude install Libfaac-dev libmp3lame-dev libtheora-dev libvorbis-dev libxvidcore-dev libxext-dev Libxfixes-dev


The Raspberry Pi may not be able to install Libfaac-dev, then download the source compilation installation:
Http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
http://blog.csdn.net/qiuchangyong/article/details/7250690
Http://blog.chinaunix.net/uid-10769062-id-4171969.html
./configure--PREFIX=/USR
Make
Make install


4. Download ffmpeg_0.10.16
./configure--prefix=/usr--ENABLE-GPL--enable-version3--enable-nonfree--enable-postproc--enable-pthreads-- ENABLE-LIBFAAC--enable-libmp3lame--enable-libtheora--enable-libx264--enable-libxvid--enable-x11grab-- Enable-libvorbis
Make
Make install

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.