安装fedora在u盘
Fedora does not include MPlayer or MEncoder for some reasons in its official repositories. But RPMfusion does it for us. Let’s install mplayer and mencoder and learn some tricks to play rmvb files.
由于某些原因, Fedora在其官方存储库中不包含MPlayer或MEncoder。 但是RPMfusion为我们做到了。 让我们安装mplayer和mencoder并学习一些播放rmvb 文件的技巧。
1.添加RPMfusion存储库: (1. Add RPMfusion repository:)
Enable RPM Fusion repositories
2.安装MPlayer和MEncoder (2. Install MPlayer and MEncoder)
# dnf install mplayer mencoder
3.获取编解码器 (3. Get codecs)
Most of the time, you will do not need to manually download codecs. If you find some files that can not be played by mplayer, you may try to download some codecs.
大多数时候,您将不需要手动下载编解码器。 如果找到某些mplayer无法播放的文件,则可以尝试下载一些编解码器。
Dowload all-yyyymmdd.tar.bz2 from http://www1.mplayerhq.hu/MPlayer/releases/codecs.
从http://www1.mplayerhq.hu/MPlayer/releases/codecs下载 all-yyyymmdd.tar.bz2。
Download a codecs such as all-20100303.tar.bz2. Then you can extract the package and store the files to a location that mplayer/mencoder will search for.
下载编解码器,例如all-20100303.tar.bz2。 然后,您可以提取包并将文件存储到mplayer / mencoder将搜索的位置。
# tar xf all-20100303.tar.bz2
# mkdir -p /usr/local/lib/codecs/
# mv all-20100303/* /usr/local/lib/codecs/
4.享受吧! (4. Enjoy it!)
5.播放rmvb文件 (5. Play rmvb files)
If there is no video or mplayer crashes when playing .rmvb files, you need to install libstdc++ libraries:
如果播放.rmvb文件时没有视频或mplayer崩溃,则需要安装libstdc ++库:
# yum install libstdc++ compat-libstdc++-33 compat-libstdc++-296
Then try using mplay to play rmvb files again. It should work now.
然后尝试使用mplay再次播放rmvb文件。 现在应该可以工作了。
More usage of mplayer and mencoder, please check the mplayer/mencoder manual page.
更多有关mplayer和mencoder的用法,请查看mplayer / mencoder手册页 。
For more tips on using mplayer/mencoder, please check the QA tagged mplayer.
有关使用mplayer / mencoder的更多提示,请检查QA标签的mplayer 。
安装fedora在u盘