Fedora32播放影音视频的方法

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

[linuxsight@localhost ~]$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
上次元数据过期检查:0:01:04 前,执行于 2020年05月16日 星期六 00时35分53秒。
rpmfusion-free-release-32.noarch.rpm 14 kB/s | 13 kB 00:00
rpmfusion-nonfree-release-32.noarch.rpm 13 kB/s | 13 kB 00:01
依赖关系解决。
================================================================================
Package Arch Version Repository Size
================================================================================
安装:
rpmfusion-free-release noarch 32-1 @commandline 13 k
rpmfusion-nonfree-release noarch 32-1 @commandline 13 k

事务概要
================================================================================
安装 2 软件包

总计:25 k
安装大小:14 k
确定吗?[y/N]: y
下载软件包:
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : rpmfusion-nonfree-release-32-1.noarch 1/2
安装 : rpmfusion-free-release-32-1.noarch 2/2
验证 : rpmfusion-free-release-32-1.noarch 1/2
验证 : rpmfusion-nonfree-release-32-1.noarch 2/2

已安装:
rpmfusion-free-release-32-1.noarch rpmfusion-nonfree-release-32-1.noarch

完毕!
[linuxsight@localhost ~]$ sudo dnf install gstreamer1-libav
RPM Fusion for Fedora 32 - Free - Updates 3.6 kB/s | 206 kB 00:57
RPM Fusion for Fedora 32 - Free 19 kB/s | 679 kB 00:35
RPM Fusion for Fedora 32 - Nonfree - Updates 148 B/s | 9.4 kB 01:05
RPM Fusion for Fedora 32 - Nonfree 2.8 kB/s | 225 kB 01:21
依赖关系解决。
================================================================================
Package Arch Version Repository Size
================================================================================
安装:
gstreamer1-libav x86_64 1.16.2-3.fc32 rpmfusion-free 275 k
安装依赖关系:
ffmpeg-libs x86_64 4.2.2-5.fc32 rpmfusion-free 7.1 M
intel-mediasdk x86_64 20.1.0-1.fc32 updates 3.0 M
libaom x86_64 1.0.0-9.20190810git9666276.fc32 fedora 1.6 M
libass x86_64 0.14.0-5.fc32 fedora 110 k
libdav1d x86_64 0.5.2-2.fc32 fedora 360 k
libva x86_64 2.7.1-1.fc32 updates 99 k
libvdpau x86_64 1.3-2.fc32 fedora 17 k
libvmaf x86_64 1.3.15-2.fc32 fedora 409 k
ocl-icd x86_64 2.2.12-9.fc32 fedora 51 k
opencore-amr x86_64 0.1.5-10.fc32 rpmfusion-free 183 k
pugixml x86_64 1.10-2.fc32 fedora 100 k
srt-libs x86_64 1.4.1-3.fc32 fedora 258 k
vid.stab x86_64 1.1.0-13.20190213gitaeabc8d.fc32 fedora 49 k
vo-amrwbenc x86_64 0.1.3-12.fc32 rpmfusion-free 80 k
x264-libs x86_64 0.159-7.20191127git1771b55.fc32 rpmfusion-free 645 k
x265-libs x86_64 3.3-2.fc32 rpmfusion-free 1.1 M
xvidcore x86_64 1.3.7-3.fc32 rpmfusion-free 264 k
zimg x86_64 2.9.3-2.fc32 updates 285 k
zvbi x86_64 0.2.35-10.fc32 fedora 439 k

事务概要
================================================================================
安装 20 软件包

