Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Tutorials»How to Install FFmpeg on CentOS/RHEL 7/6

    How to Install FFmpeg on CentOS/RHEL 7/6

    RahulBy RahulNovember 20, 20152 Mins ReadUpdated:October 18, 2018

    FFmpeg is a cross-platform solution for streaming audio and video as well as recording and conversion. Its also useful to convert multimedia files between various formats. FFmpeg includes libavcodec audio/video codec library in it.

    Install FFmpeg

    This article will describe you to how to install FFmpeg on CentOS , RHEL 7/6/5 and Fedora systems with easy steps. Also provides basic uses of ffmpeg. CentOS/RHEL uses must have enable atrpms rpm repository on his systems.

    1. Install FFmpeg

    CentOS/RHEL and Fedora users make sure that you have enabled atrpms repository in system. Let’s begin installing FFmpeg as per your operating system.

    # yum install ffmpeg
    

    2. Check FFmpeg Version

    After successfully install FFmpeg, let’s check the version installed on system.

    # ffmpeg -version
    
    ffmpeg version 2.0.2
    built on Oct 27 2013 11:21:04 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
    ....
    

    3. FFmpeg Basic Commands

    Here is the list of few ffmepg basic commands list.

      ffmpeg -version: show version ffmpeg -formats: show available formats ffmpeg -codecs: show available codecs ffmpeg -decoders: show available decoders ffmpeg -encoders: show available encoders ffmpeg -bsfs: show available bit stream filters ffmpeg -protocols: show available protocols ffmpeg -filters: show available filters ffmpeg -pix_fmts: show available pixel formats ffmpeg -layouts: show standard channel layouts ffmpeg -sample_fmts: show available audio sample formats

    Click here to read more about ffmpeg on its official site.

    4. Basic Examples

    Here are some basic examples of uses of ffmpeg command line. Please suggest more examples to add here.

    Reduce .mov File Size:

    $ ffmpeg -i in.mov -c:v libx264 -c:a copy -crf 20 out.mov
    

    Convert .move To .mp4

    ffmpeg -i in.mov -vcodec copy -acodec aac -strict experimental -ab 128k out.mp4
    
    ffmpeg
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install FFmpeg on Ubuntu 18.04 & 16.04
    Next Article How to Remove Untracked Files from Local Git Repository

    Related Posts

    (Resolved) userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms

    Updated:May 10, 20221 Min Read

    How to Install Apache ActiveMQ on Ubuntu 22.04

    3 Mins Read

    How To Enable SSH Server on Ubuntu 22.04

    Updated:April 22, 20222 Mins Read

    How To Install LAMP Stack on Ubuntu 22.04 LTS

    Updated:April 20, 20225 Mins Read

    10 Best Linux Video Players in 2022

    Updated:February 18, 20226 Mins Read

    How to Switch Python Version in Ubuntu & Debian

    Updated:April 22, 20223 Mins Read

    1 Comment

    1. balakrishna on April 16, 2018 9:44 am

      sudo rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

      sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

      sudo yum install ffmpeg ffmpeg-devel -y

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    • (Resolved) Please install all available updates for your release before upgrading
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.