• 8170阅读
  • 2回复

mplayer 播放没有声音 mplayer -ac mad 1.avi [复制链接]

上一主题 下一主题
离线newnewman80
 

只看楼主 正序阅读 楼主  发表于: 2011-02-20

mplayer -ac mad 1.avi播放有图像没有声音
错误报告:
Forced audio codec: mad
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Cannot find codec for audio format 0x55.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...

没有mp3的解码库
已经安装了libmad
#tar xvfz libmad-0.15.1b.tar.gz
       #cd libmad-0.15.1b
       #./configure
       #make
       #mkdir /lib/lib
       #mkdir /lib/include
       #cp mad.h /lib/include
       #cp .libs/libmad.a /lib/lib

安装mplayer
#tar xvfj MPlayer-1.0.rc2.tar.bz2
#cd MPlayer-1.0rc2
#./configure --with-extraincdir=/lib/include --with-extralibdir=/lib/lib
#make
#make install



安装了xmms  播放mp3正常

google结果:


ACM Codecs:
~~~~~~~~~~~~
MPlayer may fail at playing the audio in your file with this message:
Cannot find codec for audio format 0x55.
Audio: no sound
MPlayer calls this the TwoCC format identifier. From the TwoCC list we find:
0x0055 MPEG-1 Layer 3 (MP3)
If you are lucky, you can then just search the internet for ""
e.g. "mp3 acm". Or if the codec is already installed on Windows,
it will show up in the system.ini as:
msacm.l3acm=L3codeca.acm
Note that the audio codecs are specified by the MSACM prefix:


解决未果

[ 此帖被newnewman80在2011-02-20 19:20重新编辑 ]
离线kunkka
只看该作者 2楼 发表于: 2011-04-02
能详细点不  哥...
离线newnewman80

只看该作者 1楼 发表于: 2011-03-01
是库连接的问题,
库没有将解码器放到Lib 下面  编译mplayer时候用命令连接解码库 实际没有连接

解决方法:
完全删除Mplayer文件夹,重新换一个目录安装。

搞定
快速回复
限100 字节
 
上一个 下一个