总下载:16 M
安装大小:73 M
确定吗?[y/N]: y
下载软件包:
(1/20): libva-2.7.1-1.fc32.x86_64.rpm 163 kB/s | 99 kB 00:00
(2/20): zimg-2.9.3-2.fc32.x86_64.rpm 56 kB/s | 285 kB 00:05
(3/20): intel-mediasdk-20.1.0-1.fc32.x86_64.rpm 603 kB/s | 3.0 MB 00:05
(4/20): libaom-1.0.0-9.20190810git9666276.fc32. 270 kB/s | 1.6 MB 00:05
(5/20): libass-0.14.0-5.fc32.x86_64.rpm 74 kB/s | 110 kB 00:01
(6/20): libdav1d-0.5.2-2.fc32.x86_64.rpm 217 kB/s | 360 kB 00:01
(7/20): libvdpau-1.3-2.fc32.x86_64.rpm 89 kB/s | 17 kB 00:00
(8/20): libvmaf-1.3.15-2.fc32.x86_64.rpm 956 kB/s | 409 kB 00:00
(9/20): ocl-icd-2.2.12-9.fc32.x86_64.rpm 187 kB/s | 51 kB 00:00
(10/20): pugixml-1.10-2.fc32.x86_64.rpm 315 kB/s | 100 kB 00:00
(11/20): srt-libs-1.4.1-3.fc32.x86_64.rpm 631 kB/s | 258 kB 00:00
(12/20): vid.stab-1.1.0-13.20190213gitaeabc8d.f 126 kB/s | 49 kB 00:00
(13/20): zvbi-0.2.35-10.fc32.x86_64.rpm 314 kB/s | 439 kB 00:01
(14/20): opencore-amr-0.1.5-10.fc32.x86_64.rpm 285 kB/s | 183 kB 00:00
(15/20): vo-amrwbenc-0.1.3-12.fc32.x86_64.rpm 854 kB/s | 80 kB 00:00
(16/20): x264-libs-0.159-7.20191127git1771b55.f 1.1 MB/s | 645 kB 00:00
(17/20): ffmpeg-libs-4.2.2-5.fc32.x86_64.rpm 2.4 MB/s | 7.1 MB 00:02
(18/20): xvidcore-1.3.7-3.fc32.x86_64.rpm 2.0 MB/s | 264 kB 00:00
(19/20): x265-libs-3.3-2.fc32.x86_64.rpm 1.4 MB/s | 1.1 MB 00:00
(20/20): gstreamer1-libav-1.16.2-3.fc32.x86_64. 19 kB/s | 275 kB 00:14
--------------------------------------------------------------------------------
总计 641 kB/s | 16 MB 00:26
警告:/var/cache/dnf/rpmfusion-free-b06e117020f7383b/packages/ffmpeg-libs-4.2.2-5.fc32.x86_64.rpm: 头V3 RSA/SHA1 Signature, 密钥 ID 100bcd92: NOKEY
RPM Fusion for Fedora 32 - Free 1.6 MB/s | 1.7 kB 00:00
导入 GPG 公钥 0x100BCD92:
Userid: "RPM Fusion free repository for Fedora (32) <rpmfusion-buildsys@lists.rpmfusion.org>"
指纹: 7BDA 98EF 5930 50A3 4B16 97AB A0EE 9D83 100B CD92
来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-32
确定吗?[y/N]: y
导入公钥成功
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : ocl-icd-2.2.12-9.fc32.x86_64 1/20
安装 : libva-2.7.1-1.fc32.x86_64 2/20
安装 : intel-mediasdk-20.1.0-1.fc32.x86_64 3/20
安装 : x264-libs-0.159-7.20191127git1771b55.fc32.x86_64 4/20
运行脚本: x264-libs-0.159-7.20191127git1771b55.fc32.x86_64 4/20
安装 : xvidcore-1.3.7-3.fc32.x86_64 5/20
安装 : x265-libs-3.3-2.fc32.x86_64 6/20
安装 : vo-amrwbenc-0.1.3-12.fc32.x86_64 7/20
安装 : opencore-amr-0.1.5-10.fc32.x86_64 8/20
安装 : zvbi-0.2.35-10.fc32.x86_64 9/20
运行脚本: zvbi-0.2.35-10.fc32.x86_64 9/20
安装 : vid.stab-1.1.0-13.20190213gitaeabc8d.fc32.x86_64 10/20
安装 : srt-libs-1.4.1-3.fc32.x86_64 11/20
安装 : pugixml-1.10-2.fc32.x86_64 12/20
安装 : libvmaf-1.3.15-2.fc32.x86_64 13/20
安装 : libvdpau-1.3-2.fc32.x86_64 14/20
安装 : libdav1d-0.5.2-2.fc32.x86_64 15/20
安装 : libass-0.14.0-5.fc32.x86_64 16/20
安装 : libaom-1.0.0-9.20190810git9666276.fc32.x86_64 17/20
安装 : zimg-2.9.3-2.fc32.x86_64 18/20
安装 : ffmpeg-libs-4.2.2-5.fc32.x86_64 19/20
安装 : gstreamer1-libav-1.16.2-3.fc32.x86_64 20/20
运行脚本: gstreamer1-libav-1.16.2-3.fc32.x86_64 20/20
验证 : intel-mediasdk-20.1.0-1.fc32.x86_64 1/20
验证 : libva-2.7.1-1.fc32.x86_64 2/20
验证 : zimg-2.9.3-2.fc32.x86_64 3/20
验证 : libaom-1.0.0-9.20190810git9666276.fc32.x86_64 4/20
验证 : libass-0.14.0-5.fc32.x86_64 5/20
验证 : libdav1d-0.5.2-2.fc32.x86_64 6/20
验证 : libvdpau-1.3-2.fc32.x86_64 7/20
验证 : libvmaf-1.3.15-2.fc32.x86_64 8/20
验证 : ocl-icd-2.2.12-9.fc32.x86_64 9/20
验证 : pugixml-1.10-2.fc32.x86_64 10/20
验证 : srt-libs-1.4.1-3.fc32.x86_64 11/20
验证 : vid.stab-1.1.0-13.20190213gitaeabc8d.fc32.x86_64 12/20
验证 : zvbi-0.2.35-10.fc32.x86_64 13/20
验证 : ffmpeg-libs-4.2.2-5.fc32.x86_64 14/20
验证 : gstreamer1-libav-1.16.2-3.fc32.x86_64 15/20
验证 : opencore-amr-0.1.5-10.fc32.x86_64 16/20
验证 : vo-amrwbenc-0.1.3-12.fc32.x86_64 17/20
验证 : x264-libs-0.159-7.20191127git1771b55.fc32.x86_64 18/20
验证 : x265-libs-3.3-2.fc32.x86_64 19/20
验证 : xvidcore-1.3.7-3.fc32.x86_64 20/20

