mplayer安装记录
2011-06-16 11:57
169 查看
mplayer源码下载地址:
http://www.mplayerhq.hu/MPlayer/releases/
下载最新的MPlayer-1.0rc4
#mkdir /usr/local/mplayer
#mkdir /usr/local/codecs
#cd MPlayer-1.0rc4
#./configure --prefix=/usr/local/mplayer --codecsdir=/usr/local/ codecs --language=zh_CN
这里有的网上加了参数:--enable-gui (开启图形界面),但是我编译的时候会出现如下错误:mplayer dereferencing pointer to incomplete type
据网上说是结构体没有定义出现的错误。
我们不需要gui的界面所以去掉。
#make
#make install
#/usr/local/mplayer/bin/mplayer /media/hp-v245/nobody.avi
发现没有声音,提示:
audio_setup: Can't open audio device /dev/dsp: No such file or directory
#ls /dev/dsp
发现果然没有此文件
#sudo su
#modprobe snd_pcm_oss
创建dsp文件
再播放就可正常播放,
#ls mplayer
发现有10M,这是没有裁剪的mplayer很大,下面做的工作就是要裁剪mplayer。
交叉编译MPlayer-1.0rc2,到3210板子上运行,交叉编译工具链:gcc-3.4.6
./configure --enable-cross-compile --cc=mipsel-linux-gcc --target=mips-linux --as=mipsel-linux-as --ar=mipsel-linux-ar --host-cc=gcc --disable-gui --disable-ivtv
没有加-disable-ivtv出现如下错误:
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
。。。。。。。
http://www.mplayerhq.hu/MPlayer/releases/
下载最新的MPlayer-1.0rc4
#mkdir /usr/local/mplayer
#mkdir /usr/local/codecs
#cd MPlayer-1.0rc4
#./configure --prefix=/usr/local/mplayer --codecsdir=/usr/local/ codecs --language=zh_CN
这里有的网上加了参数:--enable-gui (开启图形界面),但是我编译的时候会出现如下错误:mplayer dereferencing pointer to incomplete type
据网上说是结构体没有定义出现的错误。
我们不需要gui的界面所以去掉。
#make
#make install
#/usr/local/mplayer/bin/mplayer /media/hp-v245/nobody.avi
发现没有声音,提示:
audio_setup: Can't open audio device /dev/dsp: No such file or directory
#ls /dev/dsp
发现果然没有此文件
#sudo su
#modprobe snd_pcm_oss
创建dsp文件
再播放就可正常播放,
#ls mplayer
发现有10M,这是没有裁剪的mplayer很大,下面做的工作就是要裁剪mplayer。
交叉编译MPlayer-1.0rc2,到3210板子上运行,交叉编译工具链:gcc-3.4.6
./configure --enable-cross-compile --cc=mipsel-linux-gcc --target=mips-linux --as=mipsel-linux-as --ar=mipsel-linux-ar --host-cc=gcc --disable-gui --disable-ivtv
没有加-disable-ivtv出现如下错误:
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
。。。。。。。
相关文章推荐
- CentOS7 下安装mplayer的过程记录
- mplayer安装记录 源码分析
- mplayer安装记录
- 事件查看器中记录事件 ID 53258 安装或 Windows Server 2003 中删除 ActiveDirectory 后
- Rally安装问题记录
- openshift/origin学习记录——Ansible安装多节点openshift集群
- linux下安装MySQL5.6记录
- 运维调试记录:Ubuntu下通过PPA方式安装Java 8并自动配置环境变量
- Elasticsearch安装步骤及问题记录
- nginx安装时出现启动失败异常与解决方案记录
- redis集群环境安装(参照redis中文官网,中间遇到了一些问题,so,记录一下)
- Team Foundation Server 2008 安装 全程记录
- 从头安装Ubuntu记录:安装系统
- 安装magento 1.9.2.4过程记录
- 安装mplayer/mencoder
- python3.5 安装opencv 问题记录
- tokumx安装记录
- 错误记录--安装Flex Builder 3 Plug-in到eclipse出现的错误
- [转]caffe在ubuntu14.04下安装配置,改错,换包记录