这段时间在做linux下流媒体的播放,所以在先在linux下尝试播放wmv/asf格式的文件,我用的是系统自带的多媒体播放器,在播放wmv文件时出现了错误提示,无法加载wmvdmod.dll库文件,显然是缺少codecs,于是去网上下载了all-20061022.tar.bz2和windows-all-20061022.zip,下载地址接下来安装编码包,mplayer的编码包须安装在/usr/lib/codecs/和/usr/lib/wincodecs(win32)中。
[root@Localhost/]#cd/usr/software/mplayer
[root@Localhostmplayer]#tarvjxfall-20061022.tar.bz2
[root@Localhostmplayer]#mvall-20061022/usr/lib/codecs
[root@Localhostmplayer]#chmod644/usr/lib/codecs/*
[root@Localhostmplayer]#chownroot.root/usr/lib/codecs/*
[root@Localhostmplayer]#unzipwindows-all-20061022.zip
[root@Localhostmplayer]#mvwindows-all-20061022/usr/lib/wincodecs或者#mvwindows-all-20050115/usr/lib/win32
[root@Localhostmplayer]#chmod644/usr/lib/wincodecs/*或者#chmod644/usr/lib/win32/*
[root@Localhostmplayer]#chownroot.root/usr/lib/wincodecs/*或者#chownroot.root/usr/lib/win32/*
完成以上步骤后,wmv/asf文件就可以正常播放了。
Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件Linux:RedFlag5.0下播放wmv/asf文件
阅读(613) | 评论(0) | 转发(0) |