Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
No Result
View All Result
Home Google Cloud

How to Install and Use FFmpeg on Debian 9

by Cloudbooklet
5 years ago
in Google Cloud, Compute Engine
How To Install And Use Ffmpeg On Debian 9
ShareTweetSendShare
Readers like you help support Cloudbooklet. When you make a purchase using links on our site, we may earn an affiliate commission.

How to Install and Use FFmpeg on Debian 9. FFmpeg is a great tool to record, convert and stream audio and video. This tutorial covers the steps required to install FFmpeg on Debian 9. We will use the ffmpeg command line tool to convert audio, add text to video and many more. Not using Debian […]

ADVERTISEMENT

How to Install and Use FFmpeg on Debian 9. FFmpeg is a great tool to record, convert and stream audio and video.

This tutorial covers the steps required to install FFmpeg on Debian 9. We will use the ffmpeg command line tool to convert audio, add text to video and many more.

Not using Debian 9? Choose a different OS:

ADVERTISEMENT

Ubuntu 18.04 LTS

CentOS 7

Debian 9

ADVERTISEMENT

This tutorial is tested on Google Cloud for automatic image and video processing.

You might also like

How To Setup Ssh Keys On Ubuntu

How to Setup SSH Keys on Ubuntu 20.04

4 months ago
Draggan Ai Editing Tool Install And Use Draggan Photo Editor

DragGAN AI Editing Tool Install and Use DragGAN Photo Editor

4 months ago

Prerequisites

A Debian 9 system or server with sudo privileges.

ADVERTISEMENT

If you are using Google Cloud you need to have some additional requirements fulfilled.

  • A running Compute Engine, see the Setting up Compute Engine Instance with Debian 9.
  • Initial Debian Server Set up.

Install FFmpeg on Debian

01. Update the packages before starting.

ADVERTISEMENT
sudo apt update

02. Install FFmpeg with the following command.

sudo apt install ffmpeg

03. Verify the installation.

ADVERTISEMENT
ffmpeg -version

The output will be something similar to this.

Output
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

Now, FFmpeg is installed successfully and ready to be used.

FFmpeg Examples

In this part, we will look at some basic examples to use the ffmpeg utility.

Basic conversion

While converting the audio and the video files with ffmpeg you don’t need to specify the input and output formats. The input file format is detected automatically and the output format is selected from the file extension.

Convert a video file from webm to mp4

ffmpeg -i input.webm output.mp4

Convert an audio file from ogg to mp3

ffmpeg input.ogg output.mp3

Specifying codecs

You can also specify the codecs you want to use with the -c flag option. The codec can be the name of any supported decoder/encoder or a special value copy which simply copies the input stream.

Convert a video file from webm to mp4 using the libvpx video codec and libvorbis audio codec

ffmpeg -i input.webm -c:v libvpx -c:a libvorbis output.mp4

Convert an audio file from ogg to mp3 encoded with the libopus codec.

ffmpeg -i input.ogg -c:a libopus output.mp3

Conclusion

Now you have learned how to install FFmpeg on your Debian system.

Thanks for your time. If you face any problem or any feedback, just leave a comment below.

Tags: Debian
ShareTweetSendShare
Cloudbooklet

Cloudbooklet

Comments 1

  1. Avatar Of Praveen Kumar M Praveen Kumar M says:
    2 years ago

    hi,
    thanks for the information
    it is very much useful for me

    could u help me to transfer the file in root directory in cloud shell to my google drive or any other cloud drive

    once again thanks for this tutorial

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Related Posts

Set Up Deep Learning With Nvidia, Cuda, Cudnn On Ubuntu

How to Set Up Deep Learning with Nvidia, CUDA, cuDNN on Ubuntu 22.04

7 months ago
How To Install Or Upgrade Php 8.2 On Ubuntu 22.04

How to Install or Upgrade PHP 8.2 on Ubuntu 22.04

9 months ago
How To Change Timezone On Ubuntu 22.04

How to Change Timezone on Ubuntu 22.04

1 year ago
How To Install Ansible On Ubuntu 22.04

How to Install Ansible on Ubuntu 22.04

1 year ago

Follow Us

Trending Articles

Delete Netflix Account

How to Delete Netflix Account Permanently

September 21, 2023

How to Use ChatGPT to Translate Your Website or Blog

5 Best Laptop for Minecraft in 2023: Top Picks for All Budgets

Amazon Prime Big Deal Days 2023: Best Deals

HeyGen AI: Free AI Video Generator to Create Amazing Videos

AI Powered 3D Models to Create 3D Designs in Breeze

Popular Articles

Find Songs On Youtube

How to Find Songs on YouTube by Humming the Tune

August 26, 2023

Top 10 Ways to Use ChatGPT for Marketing in 2023

7 Best AI Finance Tools That Will Transform Your Business in 2023

10 Best Tools Change Image Background Online Free

3 Ways to Use Stable Diffusion AI Art Generator for Free

Charley AI: The Best AI Essay Writing Tool

Subscribe Now

loader

Subscribe to our mailing list to receives daily updates!

Email Address*

Name

Cloudbooklet Logo

Welcome to our technology blog, where we explore the latest advancements in the field of artificial intelligence (AI) and how they are revolutionizing cloud computing. In this blog, we dive into the powerful capabilities of cloud platforms like Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft Azure, and how they are accelerating the adoption and deployment of AI solutions across various industries. Join us on this exciting journey as we explore the endless possibilities of AI and cloud computing.

  • About
  • Contact
  • Disclaimer
  • Privacy Policy

Cloudbooklet © 2023 All rights reserved.

No Result
View All Result
  • News
  • Artificial Intelligence
  • Applications
  • Linux

Cloudbooklet © 2023 All rights reserved.