[问题]安装mplayer时找不到语句

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
ubuntuing
帖子: 192
注册时间: 2008-03-22 9:02

[问题]安装mplayer时找不到语句

#1

帖子 ubuntuing » 2008-03-26 9:27

我是按照http://wiki.ubuntu.org.cn/%E5%AE%89%E8%A3%85MPlayer
这里说的安装的
当进行到[

找出下面这一行

...
vo=x11, # To specify default video driver (see -vo help for
...

以下面这一行取代

vo=xv, # To specify default video driver (see -vo help for


此时
我却在文件里面找不到该语句
之后就想跳过这条进行下条试试结果:
(下条)安装w32codecs时 就 找不到可供安装的候选者
可能还所上述语句的问题所在吧。把该文件中的语句弄上来了,请大家看看问题何在:
##################
# video settings #
##################

# Specify default video driver (see -vo help for a list).
#vo=xv

# Use SDL video with the aalib subdriver by default.
#vo = sdl:aalib [是不是要更改这行的呢?]

# FBdev driver:
#
# mode to use (read from fb.modes)
#fbmode = 640x480-120
#
# location of the fb.modes file
#fbmodeconfig = /etc/fb.modes

# Specify your monitor timings for the vesa and fbdev video output drivers.
# See /etc/X11/XF86Config for timings. Be careful; if you specify settings
# that exceed the capabilities of your monitor, you may damage it.
#
# horizontal frequency range (k stands for 1000)
#monitor-hfreq = 31.5k-50k,70k
#
# vertical frequency range
#monitor-vfreq = 50-90
#
# dotclock (or pixelclock) range (m stands for 1000000)
#monitor-dotclock = 30M-300M

# Start in fullscreen mode by default.
#fs=yes

# Change to a different videomode when going fullscreen.
#vm=yes

# Override the autodetected color depth, may need 'vm=yes' as well.
#bpp=0

# Enable software scaling (powerful CPU needed) for video output
# drivers that do not support hardware scaling.
#zoom=yes

# standard monitor size, with square pixels
#monitoraspect=4:3

# Use this for a widescreen monitor, non-square pixels.
#monitoraspect=16:9

# Keep the player window on top of all other windows.
#ontop=yes


##################
# audio settings #
##################

# Specify default audio driver (see -ao help for a list).
ao=alsa,

# Use SDL audio driver with the esd subdriver by default.
#ao = sdl:esd

# Specify the mixer device.
#mixer = /dev/mixer

# Resample the sound to 44100Hz with the lavcresample audio filter.
#af=lavcresample=44100

# Specify default audio codec (see -ac help for a list).
ac=mad,


##################
# other settings #
##################

# Drop frames to preserve audio/video sync.
#framedrop = yes

# Specify your preferred skin here (skins are searched for in
# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
#skin = Abyss

# Resample the font alphamap.
# 0 plain white fonts
# 0.75 very narrow black outline (default)
# 1 narrow black outline
# 10 bold black outline
#ffactor = 0.75

# cache settings
#
# Use 8MB input cache by default.
#cache = 8192
#
# Prefill 20% of the cache before starting playback.
#cache-min = 20.0
#
# Prefill 50% of the cache before restarting playback after the cache emptied.
#cache-seek-min = 50

# DVD: Display English subtitles if available.
#slang = en

# DVD: Play English audio tracks if available.
#alang = en
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#2

帖子 yaoms » 2008-03-26 9:46

代码: 全选

# Specify default video driver (see -vo help for a list).
#vo=xv

# Use SDL video with the aalib subdriver by default.
#vo = sdl:aalib [是不是要更改这行的呢?]
上面的 #vo=xv,看到没?直接去掉前面的#号就行。


另外安装 w32codecs 是这样:

代码: 全选

sudo apt-get install w32codecs
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
头像
ubuntuing
帖子: 192
注册时间: 2008-03-22 9:02

#3

帖子 ubuntuing » 2008-03-26 10:24

先谢谢了
可是现在又有新问题了
1. 您所说的应该是只去掉前面那个#,是吧?我就是这样做的
2.
出现这个现象:

正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
现在没有可用的软件包 w32codecs,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 w32codecs 还没有可供安装的候选者
???
麻烦再解决一下
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#4

帖子 yaoms » 2008-03-26 10:32

你用的什么源阿?不行直接到mplayer网站下载一个解码器包。


http://www.mplayerhq.hu/MPlayer/release ... 07.tar.bz2

解压到 /usr/lib/codecs 并作一个符号连接到 /usr/lib/win32
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
头像
ubuntuing
帖子: 192
注册时间: 2008-03-22 9:02

#5

帖子 ubuntuing » 2008-03-27 11:48

谢谢哦 可能是我的源的问题
安装其它时还提醒我 用的不稳定发行版呢

后来我索性就直接下载了个deb包 奶奶的真省事了
下载后不想用终端直接点击安装就行了
没办法,新手都图简单的

传上w32连接,供大家来看 还的07年10月份的,也算新的吧
内含各种格式
http://www.debian-multimedia.org/pool/main/w/w32codecs/
看了爽死你 :)
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#6

帖子 yaoms » 2008-03-27 11:51

安装其它时还提醒我 用的不稳定发行版呢
是不是你的源版本不对阿?乱用源会把系统搞挂的哦。。


看看系统版本和源的地址吧。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
回复