红联Linux门户
Linux帮助

Linux:RedFlag5.0下播放wmv/asf文件

发布时间:2007-04-19 10:43:30来源:红联作者:rmidable
  这段时间在做linux下流媒体的播放,所以在先在linux下尝试播放wmv/asf格式的文件,我用的是系统自带的多媒体播放器,在播放wmv文件时出现了错误提示,无法加载wmvdmod.dll库文件,显然是缺少codecs,于是去网上下载了all-20061022.tar.bz2和windows-all-20061022.zip,下载地址http://www.mplayerhq.hu/MPlayer/releases/codecs/接下来安装编码包,mplayer的编码包须安装在/usr/lib/codecs/和/usr/lib/wincodecs(win32)中。

  [root@Localhost /]# cd /usr/software/mplayer

  [root@Localhost mplayer]# tar vjxf all-20061022.tar.bz2

  [root@Localhostmplayer]# mv all-20061022 /usr/lib/codecs

  [root@Localhost mplayer]# chmod 644 /usr/lib/codecs/*

  [root@Localhostmplayer]# chown root.root /usr/lib/codecs/*

  [root@Localhost mplayer]# unzip windows-all-20061022.zip

  [root@Localhost mplayer]# mv windows-all-20061022 /usr/lib/wincodecs 或者 # mv windows-all-20050115 /usr/lib/win32

  [root@Localhost mplayer]# chmod 644 /usr/lib/wincodecs/* 或者 # chmod 644 /usr/lib/win32/*

  [root@Localhost mplayer]# chown root.root /usr/lib/wincodecs/* 或者 # chown root.root /usr/lib/win32/*

完成以上步骤后,wmv/asf文件就可以正常播放了。
文章评论

共有 58 条评论

  1. 70.81.83.* 于 2007-07-17 16:28:46发表:

    http://c82e95bac70f57c8efa78da39d349d8a-t.xkktxb.org c82e95bac70f57c8efa78da39d349d8a http://c82e95bac70f57c8efa78da39d349d8a-b1.xkktxb.org c82e95bac70f57c8efa78da39d349d8a http://c82e95bac70f57c8efa78da39d349d8a-b3.xkktxb.org 8d1f2bfe3cbc5359328d95464cab8b7c

  2. 190.49.147.* 于 2007-06-14 00:41:05发表:

    67288ec97b6a31004a90a1335f1f2a39 http://ndvgwp.org http://www.vtqzvy.org http://icqepi.org http://ndvgwp.org http://kzfkps.org http://www.hovmug.org http://icqepi.org http://zrxllm.org http://ndvgwp.org http://zrxllm.org 0f5fa03e3dca64d5b4cd330c6f860531