fedora 安装smplayer 播放各种格式视频

时间:2021-02-15 07:06:37

升级重装fedora后发现播放不了常见视频格式,发现fedora官方repo没有smplayer及相关解码器(版权问题),smplayer 在 rpmfusion 仓库上有。

[root@localhost kemin]# rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Retrieving http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
warning: /var/tmp/rpm-tmp.QxqiT1: Header V4 RSA/SHA1 Signature, key ID 97f4d1c1: NOKEY
warning: /var/tmp/rpm-tmp.a9r6J0: Header V3 RSA/SHA256 Signature, key ID a668b376: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:rpmfusion-free-release-22-1 ################################# [ 50%]
warning: rpmfusion-nonfree-release-21-1.noarch: Header V3 RSA/SHA256 Signature, key ID a668b376: NOKEY
2:rpmfusion-nonfree-release-21-1 ################################# [100%]
[root@localhost kemin]# dnf search smplayer
Failed to synchronize cache for repo 'google-chrome' from 'http://dl.google.com/linux/chrome/rpm/stable/x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
RPM Fusion for Fedora 23 - Nonfree - Updates 108 kB/s | 67 kB 00:00
RPM Fusion for Fedora 23 - Free 415 kB/s | 738 kB 00:01
RPM Fusion for Fedora 23 - Free - Updates 322 kB/s | 332 kB 00:01
RPM Fusion for Fedora 23 - Nonfree 354 kB/s | 218 kB 00:00
Last metadata expiration check performed 0:00:00 ago on Mon Jan 25 16:33:52 2016.
=========================================================== N/S Matched: smplayer ============================================================
smplayer.i686 : A graphical frontend for mplayer
smplayer.x86_64 : A graphical frontend for mplayer
[root@localhost kemin]# dnf install smplayer
Failed to synchronize cache for repo 'google-chrome' from 'http://dl.google.com/linux/chrome/rpm/stable/x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Last metadata expiration check performed 0:02:38 ago on Mon Jan 25 16:33:52 2016.
Dependencies resolved.
==============================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================
Installing:
a52dec x86_64 0.7.4-19.fc23 rpmfusion-free-updates 65 k
faad2-libs x86_64 1:2.7-6.fc22 rpmfusion-free 154 k
ffmpeg-libs x86_64 2.8.5-1.fc23 rpmfusion-free-updates 5.5 M
freeglut x86_64 3.0.0-2.fc23 fedora 186 k
fribidi x86_64 0.19.6-5.fc23 fedora 69 k
lame-libs x86_64 3.99.5-5.fc23 rpmfusion-free-updates 345 k
libass x86_64 0.13.1-1.fc23 updates 95 k
libbs2b x86_64 3.1.0-15.fc23 fedora 28 k
libcaca x86_64 0.99-0.25.beta18.fc23 fedora 222 k
libdca x86_64 0.0.5-9.fc22 rpmfusion-free 106 k
libmpeg2 x86_64 0.5.1-11.fc22 rpmfusion-free 74 k
libmpg123 x86_64 1.22.4-1.fc23 rpmfusion-free-updates 183 k
librtmp x86_64 2.4-5.20150925.gita107cef.fc23 rpmfusion-free-updates 74 k
libva x86_64 1.6.2-1.fc23 updates 83 k
lirc-libs x86_64 0.9.3a-3.fc23 updates 110 k
mplayer x86_64 1.2-1.fc23 rpmfusion-free-updates 1.1 M
mplayer-common x86_64 1.2-1.fc23 rpmfusion-free-updates 1.2 M
openjpeg-libs x86_64 1.5.1-15.fc23 fedora 89 k
schroedinger x86_64 1.0.11-9.fc23 fedora 317 k
smplayer x86_64 15.11.0-1.fc23 rpmfusion-free-updates 3.2 M
x264-libs x86_64 0.148-1.20151020gita0cd7d3.fc23 rpmfusion-free-updates 590 k
x265-libs x86_64 1.8-1.fc23 rpmfusion-free-updates 528 k
xvidcore x86_64 1.3.4-2.fc23 rpmfusion-free-updates 266 k

Transaction Summary
==============================================================================================================================================
Install 23 Packages

Total download size: 15 M
Installed size: 44 M
Is this ok [y/N]: y


748