Linux下Mplayer播放器上出现错误的解决


我喜欢在Linux下命令行下打开自己的媒体工具,今天发现如果直接鼠标双击打开在图形界面的媒体文件的时候有很多问题,搞了下才解决,所以贴出来供大家参考下:

Linux下Mplayer播放时提示错误:Error opening/initializing the selected video_out (-vo) device

Preferences-Video 选择 “xv X11/Xv”

Preferences-Codecs&demuxer 选择相应格式

MPlayer Error:

" could not open/initialize audio device -> no sound"

是声音驱动没设置好,默认的ALSA

解决步骤(Solution):

在播放面板上点击右键,

Preferences --> Audio,在那选定你机器所相应的驱动。

MPlayer Error:

"Couldn't resolve name for AF_INET6"

那么 sudo vi /etc/mplayer/mplayer.conf

在里面加入

# Disable IPV6

prefer-ipv4 = yes

来禁用ipV6。

附:

多媒体播放驱动安装

sudo apt-get install beep-media-player totem-xine w32codecs gstreamer0.8-plugins

想听在线音乐插件安装

sudo apt-get install mozilla-mplayer

相关内容