linux 下mplayer unable to find simple control 'pcm' 0 解决备忘

系统环境:
intel core1 T2250 1.73GHz/ i945 /3GRAM
fedora linux 12 (以下软件环境都为FC12自带)
gnome2.28.0
gcc 4.4.2

2010/01/07 从mplayer官方SVN下载最新的mplayer源码,手工编译,使用默认配置,仅加入GUI界面
./configure --enable-gui
根据源码中reademe文档中的步骤,
STEP1: Installing Binary Codecs
STEP2: Configuring MPlayer
STEP3: Compiling MPlayer
...

先把codecs解压到/usr/local/lib/codecs/
编译安装都正常,但播放视频文件时,总是出现mplayer unable to find simple control 'pcm' 0的警示框错误提示,而且持续的快速弹出、自动关闭,再弹出、关闭。虽然播放画面正常,声音也没什么差错,感觉却是很是不爽,决心解决这一问题:
多方搜索,都没能找到有效的解决方案。
网上说得最多的解决方法是:“把audio输出设置为pulse audio”

但audio设置里没有这样的选项,如图:
ubuntuforums.org上有人说(http://ubuntuforums.org/showthread.php?t=523735)
I had this problem too, which i solved, after searching for ages on the internet, by simply enabling "Enable Software Mixer" under the audio tab in Mplayer preferences.

结果错误提示没有了,可是声音也没有了,还出这样的错误警示框:
could not open initialize audio device。
有人说是因为音频设备被其它程序占用了,所以出现这样的错误,设置mplayer不使用default device、而是手工指定一个就可以解决这个问题结果还是不行,要么照样错误提示,要么没有声音;

“在 linux下,mplayer可以說是你不二的多媒體選擇,當然realplayer也相當的不錯。出現Could not open/initialize audio device -> no sound這種錯誤大多數情況下都是由於其它應用程序啟動了audio device造成的,最簡單的方式就是為你的audio選擇一個不同的driver.
“具體操作方法為去到達mplayer->preferences->audio,然後一個一個的試哪個能讓你的mplayer發音,然後這個問題就解決了,在舊版中有時與權限有關,如果是root身份的話就不會有問題。”
于是胡乱换用别的audio选项,当月选用
“sdl  SDLlib audio outpug”
再点Configure driver 选用 alsa 再试播放,好了,声音画面都正常了。
谨以些献给与我一样的linux初级玩家。

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据