LinuxSir.cn,穿越时空的Linuxsir!

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

来个启用了coreave-for-linux的mplayer的pkg

[复制链接]
发表于 2008-5-31 11:13:02 | 显示全部楼层 |阅读模式
http://pkgbuild.googlegroups.com ... pL5AjyTFp6STMycEOeI
自己下个CoreAVC 1.7.0,参照 http://code.google.com/p/coreavc ... ayerInstallationAlt 里面的设置,简单设一下就行了

mplayer要使用gmplayer时,用户目录下设置下皮肤,系统里没放,的编译选项为:

  1.   ./configure --prefix=/usr \
  2.       --enable-runtime-cpudetection --confdir=/etc/mplayer \
  3.       --enable-gl --enable-tv-v4l1 --enable-tv-v4l2 \
  4.       --enable-fbdev --enable-largefiles \
  5.       --enable-ftp --enable-network \
  6.       --enable-xshape --enable-smb \
  7.       --enable-gui --enable-x11 \
  8.       --disable-esd --disable-arts --with-extraincdir=/usr/lib/live-media
复制代码
发表于 2008-5-31 11:49:21 | 显示全部楼层
mplayer可以正常加载CoreAVC 1.7了?以前似乎无法加载1.5及以上版本,我就一直用的1.3
回复 支持 反对

使用道具 举报

发表于 2008-5-31 11:53:05 | 显示全部楼层
重新编译,打最新的patch就可以用1.7,以前的好像能支持到1.5。其实aur里早就有这个,叫 mplayer-no-gui
回复 支持 反对

使用道具 举报

发表于 2008-5-31 13:05:53 | 显示全部楼层
嗯,我刚才也去搞了一个,确实可以。而且1.7的解码文件比1.3的要小得多呵呵
回复 支持 反对

使用道具 举报

发表于 2008-5-31 14:06:54 | 显示全部楼层
楼主把操作过程写写嘛......
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-31 16:20:54 | 显示全部楼层
主页上都写的差不多了,主要就是生成对应的patch,在pkgbuild中打上补丁,在无法直接编译registercodec时,手动先编一下,pkgbuild中复制到/usr/bin下就行了,剩下的就是个人将搞到的CoreAVCDecoder.ax复制到/usr/lib/codecs,以及修改下 ~/.mplayer/codecs.conf和registercodec导入注册号
回复 支持 反对

使用道具 举报

发表于 2008-6-1 00:34:39 | 显示全部楼层
coreavc很不好的,cpu是降下来了,声音反而滞后了。
yaourt -S mplayer-no-gui就可以。
回复 支持 反对

使用道具 举报

发表于 2008-6-1 00:54:52 | 显示全部楼层
以前自己搞了下,没有成功。。不能和打了compiz混合补丁的一起。。。再试试看。
回复 支持 反对

使用道具 举报

发表于 2008-6-1 23:52:24 | 显示全部楼层
剩下的就是个人将搞到的CoreAVCDecoder.ax复制到/usr/lib/codecs,

HI!哪里搞到CoreAVCDecoder.ax?
回复 支持 反对

使用道具 举报

发表于 2008-6-2 09:46:49 | 显示全部楼层
帮我看看,我的怎么没有启动CoreAVCDecoder:
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [h264]  720x540  24bpp  25.000 fps  550.1 kbps (67.1 kbyte/s)
Clip info:
Software: MEncoder dev-SVN-rUNKNOWN-4.2.1
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[equalizer] Limiting the number of filters to 9 due to low sample rate.
[equalizer] Limiting the number of filters to 9 due to low sample rate.
[equalizer] Limiting the number of filters to 9 due to low sample rate.
AO: [alsa] 32000Hz 2ch s16le (2 bytes per sample)
[equalizer] Limiting the number of filters to 9 due to low sample rate.
[equalizer] Limiting the number of filters to 9 due to low sample rate.
Starting playback...
VDec: vo config request - 720 x 540 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x8975c30]SwScaler: using unscaled yuv420p -> bgr24 special converter
VO: [gl2] 720x540 => 720x540 BGR 24-bit  [zoom]
[gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!)
[gl2] antialiasing off
[gl2] bilinear linear
回复 支持 反对

使用道具 举报

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

本版积分规则

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