7

How to Install FFmpeg on Debian

 2 years ago
source link: https://www.vultr.com/docs/how-to-install-ffmpeg-on-debian-8-or-9
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
<?xml encoding="utf-8" ??>

Introduction

This guide explains how to install FFmpeg on:

  • Debian 10
  • Debian 9
  • Debian 8

FFmpeg is an open-source command-line tool for video and audio encoding/decoding. Its main features are high speed, quality, and small file sizes.

Prerequisites

Debian 10 and 9

  1. Install FFmpeg.

    $ sudo apt-get install ffmpeg
    
  2. Verify the installation.

    ffmpeg -version
    

    You will see information about the installed FFmpeg version. Your setup is complete.

Debian 8

  1. Edit the source list.

    $ sudo nano /etc/apt/sources.list
    
  2. Add the following lines at the end of the file:

    # deb-multimedia
    deb http://www.deb-multimedia.org jessie main non-free
    deb-src http://www.deb-multimedia.org jessie main non-free
    
    # jessie-backports
    deb http://httpredir.debian.org/debian/ jessie-backports main
    
  3. Save and close the file.

  4. Update the package list and install deb-multimedia keyring:

    $ sudo apt-get update
    $ sudo apt-get install deb-multimedia-keyring
    $ sudo apt-get update
    
  5. Install FFmpeg.

    $ sudo apt-get install ffmpeg
    
  6. Verify the installation.

    ffmpeg -version
    

    You will see information about the installed FFmpeg version. Your setup is complete.

Want to contribute?

You could earn up to $600 by adding new articles


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK