特殊:Badtitle/NS100:Beginners/Guide/Feisty/Multimedia/zh:修订间差异
新页面: {{Copyedit translation|from=https://help.ubuntu.com/community/Beginners/Guide/Feisty/Multimedia}} {{From|https://help.ubuntu.com/community/Beginners/Guide/Feisty/Multimedia}} {{Translator... |
|||
第28行: | 第28行: | ||
== DVD回放和Win32的解码器 == | == DVD回放和Win32的解码器 == | ||
在终端里输入以下命令来编辑文件/etc/apt/sources.list: | |||
<pre><nowiki> | <pre><nowiki> | ||
第34行: | 第34行: | ||
</nowiki></pre> | </nowiki></pre> | ||
在文件中增加源Medibuntu: | |||
<pre><nowiki> | <pre><nowiki> |
2007年11月10日 (六) 19:16的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Beginners/Guide/Feisty/Multimedia }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/af | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Afrikaans| [[::Beginners/Guide/Feisty/Multimedia/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ar | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|العربية| [[::Beginners/Guide/Feisty/Multimedia/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/az | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|azərbaycanca| [[::Beginners/Guide/Feisty/Multimedia/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/bcc | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|جهلسری بلوچی| [[::Beginners/Guide/Feisty/Multimedia/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/bg | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|български| [[::Beginners/Guide/Feisty/Multimedia/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/br | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|brezhoneg| [[::Beginners/Guide/Feisty/Multimedia/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ca | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|català| [[::Beginners/Guide/Feisty/Multimedia/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/cs | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|čeština| [[::Beginners/Guide/Feisty/Multimedia/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/de | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Deutsch| [[::Beginners/Guide/Feisty/Multimedia/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/el | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Ελληνικά| [[::Beginners/Guide/Feisty/Multimedia/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/es | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|español| [[::Beginners/Guide/Feisty/Multimedia/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/fa | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|فارسی| [[::Beginners/Guide/Feisty/Multimedia/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/fi | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|suomi| [[::Beginners/Guide/Feisty/Multimedia/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/fr | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|français| [[::Beginners/Guide/Feisty/Multimedia/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/gu | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|ગુજરાતી| [[::Beginners/Guide/Feisty/Multimedia/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/he | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|עברית| [[::Beginners/Guide/Feisty/Multimedia/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/hu | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|magyar| [[::Beginners/Guide/Feisty/Multimedia/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/id | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Bahasa Indonesia| [[::Beginners/Guide/Feisty/Multimedia/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/it | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|italiano| [[::Beginners/Guide/Feisty/Multimedia/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ja | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|日本語| [[::Beginners/Guide/Feisty/Multimedia/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ko | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|한국어| [[::Beginners/Guide/Feisty/Multimedia/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ksh | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Ripoarisch| [[::Beginners/Guide/Feisty/Multimedia/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/mr | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|मराठी| [[::Beginners/Guide/Feisty/Multimedia/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ms | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Bahasa Melayu| [[::Beginners/Guide/Feisty/Multimedia/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/nl | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Nederlands| [[::Beginners/Guide/Feisty/Multimedia/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/no | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|norsk| [[::Beginners/Guide/Feisty/Multimedia/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/oc | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|occitan| [[::Beginners/Guide/Feisty/Multimedia/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/pl | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|polski| [[::Beginners/Guide/Feisty/Multimedia/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/pt | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|português| [[::Beginners/Guide/Feisty/Multimedia/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ro | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|română| [[::Beginners/Guide/Feisty/Multimedia/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/ru | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|русский| [[::Beginners/Guide/Feisty/Multimedia/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/si | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|සිංහල| [[::Beginners/Guide/Feisty/Multimedia/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/sq | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|shqip| [[::Beginners/Guide/Feisty/Multimedia/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/sr | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|српски / srpski| [[::Beginners/Guide/Feisty/Multimedia/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/sv | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|svenska| [[::Beginners/Guide/Feisty/Multimedia/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/th | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|ไทย| [[::Beginners/Guide/Feisty/Multimedia/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/tr | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Türkçe| [[::Beginners/Guide/Feisty/Multimedia/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/vi | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|Tiếng Việt| [[::Beginners/Guide/Feisty/Multimedia/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/yue | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|粵語| [[::Beginners/Guide/Feisty/Multimedia/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/zh | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|中文| [[::Beginners/Guide/Feisty/Multimedia/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/zh-hans | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|中文(简体)| [[::Beginners/Guide/Feisty/Multimedia/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia | UbuntuHelp:Beginners/Guide/Feisty/Multimedia | {{#if: | :}}Beginners/Guide/Feisty/Multimedia/zh}}/zh-hant | • {{#if: UbuntuHelp:Beginners/Guide/Feisty/Multimedia|中文(繁體)| [[::Beginners/Guide/Feisty/Multimedia/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Beginners/Guide/Feisty/Multimedia|:Beginners/Guide/Feisty/Multimedia/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Beginners/Guide/Feisty/Multimedia/zh/zh | | {{#ifexist: Beginners/Guide/Feisty/Multimedia/zh/zh | | {{#ifeq: {{#titleparts:Beginners/Guide/Feisty/Multimedia/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Beginners/Guide/Feisty/Multimedia/zh|1|-1|}} | zh | | }}
播放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"。