Skip to content

This script provides an automated way to install FFmpeg on Linux. 在Linux上自动一键安装FFmpeg的脚本。

License

Notifications You must be signed in to change notification settings

ZL-Asica/FFmpeg-One-Click-Installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FFmpeg One Click Installer - Linux

中文

Bash GitHub

This script provides an automated way to install FFmpeg on various Linux distributions and architectures with an easy-to-use interface and robust error handling.

✨ Features

  • Wide Distribution Support: Compatible with major Linux distributions like CentOS, Ubuntu, Debian, RHEL, Fedora, and derivatives.
  • Multi-Architecture Compatibility: Supports both x86_64 and ARM (aarch64, arm64) architectures.
  • Flexible Installation: Choose between quick installation (via package manager) and compilation from source (for maximum control).
  • Multi-Language Interface: Supports multiple languages, currently available in English and Chinese.
  • Automatic Cleanup: Ensures a clean environment by removing unnecessary files after installation.

📋 Requirements

  • Root privileges (sudo).
  • Internet connection for downloading dependencies and script modules.

🚀 Installation

Run the following one-liner to install FFmpeg interactively:

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/ZL-Asica/FFmpeg-One-Click-Installer/main/zla-install-ffmpeg.sh)"

or through wget:

sudo bash -c "$(wget -O- https://raw.githubusercontent.com/ZL-Asica/FFmpeg-One-Click-Installer/main/zla-install-ffmpeg.sh)"

⚠️ Notice for CentOS/RHEL/Fedora Users

  • Compilation Installation Unavailable: Due to dependency limitations, compiling FFmpeg from source is not supported on CentOS/RHEL/Fedora. Quick installation via yum is the only available method for these distributions.
  • Recommendation for Debian/Ubuntu: It is recommended to use the compilation installation method for the best customization and compatibility on Debian/Ubuntu/Raspbian-based systems.

🛠️ Usage

Once the installation is complete, you can use FFmpeg directly by running the ffmpeg command. For example:

ffmpeg -version

If you encounter any issues, please report them on the GitHub Issues page.

📖 FFmpeg Tutorial

For more advanced usage of FFmpeg, check out the tutorial on my blog (in Chinese).

🌐 Screenshots

English Version
EN-zla-ffmpeg

Japanese Version
JP-zla-ffmpeg

Chinese Version ZH-zla-ffmpeg

About

This script provides an automated way to install FFmpeg on Linux. 在Linux上自动一键安装FFmpeg的脚本。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Languages