Compile FFMPEG in Ubuntu 10.04

Source: Internet
Author: User

 

Zhou haihan/Wen

2010.5.19

 

============

1. preparation:

============

Sudo apt-Get install build-essential libxvidcore4-dev libfaad-dev libfaac-dev libmp3lame-dev Subversion

E: unable to find the package libxvidcore4-dev

However, this library exists in Ubuntu 9.10.

Later I found bugs reported by Ubuntu
The file name is changed to libxvidcore-Dev.

 

Zhouhh @ zhh64 :~ /FFMPEG $ sudo apt-Get install libxvidcore-Dev
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
The following [new] software packages will be installed:
Libxvidcore-Dev

 

============

2. Download FFMPEG

============

<! --
@ Page {margin: 2 cm}
P {margin-bottom: 0.21}
-->

Zhouhh @ zhh64 :~ $ SVN checkout
SVN: // svn.ffmpeg.org/ffmpeg/trunk FFMPEG

 

==========

3. Compile

==========

<! --
@ Page {margin: 2 cm}
P {margin-bottom: 0.21}
-->

Compile and install:

Zhouhh @ zhh64 :~ $ Cd ffmpeg/

Zhouhh @ zhh64 :~ /FFMPEG $
./Configure -- enable-GPL -- enable-libmp3lame -- enable-libxvid
-- Enable-libfaac -- enable-nonfree
Zhouhh @ zhh64 :~ /FFMPEG $ make

Zhouhh @ zhh64 :~ /FFMPEG $ sudo 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.