Ubuntu 9.10 compile and install FFMPEG

Source: Internet
Author: User

Step 1: Download FFMPEG source code: http://download.csdn.net/detail/a6243620/3970118#comment: FFmpeg-FFmpeg-n0.8-4913-g175cc37.zip file.

Step 2: unzip FFmpeg-FFmpeg-n0.8-4913-g175cc37.zip: unzip FFmpeg-FFmpeg-n0.8-4913-g175cc37.zip.

Step 3: sudo apt-Get update, sudo apt-Get install libsdl1.2-Dev

Step 4: CD FFmpeg-FFmpeg-175cc37./configure -- enable-shared -- prefix =/usr/local/FFMPEG -- disable-yasm. Make, sudo make install

Step 5: Export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH:/usr/local/FFMPEG/lib

Step 6: CD/usr/local/FFMPEG/bin,./ffplay 1.mp3

It can play 1.mp3 file now.

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.