Linux deployment FFmpeg open source Video compression environment process simple notes

Source: Internet
Author: User
Tags bz2

Here is a simple record of deploying FFmpeg and related class libraries throughout Linux, as follows:

Tar zxvf./yasm-1.3.0.tar.gz
CD yasm-1.3.0
./configure
Make
Make install


Tar xvfj./x264.tar.bz2
CD x264
Make clean
./configure--enable-shared
Make
Make install


Tar zxvf./lame-3.99.5.tar.gz
CD lame-3.99.5
./configure--enable-shared
Make && make install


Tar zxvf./libogg-1.3.2.tar.gz
CD libogg-1.3.2
./configure--enable-shared
./configure
Make && make install


Tar zxvf./libvorbis-1.3.4.tar.gz
CD libvorbis-1.3.4
./configure
Make && make install


Tar zxvf./faac-1.28.tar.gz
CD faac-1.28
./configure
Make
Make install


Tar xvfj./ffmpeg-2.5.1.tar.bz2
CD ffmpeg-2.5.1
./configure--prefix=/usr/local/ffmpeg2--enable-libmp3lame--enable-libvorbis--ENABLE-GPL--enable-version3- Enable-nonfree--enable-pthreads--ENABLE-LIBFAAC--enable-libx264--enable-postproc--enable-ffserver-- Enable-ffplay
Make
Make install
./configure
Make Tools/qt-faststart
Cp-a tools/qt-faststart/usr/bin/


Locate libx264.so.142 #会显示/usr/local/lib/libx264.so.142
Ln-s libx264.so.142 libx264.so
vi/etc/ld.so.conf.d/libx264.conf #写入/usr/local/lib
Ldconfig

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.