LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 985|回复: 1

请问mplayer安装时咋样加上libdca阿...??

[复制链接]
发表于 2009-7-12 14:17:02 | 显示全部楼层 |阅读模式
要看个1080p的avi...mplayer说not valid dca frame...
怀疑是没有解码器...就编译安装了libdca...然后还是放不了...
mplayer版本MPlayer SVN-r28809-4.3...
然后又svn了一个SVN-r29417-4.3版的...

whereis libdca
libdca: /usr/local/lib/libdca.la /usr/local/lib/libdca.a /usr/local/lib/libdca.so


编译选项如下:

./configure  --enable-gui --enable-largefiles --enable-libdca --enable-menu --libdir=/usr/local/lib(这个加不加都不管用) --prefix=/usr --win32codecsdir=/usr/lib/win32 --confdir=/etc/mplayer --language=zh_CN


然后make的时候还说找不到libdca...

libmpcodecs/ad_libdca.o: In function `decode_audio':
ad_libdca.c.text+0xab): undefined reference to `dca_frame'
ad_libdca.c.text+0xbf): undefined reference to `dca_blocks_num'
ad_libdca.c.text+0xfc): undefined reference to `dca_block'
ad_libdca.c.text+0x127): undefined reference to `dca_samples'
ad_libdca.c.text+0x1f8): undefined reference to `dca_block'
ad_libdca.c.text+0xab9): undefined reference to `dca_syncinfo'
libmpcodecs/ad_libdca.o: In function `init':
ad_libdca.c.text+0xbd3): undefined reference to `dca_init'
ad_libdca.c.text+0xc4a): undefined reference to `dca_syncinfo'
ad_libdca.c.text+0xf09): undefined reference to `dca_free'
libmpcodecs/ad_libdca.o: In function `control':
ad_libdca.c.text+0xff6): undefined reference to `dca_syncinfo'
libmpcodecs/ad_libdca.o: In function `uninit':
ad_libdca.c:(.text+0xbaf): undefined reference to `dca_free'
collect2: ld returned 1 exit status
make: *** [mplayer] 错误 1


谁知道正确的安装方法阿...能详解一下么...
 楼主| 发表于 2009-7-12 14:32:01 | 显示全部楼层
OK...行了...直接编译安装svn的最新版之后就能放了...不用管libdca的事...-___-!!....
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表