个人工具
登录
查看“UbuntuHelp:MPlayer/Compile”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:MPlayer/Compile”的源代码
来自Ubuntu中文
←
UbuntuHelp:MPlayer/Compile
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/MPlayer/Compile}} {{Languages|UbuntuHelp:MPlayer/Compile}} https://help.ubuntu.com/community/[[UbuntuHelp:[[UbuntuHelp:IconsPage|IconsPage]]?|IconsPage]]??action=AttachFile&do=get&target=mplayer.png https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Note: This is not a sane way to install mplayer as it is available from the Ubuntu repositories. See the [[UbuntuHelp:MPlayer| [[UbuntuHelp:MPlayer|MPlayer]] wiki page]] instead.''' === Introduction === Sometimes compiling a package on '''your''' machine can improve the way it operates. A binary compiled on your computer with your libraries will be a better fit than a binary compiled on somebody else's machine. This is a classic "configure, make, make install" compilation. See [[UbuntuHelp:ConfigureMakeMakeInstall| this wiki page]] if you need help. === Preparation === Before compiling [[UbuntuHelp:MPlayer|MPlayer]], you'll need to download the codecs you want. These can be found [http://www.mplayerhq.hu/homepage/design7/dload.html on the MPlayer web site]. To enable a GUI you need to pass <pre><nowiki> configure '--enable-gui'</nowiki></pre> This requires the GTK development libraries found in the Ubuntu package '''libgtk1.2-dev'''. You will also need '''libpng3''' and '''libpng3-dev''' packages. If you want to use the GUI you'll also need some skins which can be found on the MPlayer [http://www.mplayerhq.hu/homepage/design7/dload.html download page]. To use the On-Screen Display, you need some OSD fonts from they can also be found there. In case you require bidirectional text support, pass <pre><nowiki> configure '--enable-fribidi'</nowiki></pre> This requires the fribidi library from the '''libfribidi0''' Ubuntu package. I didn't need any other packages, but if you do please add to this page. <br> === Build it === Then just run: <pre><nowiki> make sudo make install</nowiki></pre> * Using [[UbuntuHelp:CheckInstall|CheckInstall]] (Optional) If you have '''[[UbuntuHelp:CheckInstall|CheckInstall]]''' on your machine, run <pre><nowiki> sudo checkinstall</nowiki></pre> The [[UbuntuHelp:CheckInstall|CheckInstall]] program will keep track of where files were installed, and meshes with the Debian Synaptic/Apt-get system. Done! Ahh.. DVD, [[UbuntuHelp:MP3|MP3]], DivX playback all in one. <br> ---- [[category:CategoryDocumentation]] [[category:CategoryCleanup]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:MPlayer/Compile
。