Dec 19, 2008

Linux Comic By MiracleBlue@YSSY

注: 下载以下提到的补丁,源码,DEB包,请到:
ft[回复本文] 发信人: MiracleBlue(H.Blue), 信区: GNULinux
标  题: 支持Comic详细流程,从补丁,编译到smplayer,带DEB包
发信站: 饮水思源 (2008年11月01日16:35:26 星期六)
p://h.blue:public@public.sjtu.edu.cn/mplayer-tru-utf8 
 
#更改回UTF-8版本,简化流程避免使用smplayer-gbk脚本#

==========安装篇==========
----从DEB包安装----
!!NOTICE!!此源码包在Ubuntu 8.10下编译
从FTP下载并安装:
  comicview-utf8-0.2.6.xpi
  mplayer-tru-utf8_svn-r27867-1_i386.deb
  w32codecs_20071007-0.1_i386.deb
  smplayer_0.6.4_i386.deb

----从源码安装----
1.从FTP下载:
  mplayer-svn-r27867.tar.bz2
  mplayer-tru-utf8-svn-r27867.patch
2.打mplayer-tru补丁
  tar xjvf mplayer-svn-r27867.tar.bz2
  patch -p0  
3.准备必要的库(以ubuntu为例)
  #GTK support
  sudo apt-get install libgtk2.0-dev
  #XV support
  sudo apt-get install libxv-dev
  #ALSA support
  sudo apt-get install libasound2-dev
  #PULSE support
  sudo apt-get install libpulse-dev
4.配置并安装
  ./configure --enable-gui --enable-menu
  make
  sudo make install
5.安装comicview-utf8,w32codecs与smplayer

==========配置篇==========
0.几种播放器的比较
  mplayer: 简洁,但对字幕支持有些问题
  smplayer: QT程序,功能强大,配置方便,对字幕支持极佳,强烈推荐
  totem: 插件好像一直没人更新,不推荐
1.配置comicview
  如果使用mplayer,将mplayer alternative改为: /usr/local/bin/mplayer
  如果使用smplayer,将mplayer alternative改为: /usr/bin/smplayer
2.配置mplayer
  修改~/.mplayer/config,加入
    xo=xv
    ao=alsa
    zoom=yes
3.配置smplayer(Optional)
  General选项
    将General下mplayer路径改为/usr/local/bin/mplayer
    将Video下Output driver改为xv,x11
    将Audio下Output driver改为alsa,pulse
  Subtitle选项  
    将Encoding下Default subtitle encoding改为cp936
    将Font下Font改为想要的字体
    将Font下Size改为Proportional to movie height
4.Enjoy! =)



0 comments: