Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»General Articles»How To Install FFmpeg on Debian 9 (Stretch)

    How To Install FFmpeg on Debian 9 (Stretch)

    By RahulDecember 28, 20182 Mins Read

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

    Advertisement

    install ffmpeg on Ubuntu

    This tutorial will help you to install FFmpeg on Debian 9 (Stretch) system with apt-get.

    Step 2 – Install ffmpeg on Debian 9

    After enabling the PPA, Lets exec below commands to install FFmpeg on Debian 9 system. This will also install many packages for the dependencies.

    sudo apt update
    sudo apt install ffmpeg
    

    Step 3 – Check FFmpeg Version

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

    ffmpeg -version
    
    ffmpeg version 3.2.12-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
    ...
    

    Step 4 – FFmpeg Basic Commands

    Here is the list of the ffmepg basic command options used with ffmpeg command line tool.

    FFmpeg command examples
      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.

    Step 5 – Basic Examples

    Below are some examples of uses of ffmpeg command line.

    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
    

    Debian 9 ffmpeg
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Implementing a Linux Server Security Audit: Best Practices and Tools

    15 Practical Examples of dd Command in Linux

    Iptables: Common Firewall Rules and Commands

    View 2 Comments

    2 Comments

    1. Ahmad Salman on October 11, 2020 11:38 am

      Hi Sinha same question.

      Reply
    2. RK Sinha on December 31, 2018 7:53 pm

      How to upgrade or update ffmpeg 3.2 to 4.0 on Debian 9?

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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