Linux compiling and upgrading Ffmpeg

Source: Internet
Author: User
For Linux compiling and upgrading Ffmpeg, if the server has installed an Ffmpeg file, for example, it has been installed in the/usr/local/ffmpeg directory. The version upgrade procedure is as follows: 1. download ffmpeg-* .tar.gz to the Ffmpeg official website. https://ffm ... Linux compiling and upgrading Ffmpeg step if the server has installed an Ffmpeg file, for example, it has been installed in the/usr/local/ffmpeg directory. The version upgrade procedure is as follows: 1. download ffmpeg-* .tar.gz to the Ffmpeg official website. https://ffm Peg.org/download.html select the version you want to upgrade to, and then download, for example, the author downloads the ffmpeg-2.0.tar.gz. 2. compile and install the tar-zxvf ffmpeg-2.0.tar.gz cd ffmpeg-2.0. /configure -- enable-shared -- prefix =/usr/local/ffmpeg make install 3. dynamic link library vi/etc/ld. so. add conf:/usr/local/ffmpeg/lib to execute ldconfig 4. add the following environment variable vi/etc/profile to Ffmpeg: FFMPEG =/usr/local/ffmpeg PATH: $ FFMPEG/bin 5. make the modification take effect immediately source/etc/profile execute ffmpeg-version Print result ffmpeg version 2.0 built on Jul 24 2013 09:59:06 with gcc 4.4.7 (GCC) 201203 13 (Red Hat 4.4.7-3) configuration: -- enable-shared -- prefix =/usr/local/ffmpeglibavutil 52. 38.100/52. 38.100 libavcodec 55. 18.102/55. 18.102 libavformat 55. 12.100/55. 12.100 libavdevice 55. 3.100/55. 3.100 libavfilter 3. 79.101/3. 79.101 libswscale 2. 3.100/2. 3.100 libswresample 0. 17.102/0. 17.102 the upgrade is successful.

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.