UbuntuHelp:Beginners/Guide/Feisty/Multimedia/zh
来自Ubuntu中文
Kennek(讨论 | 贡献)2007年5月26日 (六) 22:15的版本 (新页面: {{Copyedit translation|from=https://help.ubuntu.com/community/Beginners/Guide/Feisty/Multimedia}} {{From|https://help.ubuntu.com/community/Beginners/Guide/Feisty/Multimedia}} {{Translator...)
点击翻译: |
English • 中文 |
播放MP3等格式的文件
在终端里执行以下的命令:
sudo apt-get update sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad ubuntu-restricted-extras
简单解释一下上面的包各自对应的功能。
- "GStreamer extra plugins" gstreamer0.10-plugins-ugly
- "GStreamer ffmpeg video plugin" gstreamer0.10-ffmpeg
- "GStreamer plugins for aac, xvid, mpeg2, faad" gstreamer0.10-plugins-bad-multiverse
- "GStreamer plugins for mms, wavpack, quicktime, musepack" gstreamer0.10-plugins-bad
Flash插件的安装
sudo apt-get install ubuntu-restricted-extras flashplugin-nonfree
DVD回放和Win32的解码器
在终端里输入以下命令来编辑/etc/apt/sources.list这个文件:
$gksudo gedit /etc/apt/sources.list
在文件中增加Medibuntu这个源:
deb http://medibuntu.sos-sts.com/repo/ feisty free non-free
为了能顺利安装这些包,必须导入Medibuntu源的gpg key: 输入以下的命令来完成这项操作:
wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add -
更新包列表,获取新增加的Medibuntu源的包列表,然后安装包: 在终端里输入以下的命令:
sudo apt-get update sudo apt-get install libdvdcss2 w32codecs
播放Real格式的文件
Totem-gstreamer并不能播放real文件(像*.rmvb等等),但是你可以用Totem-xine来播放。
sudo apt-get install totem-xine libxine-extracodecs
这里有个bug,在播放eal文件的时候会没有声音,以下是解决的方法:
$ gedit ~/.xine/catalog.cache
找到这一节:
[/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so] size=11300 mtime=1171041406 type=131 api=15 id=realadec version=10104 supported_types=52494336 52559872 52756480 decoder_priority=5
把“decoder_priority=5″ 改成“decoder_priority=10"。