首页 技术 正文
技术 2022年11月23日
0 收藏 926 点赞 3,269 浏览 1321 个字

在Fedora 23上安装多媒体解码器

时间:2016-06-25来源:topspeedsnail.com 作者:斗大的熊猫 

安装多媒体解码器允许你播放更多格式的音频和视频格式。大多数这些解码器都是专有的、non-free,为了安装这些解码器,需要额外的库。

设置RPMFusion仓库

rpmfusion软件仓库中包含很多默认仓库中没有的软件。执行:

$ su -c ‘dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm’

现在可以安装rpmfusion仓库中的软件了。

安装gstreamer插件和ffmpeg

许多音视频播放软件都使用gstreamer(如Totem, Banshee),用来播放额外的音视频格式。执行:

$ sudo dnf install gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-free-extras ffmpeg

安装VLC、smplayer播放器

VLC是强大的视频播放器,可以播放流行的视频格式。它在rpmfusion仓库中,安装命令:

$ sudo dnf install vlc

sudo dnf install smplayer

实践证明,还是smplayer好用。即使以下步骤走完,系统自带的那个播放器还是不能打开视频。但是smplayer可以的。

你也可以从rpmfusion仓库中安装smplayer播放器。

安装libdvdcss

libdvdcss软件包,为播放器添加播放加密DVD影碟的功能。但是它不在rpmfusion仓库中,需要添加另一个仓库源:

$ sudo dnf config-manager –add-repo=http://negativo17.org/repos/fedora-handbrake.repo   (  原来是这个,我怀疑其不对,改为下面的)

$ sudo dnf config-manager –add-repo=http://negativo17.org/repos/fedora-multimedia.repo

安装libdvdcss:

$ sudo dnf install libdvdcss

安装Handbrake

Handbrake是很好用的视频格式转换工具,安装:

$ sudo dnf install HandBrake-gui

上面这些解码器安装完成之后,你就可以播放流行的音频和视频格式。

本文永久更新地址:http://www.linuxdiyf.com/linux/21826.html

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,910
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,435
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,250
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,061
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,693
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,731