mydomain
No ADS
No ADS

Install FFmpeg on Ubuntu

  1. Install FFmpeg on Ubuntu
  • Introduction to FFMpeg
  • Install FFmpeg on Windows

1. Install FFmpeg on Ubuntu

To install FFmpeg on Ubuntu you need to update and upgrade the APT tool. This is a software package management tool on Ubuntu. Using APT commands helps you install software packages directly through the internet.
No ADS
On Ubuntu, open Terminal and run the following command to update and upgrade APT.
sudo apt update && sudo apt upgrade
Next, install FFmpeg:
sudo apt install ffmpeg
FFmpeg has a capacity of about 1GB, so you will have to wait quite a while until the installation process is completed.
When the installation is finished, run the command below to ensure the installation was successful, the result will include the version information of FFmpeg you just installed.
ffmpeg
Output:
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 
  configuration: --prefix=/usr --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Các bài viết liên quan:
  • Cut and split audio and video with Java and FFmpeg
No ADS
No ADS