fedora 安装h264 kdenlive支持
方案一:使用 RPM Fusion 安装解码器(推荐用于 dnf 安装版)
如果你是通过 dnf install kdenlive 安装的,你需要手动补充丢失的编码库:
-
启用 RPM Fusion 源(如果尚未启用):
Bashsudo 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 -
切换到完整的 FFmpeg 库: Fedora 默认使用减配版的
ffmpeg-free,需要将其替换为 RPM Fusion 提供的全功能版本:Bashsudo dnf swap ffmpeg-free ffmpeg --allowerasing -
安装额外的多媒体插件和 H.264 编码器:
Bashsudo dnf install libavcodec-freeworld x264 gstreamer1-libav gstreamer1-plugin-openh264 sudo dnf groupupdate multimedia --set-op="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin -
重启 Kdenlive,现在在“渲染”窗口中应该可以看到 H.264 选项已启用。
本文来自博客园,作者:木子欢儿,转载请注明原文链接:https://www.cnblogs.com/HGNET/p/19505156

浙公网安备 33010602011771号