查看“64BitWin32VideoCodecs”的源代码
来自Ubuntu中文
←
64BitWin32VideoCodecs
跳到导航
跳到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
== 指南: Win32视频解码器(针对AMD64和64位系统) == 原文出处: 原文作者:Alberto 授权许可: * [http://creativecommons.org/licenses/by-sa/2.0/ 创作共用协议Attribution-ShareAlike 2.0] * [http://www.gnu.org/copyleft/fdl.html GNU自由文档许可证] 翻译人员:lattice 校正人员: 贡献人员: 适用版本: 文章状态:[[等待校正]] ---- This HOWTO is mainly aimed at all the users of Ubuntu 64bit (although it would work also on a 32bit system) who can't (obviously) install these codecs using the repositories. 这篇HOWTO主要针对不能(显然)通过软件源来安装解码器的的64位Ubuntu(尽管32位系统也适用)的使用者。 If you want to watch your movies (avi and wmv) or listen to your music files (wma) which require Win32 codecs this is what you need: 如果你想看电影(avi和wmv格式)或是听音乐(wma格式),这些都需要win32解码器,以下就是你要做的了: * You have to OWN A LEGAL COPY of Windows, because these are proprietary codecs (somebody correct me if I'm wrong) <br>你得拥有一份合法的Windows拷贝,因为以上这些都是有专利的解码器(如果我错了请纠正我); * Install “xine-ui” and “totem-xine” in Synaptic or type in the command line: <br>适用新得利包管理器或者用命令行安装“xine-ui”和“totem-xine”: <pre><nowiki> sudo apt-get install xine-ui ; totem-xine </nowiki></pre> * Download the codecs from this website: <br>从下面这个网站下载解码器: <pre><nowiki> http://www.mplayerhq.hu/homepage/design7/dload.html (just download the “essential codecs package” 只需要下载“essential codecs package”) </nowiki></pre> * Open the command line(“Konsole” if you are using KDE, “Terminal” if you are using GNOME) and follow these steps: <br>打开命令行终端(如果你用KDE就用“Konsole”,如果你用Gnome就用“Terminal”)并按照下列步骤来做: a. Get to the directory where you have downloaded the file (/home/alberto/downloads in my case) <br>到你下载文件的目录去(我使用/home/alberto/downloads) <pre><nowiki> cd /home/alberto/downloads </nowiki></pre> a. Create the directory in which you are going to put the codecs (/usr/lib/win32 in my case) <br>创建一个目录用来存放解码器(我使用/usr/lib/win32 <pre><nowiki> sudo mkdir /usr/lib/win32 </nowiki></pre> a. Now, assuming the file you downloaded is “essential-20050412.tar.bz2”: <br>现在假设你下载的文件是“essential-20050412.tar.bz2” <pre><nowiki> sudo tar jxvf essential-20050412.tar.bz2 /usr/lib/win32 </nowiki></pre> a. Then, if you are using KDE type: (alberto is my username and the name of my folder, so remember to put YOURS) <br>然后,如果你使用KDE桌面:(alberto是我的用户名和主目录名,记得换成你的用户名或主目录名) <pre><nowiki> kate /home/alberto/.xine/config </nowiki></pre> <br> Otherwise if you are using GNOME type: <br>否则如果你使用Gnome桌面: <pre><nowiki> gedit /home/alberto/.xine/config </nowiki></pre> <br> (please don't forget to put the dot “.” before the word “xine”) <br>(请不要忘记在"xine"之前加上".") a. Get to the end of the document and add the following line: <br>到文件的最后加上下面这行: <pre><nowiki> decoder.external.win32_codecs_path:/usr/lib/win32 </nowiki></pre> <br> Here's an example (part of my config file): <br>下面是一个范例(我的配置文件中的部分): <pre><nowiki> # percentage of skipped frames to tolerate # numeric, default: 10 #engine.performance.warn_skipped_threshold:10 # allow implicit changes to the configuration (e.g. by MRL) # bool, default: 0 #misc.implicit_config:0 decoder.external.win32_codecs_path:/usr/lib/win32 </nowiki></pre> a. Save the file (yes, overwrite it) and exit. <br>保存文件(没错,覆盖原来的文件)然后退出。 a. Now restart xine (if you were using it) <br>现在重启你的xine(如果你正在使用的话)。 Congratulations, now you can open wma, wmv, and avi files by using Totem and Xine! 恭喜你,你现在可以用totem和xine打开wma、wmv和avi文件了。 P.S.:Unfortunately I didn't get Amarok to play wma files although I installed its xine engine and I set it as its default engine. PS:不幸的是,尽管我安装了相应的xine引擎、也将其设为默认引擎了,但是我还是没法用Amarok播放wma文件。 Well, better than nothing! 不过,总比没有好! Alberto Alberto提供 UPDATE: It seems wmv9 don't work with my HOWTO. I promise to find a way to make them work as soon as I have my computer back from Compaq. 更新:用我的HOWTO好像还是没法播放wmv9。我保证只要我从Compaq那里取回电脑之后,尽快找到解决的方法。
返回
64BitWin32VideoCodecs
。
导航菜单
页面操作
页面
讨论
阅读
查看源代码
历史
页面操作
页面
讨论
更多
工具
个人工具
登录
导航
首页
最近更改
随机页面
页面分类
帮助
搜索
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息