Archive

Archive for 七月, 2010

Fatal error: Call to undefined function is_multisite()

原因:wordpress自动升级不成功。

解决方法: 手动下载wordpress,然后覆盖安装。

标签:

分享我的mplayer的配置

[default]

#General setup

ao=”alsa” #audio out
mixer-channel=”Master”
srate=48000

really-quiet=”1″ #Very very little console output

vo=”vdpau” #video out
zoom=”1″ #Allow sofware scaling if I use x11 for vo
aid=”1″ #audio channel
sid=”0″ #subtitle set

#Display

double=”yes” #double buffering(recommended for subtitles)
monitoraspect=”16:9″ #I’m on a widescreen laptop so keeps 4:3 content from stretching
framedrop=”1″ # For slow machines
hardframedrop=”0″ #Make sure hard frame drop is off but can turn on easily now
#==========
# Subtitles
#==========

# VobSubs
#========

# Align subs. (-1: as they want to align themselves)
spualign=-1

# Anti-alias subs. (4: best and slowest)
spuaa=4

# Set language.
slang=chs,cht,en,eng

# Text-based subtitles
#=====================

# Find subtitle files. (1: load all subs containing movie name)
sub-fuzziness=1

# Set font.
font=/home/osmo/.fonts/microsoft/vista/Calibri.ttf

# Set font encoding.
subfont-encoding=unicode

#设定字幕自动加载的识别
sub-fuzziness=1

# Set subtitle file encoding.
unicode=yes
utf8=yes
#支持中文字幕

#subcp=cp936 mkv的字幕默认是utf8,因此关闭此选项
# Resample the font alphamap. (1: narrow black outline)
ffactor=1

# Set subtitle position. (100: as low as possible)
subpos=100

# Set subtitle alignment at its position. (2: bottom)
subalign=2

# Set font size. (2: proportional to movie width)
subfont-autoscale=2

# Set font blur radius. (default: 2)
subfont-blur=2.0

# Set font outline thickness. (default: 2)
subfont-outline=2.0

# Set autoscale coefficient. (default: 5)
subfont-text-scale=4.4

# OSD
#====

# Set autoscale coefficient. (default: 6)
subfont-osd-scale=4.4

#This sets the postprocessing into overdrive using all possible spare cpu cycles to make the movie look better
autoq=100
vf=pp=de,hqdn3d
#===========
# Appearance
#===========

# Disable screensaver.
stop-xscreensaver=yes

# Position window. (50%:50%: center of screen)
geometry=50%:50%

# Skin
skin=Glider

#always keep mplayer on top
ontop=”1″

#turns off xscreen saver…maybe
stop-xscreensaver=”yes”

#Some extra stuff I am currently not using….
#Fix A/V sync problems on files with bad MP3 VBR audio
#mc=”1″
#autosync=”10″
#delay=”0.5″

命令行的mplayer的使用我的这个配置,基本上就可以放弃gui了,用命令行的mplayer打开电影以后,使用快捷键即可方便自如的看电影了,:-)

这是最常用的MPlayer的快捷键。

Key Description
p Toggle pause/play.暂停/播放
Space Toggle pause/play.暂停/播放
Left Seek backward ten seconds.后退10秒
Right Seek forward ten seconds.前进10秒
Down Seek backward one minute.后退1分
Up Seek forward one minute.前进1分
< Go back in the playlist.播放列表里上一个文件
> Go forward in the playlist.播放列表里下一个文件
m Mute the sound.静音
0 Volume up.提高音量
9 Volume down.降低音量
f Toggle fullscreen mode.全屏切换
o Toggle OSD state.切换屏幕显示状态,如显示剩余时间、总时间等内容
j Toggle subtitle visibility.切换隐藏/显示字幕
I Show filename.显示文件名
1, 2 Adjust contrast.调节对比度
3, 4 Adjust brightness.调节亮度

标签:

独唱团-第一辑-电子书


韩寒办的杂志,送给爱看电子书的童鞋。

猛点这里

标签: