一、complie Mplayer

1.下载 mplayer 的最新源码

svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk myplayer

2.获取编译mplayer 的所有依赖包

sudo apt-get build-dep mplayer

3.编译 mplayer 前的配置
用 --prefix 来配置自己想要安装到那个目录

cd mplayer
// 我把 mplayer 安装在 /usr/local/opt/mplayer 目录下
./configure --prefix=/usr/local/opt/mplayer --language=zh_CN

或许当你运行这步时和一样有下面的错误信息,那么就根据相应的错误来解决。

##`/mplayer$ ./configure --prefix=/usr/local/opt/mplayer --language=zh_CN
Checking for cc version ... 4.4.5
Detected operating system: Linux
Detected host architecture: i386
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:15:6)
Checking for CPU type ...  Intel(R) Core(TM)2 CPU         T5200  @ 1.60GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as ) ... ok
Checking for PIC ... no
Checking for .align is a power of two ... no
Checking for 10 assembler operands ... yes
Checking for ebx availability ... yes
Checking for yasm ...
Error: yasm not found, use --yasm='' if you really want to compile without
Check "config.log" if you do not understand why it failed.

而我这里很明显是缺少 yasm 这个编译器,那么我就去安装一下不就完了。

sudo apt-get install yasm

编译并安装 mplayer

./configure --prefix=/usr/local/opt/mplayer --language=zh_CN
make
sudo make install

4.下载最新的 codecs: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20100303.tar.bz2

5.把下载的 codecs 解压到 /usr/local/opt/mplayer/lib/codecs

tar jxvf all-20100303.tar.bz2
sudo  mv all-20100303 /usr/local/opt/mplayer/lib/codecs

complie myplayer on svn source code相关推荐

  1. Google Chrome Source Code 源码下载

    2019独角兽企业重金招聘Python工程师标准>>> Goolgle 于 2008.09.02 发布了浏览器 Google Chrome.Google Chrome 使用的内核源码 ...

  2. Pyinstaller 打包 torch 后执行失败 OSError: could not get source code

    1. 问题现象 系统环境 Python 3.6.9 torch 1.2.0 torchvision 0.4.0 Pyinstaller 4.5.1 Pyinstaller 打包 torch 后执行失败 ...

  3. Understanding The React Source Code

    Understanding The React Source Code - Initial Rendering (Simple Component) I UI updating, in its ess ...

  4. DevExpress Components16.2.6 Source Code 编译

    DevExpress 是一个比较有名的界面控件套件,提供了一系列优秀的界面控件.这篇文章将展示如何在拥有源代码的情况下,对 DevExpress 的程序集进行重新编译. 特别提示:重编译后,已安装好的 ...

  5. 转: Source Code Lookup in Eclipse(主要讲的是java的)

    Source Code Lookup in Eclipse https://www.intertech.com/Blog/source-code-lookup-in-eclipse/

  6. python3 pycharm 远程调试 启动报错 ValueError: source code string cannot contain null bytes

    现象: 启动远程调试时,报错 Traceback (most recent call last):File "/root/.pycharm_helpers/pydev/pydevd.py&q ...

  7. 退役笔记一#MySQL = lambda sql : sql + #39; Source Code 4 Explain Plan #39;

    Mysql 查询运行过程 大致分为4个阶段吧: 语法分析(sql_parse.cc<词法分析, 语法分析, 语义检查 >) >>sql_resolver.cc # JOIN.p ...

  8. Source Code Collection for Reproducible Research

    Source Code Collection for Reproducible Research [ http://www.csee.wvu.edu/~xinl/source.html] " ...

  9. PyQt5 技巧篇-便于文字排版的等宽字体推荐:Source Code Pro的中文为英文两倍宽字体

    推荐字体"Source Code Pro" 英文和数字正好是中文的一半宽. 而且字体很和谐,不像有的等宽字体字母特别宽. self.verticalLayoutWidget.set ...

  10. source code compiled install mongodb

    为什么80%的码农都做不了架构师?>>>    文章来自我的博客:https://www.lwxshow.com/server/source-code-compiled-instal ...

最新文章

  1. 路由和交换机工作原理
  2. 每日一皮:这是个有趣的妹子...
  3. mysql jpa总分数_JPA 查询COUNT示例
  4. 【算法设计与分析】02 货郎问题与计算复杂性理论
  5. AngularJS基础入门初探
  6. ios 网络状态获取_Network Kit X——网络检测工具箱
  7. gRPC传输协议使用(python教程)
  8. 消息 15135,级别 16,状态 8,过程 sp_addextendedproperty,对象无效。不允许有扩展属性,或对象不存在。...
  9. 第一个被赋予公明身份的机器人_机器人索菲亚扬言要消灭人类!曾经狂妄无比,现在过得如何...
  10. 按钮插件和按钮状态切换
  11. 设计模式C++(Strategy策略模式)
  12. iOS核心动画之蒙版
  13. Matlab绘制折线图详细方法
  14. 2020超星android测试,2020知到《现代物流学》免费答案超星尔雅《测试作业导入》答案公众号...
  15. 关于指针赋初值为NULL的问题
  16. PMP工作绩效数据、信息和报告三者的区别
  17. 玩客云家庭媒体共享中心使用说明
  18. oracle查询最新100条数据
  19. mysql将时间戳转换为年月日格式进行查询
  20. facetime 来电提醒_Android版FaceTime应用程序? 这是一些适用于Android的替代视频通话应用程序。...

热门文章

  1. UCOS操作系统——信号量实验(十)
  2. 3.郝斌C语言笔记——C编程预备计算机专业知识
  3. 七款顶级HTML5编辑器带你飞
  4. echarts自定义象形图,矢量图标
  5. Spring原理机制
  6. ATK-ESP8266 串口转WIFI模块 简历
  7. 《近匠》专访WRTnode创始人罗未——开源硬件如何拥抱物联网
  8. 摩拜、ofo抢着用的NB-IoT技术,听说你还不知道!?
  9. Element-UI省市区(县)三级联动---基于VUX移动框架的x-address组件
  10. 我精通Copula、CoVaR、GARCH、ARIMA、协整、VAR、DCC、BEKK、MES、SRISK、最优组合权重、模拟预测等模型