已安装:
ffmpeg-libs-4.2.2-5.fc32.x86_64
gstreamer1-libav-1.16.2-3.fc32.x86_64
intel-mediasdk-20.1.0-1.fc32.x86_64
libaom-1.0.0-9.20190810git9666276.fc32.x86_64
libass-0.14.0-5.fc32.x86_64
libdav1d-0.5.2-2.fc32.x86_64
libva-2.7.1-1.fc32.x86_64
libvdpau-1.3-2.fc32.x86_64
libvmaf-1.3.15-2.fc32.x86_64
ocl-icd-2.2.12-9.fc32.x86_64
opencore-amr-0.1.5-10.fc32.x86_64
pugixml-1.10-2.fc32.x86_64
srt-libs-1.4.1-3.fc32.x86_64
vid.stab-1.1.0-13.20190213gitaeabc8d.fc32.x86_64
vo-amrwbenc-0.1.3-12.fc32.x86_64
x264-libs-0.159-7.20191127git1771b55.fc32.x86_64
x265-libs-3.3-2.fc32.x86_64
xvidcore-1.3.7-3.fc32.x86_64
zimg-2.9.3-2.fc32.x86_64
zvbi-0.2.35-10.fc32.x86_64

完毕!
[linuxsight@localhost ~]$

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: