LinuxSir.cn,穿越时空的Linuxsir!

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

mplayer问题 [ao_alsa] unable to find simple control pcm , 0

[复制链接]
发表于 2008-5-21 09:16:38 | 显示全部楼层 |阅读模式
用的是freshrpms的源 记得以前跟livna有冲突 所以没有安装livna的
现在命令行下用mplayer播放是可以的 没有报错
用图形界面就会不停的弹出一个框 error 提示内容如标题 还不停的闪阿闪啊-_-!
网上能找到的方法都是基于livna的 在audio里选择pulse 可是我这里面没有这个选项。。。
应该怎么解决的
 楼主| 发表于 2008-5-21 09:18:24 | 显示全部楼层
另外问下 http://forums.fedoraforum.org/ 这个网站怎样才能发帖和回帖
我注册了 可是没有看到用户说明 也许是我英文太差了 找不到指南。。。
回复 支持 反对

使用道具 举报

发表于 2008-5-21 11:01:54 | 显示全部楼层
Post by leave22;1852676
用的是freshrpms的源 记得以前跟livna有冲突 所以没有安装livna的
现在命令行下用mplayer播放是可以的 没有报错
用图形界面就会不停的弹出一个框 error 提示内容如标题 还不停的闪阿闪啊-_-!
网上能找到的方法都是基于livna的 在audio里选择pulse 可是我这里面没有这个选项。。。
应该怎么解决的


这个在Mplayer设置菜单里把那个Normalize Sound、 enable equ....、enable software...的三项打上勾选中确定就不会报错了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-21 12:48:46 | 显示全部楼层
十分感谢 确实可以工作
回复 支持 反对

使用道具 举报

发表于 2008-5-30 21:10:30 | 显示全部楼层
这个在Mplayer设置菜单里把那个Normalize Sound、 enable equ....、enable software...的三项打上勾选中确定就不会报错了
解决了一个报错到问题,还有一个阿,报错信息如下:
[color="Red"]cannot prepare subtitle font
所示把fontconfig=1改成fontconfig=0就好了,但是我没找到fontconfig=1阿,我的mplayer.conf内容如下:
#
# MPlayer configuration file
#
# Configuration files are read system-wide from /etc/mplayer/mplayer.conf
# and per user from ~/.mplayer/config, where per-user settings override
# system-wide settings, all of which are overrriden by the command line.
#
# The configuration file settings are the same as the command line
# options without the preceding '-'.
#
# See the CONFIGURATION FILES section in the man page
# for a detailed description of the syntax.


##################
# 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


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

# Pretend to be Window Media Player.
# Fixes playback when playlist and media file use the same URL.
#user-agent=NSPlayer/4.1.0.3856

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

# Specify your preferred skin here (skins are searched for in
# /usr/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

###################
# DVDNAV Settings #
###################
#vc=ffmpeg12,
# A plugged in joystick can interfere with keyboard shortcuts
joystick = no

# FriBidi can do "funny" things to some ISO-8859-* subtitles
#flip-hebrew = no

# You can also include other configuration files.
#include = /home/me/.mplayer/something
fontconfig=yes
font="Sans"
不知道要怎么解决
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-31 01:23:21 | 显示全部楼层
直接加上一行试试
回复 支持 反对

使用道具 举报

发表于 2008-7-1 09:45:42 | 显示全部楼层
配置文件里面有 fontconfig=yes
呵呵,改成 no
回复 支持 反对

使用道具 举报

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

本版积分规则

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