Install FFmpeg under Ubuntu

Source: Internet
Author: User

FFmpeg is an open-source computer program that can be used to record, convert digital audio, video, and turn it into a stream. Use the LGPL or GPL license. It provides recording, conversion, and streaming audio-visual
Solutions for the entire spectrum of frequencies. It contains a very advanced audio/video codec library Libavcodec, in order to ensure high portability and codec quality, Libavcodec many codec
have been developed from scratch.

Here is the installation tutorial
First create a install-ffmpeg.sh file to write the following

sudo apt-get Install build-essential git-core Checkinstall yasm texi2html libvorbis-dev libx11-dev Libvpx-dev Libxfixes-dev zlib1g-dev pkg-config netcat libncurses5-devffmpeg_version=2.3.3CD/usr/local/srcif[!-D"/usr/local/src/ffmpeg-${ffmpeg_version}" ]; Then sudo wget"http://ffmpeg.org/releases/ffmpeg-${ffmpeg_version}.tar.bz2"sudo tar-xjf"ffmpeg-${ffmpeg_version}.tar.bz2"Ficd"Ffmpeg-${ffmpeg_version}"sudo./configure--enable-version3--enable-postproc--enable-libvorbis--enable-Libvpxsudo Makesudo Checkinstall--pkgname=ffmpeg--pkgversion="5:${ffmpeg_version}"--backup=no--deldoc=yes--default

Execute command

chmod +x install-ffmpeg.sh

If prompted: Operationnot permitted, it is executed with root account.

Execute the Install command

./install-ffmpeg.sh

To see if the installation was successful

Ffmpeg–version

Successful the following message appears

FFmpeg version 2.3.3 Copyright (c) 2000-2014 the ffmpeg developers  , 17:35:05 with GCC 4.8 (Ubuntu 4.8. 2-19ubuntu1)  --enable-version3--enable-postproc--enable-libvorbis--enable-libvpx  Libavutil      52. 92.100/52. 92.100  libavcodec     69.100/55.69.100  Libavformat    55.48.100/55.48.100   libavdevice    13.102/55.13.102  libavfilter     4.11.100/  4.11.100   Libswscale      2.  6.100/  2.  6.100  libswresample   0.19.100/  0.19.100

If unsuccessful, re-check the contents of the install-ffmpeg.sh file is correct, correct the correct changes and then reinstall

If the hint has
" apt-get-f Install" , then execute apt-get-f install, then reinstall

Install FFmpeg under Ubuntu

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.