┌──(rfi88㉿github)-[~]
└─$ cat ~/blog/install-ffmpeg-fedora-43.html

Tutorial Install FFmpeg Full di Fedora 43 - Fix Konflik ffmpeg-free

11 May 2026 | [ cd ~/ ] | [ github ]

Fedora FFmpeg Tutorial

Masalah Umum di Fedora 43

Secara default Fedora cuma nyediain ffmpeg-free yang codec-nya terbatas. Nggak bisa encode H.264, H.265, AAC, dll. Kalau dipaksa sudo dnf install ffmpeg bakal muncul error konflik kayak gini:

installed package ffmpeg-free-7.1.2-4.fc43.x86_64 conflicts with ffmpeg

Solusinya: Pake FFmpeg versi lengkap dari RPM Fusion.


Langkah 1: Aktifkan RPM Fusion

Fedora nggak nyediain FFmpeg full karena alasan lisensi. Kita butuh repo RPM Fusion Free & Nonfree.

Buka Terminal, jalanin:

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Ketik y buat konfirmasi install.


Langkah 2: Swap ffmpeg-free ke ffmpeg Full

Jangan sudo dnf install ffmpeg langsung, bakal error konflik. Pake command swap biar aman:

sudo dnf swap ffmpeg-free ffmpeg --allowerasing

Command ini bakal:

  1. Hapus ffmpeg-free + library yang terbatas
  2. Install ffmpeg, ffmpeg-libs, x264-libs, x265-libs dari RPM Fusion

Penting: Pas ditanya ini, ketik y dua kali:

Total ukuran paket yang diterima adalah 14 MiB. Perlu mengunduh 14 MiB.
Is this ok [y/N]: y

Mengimpor kunci OpenPGP 0xD651FF2E:
Is this ok [y/N]: y

Kalau kamu skip import GPG key, installnya bakal gagal dengan error Signature verification failed.


Langkah 3: Verifikasi Install

1. Cek versi FFmpeg:

ffmpeg -version

Harusnya muncul ffmpeg version 7.1.2 dan ada tulisan built with gcc.

2. Cek encoder H.264 & H.265 udah ada:

ffmpeg -encoders | grep 264
ffmpeg -encoders | grep 265

Kalau muncul libx264 dan libx265, berarti udah beres.


Bonus: Test Convert Video

Coba compress video biar yakin udah jalan:

ffmpeg -i video_awal.mp4 -c:v libx264 -crf 23 -c:a aac video_hasil.mp4

-crf 23 = kualitas bagus dengan size kecil. Angka makin kecil makin bagus tapi file makin gede. Range 18-28 paling umum dipake.


Troubleshooting

Error Solusi
Signature verification failed Kamu skip import GPG key. Jalanin ulang command swap terus ketik y pas ditanya import key.
Curl error (28): Timeout Mirror RPM Fusion lagi lemot. Biarin aja, DNF bakal otomatis coba mirror lain. Atau ulangi command-nya.
conflicts with ffmpeg-free Jangan pake dnf install. Harus pake dnf swap ffmpeg-free ffmpeg --allowerasing

Penutup

Sekarang FFmpeg di Fedora 43 kamu udah full codec. Bisa buat convert, compress, cut video, screen record, sampai streaming ke YouTube/Twitch.

Kalo tutorial ini ngebantu, share ke temen yang pake Fedora juga ya!

Ada pertanyaan? Tulis di komentar.


[+] Komentar

┌──(rfi88㉿github)-[~]
└─$ tail -f /dev/comments


┌──(rfi88㉿github)-[~]
└─$

[✓] Connection closed.