ohiolee 发表于 2002-10-31 12:07:54

video_out (-vo) device Error,安装mplayer中出现,该如何解决?

本人刚安装了mplayer,过程中煤油出现错误,可是播放时却出现如下错误:
Error opening/initializing the selected video_out (-vo) device!请问如何才能解决这个问题,好像由于这个问题我在升级显卡驱动时也出现了这个问题无法安装成功并且只能进入文本界面...(我的显卡是TNT2的).

llc 发表于 2002-10-31 12:11:11

nvidia的显卡如果不安装nvidia驱动,是无法完整支持xv模式的,你应该没有安装驱动
如果你确实不想安装驱动而又想用mplayer,请用下面的方式启动:mplayer -vo x11

ohiolee 发表于 2002-10-31 21:03:50

加了 -vo x11 还是不行.错误如下:

# mplayer -vo x11 /mnt/e/mtv/First*


MPlayer 0.90pre8-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
CPUflags:MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 38 audio & 106 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz)
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /mnt/e/mtv/First love.MPG
Invalid video output driver name: x11
Use '-vo help' to get a list of available video drivers.

Exiting... (Fatal error)

llc 发表于 2002-10-31 22:00:36

怪了!难道你安装的是rpm版本?

ohiolee 发表于 2002-11-1 12:27:33

不是啊,编译过得好像还没有什么错误出现的阿。

不是啊,编译过得好像还没有什么错误出现的阿。

llc 发表于 2002-11-1 12:59:56

那就用mplaye -vo sdl试试

gugong 发表于 2002-11-1 13:56:50

是有一点奇怪!

# mplayer -vo help
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (看DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
CPUflags:MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
可用的视频输出驱动:
      xv      X11/Xv
      x11   X11 ( XImage/Shm )
      gl      X11 (OpenGL)
      gl2   X11 (OpenGL) - multiple textures version
      dga   DGA ( Direct Graphic Access V2.0 )
      sdl   SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
      aa      AAlib
      png   PNG file
      jpeg    JPEG file
      gif89aGIF89a (out.gif)
      null    Null video output
      pgm   PGM file
      md5   MD5 sum
      mpegpes Mpeg-PES file
      yuv4mpeg      yuv4mpeg output for mjpegtools (to "stream.yuv")
      xvidixX11 (VIDIX)

我也只能用 x11 播放 !

我用 sdl 可以。我刚测试了。

ohiolee 发表于 2002-11-1 15:03:54

可怜我的是Null video output是不是少装了什么或者是配置有问题

# mplayer -vo help


MPlayer 0.90pre8-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
CPUflags:MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Available video output drivers:
      fbdev   Framebuffer Device
      null    Null video output
      pgm   PGM file
      md5   MD5 sum
      mpegpes Mpeg-PES file
      yuv4mpeg      yuv4mpeg output for mjpegtools (to "stream.yuv")
      vesa    VESA VBE 2.0 video output

我用vesa试了试还是不行,还是以前的那些错误,是一些文件找不到,可是我查了别人能用mplayer的却并没有它错误里提示的文件.怪哉

错误如下:
# mplayer -vo vesa /mnt/e/mtv/Firs*


MPlayer 0.90pre8-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
CPUflags:MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 38 audio & 106 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz)
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /mnt/e/mtv/First love.MPG
Detected MPEG-PS file format!
VIDEO:MPEG1352x240(aspect 12)29.97 fps1425.0 kbps (178.1 kbyte/s)
==========================================================================
Detected audio codec: afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 28000->176400 (224.0 kbit)
==========================================================================
Opening video decoder: MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: 352x240 => 352x264 Mpeg PES
Killed

gugong 发表于 2002-11-1 15:15:45

不知你的 Linux 版本 ?

http://www.linuxfans.org/nuke//modules.php?name=Forums&file=viewtopic&t=891&postdays=0&postorder=asc&start=15


看我最后面的贴子。

ohiolee 发表于 2002-11-1 16:11:49

redhat8.0的

redhat8.0的

gugong 发表于 2002-11-1 16:26:36

正好 !

照我所说的安装我的编译的 rpm 包就是了。

gugong 发表于 2002-11-1 16:37:30

这样

mplayer/mnt/dos-d/My\ Documents/My\ Movies/伏明霞泳池透视偷拍.mpg
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (看DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
CPUflags:MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 38 audio & 110 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Input config file /etc/mplayer/input.conf parsed : 50 binds
起动红外遥控支持...
mplayer: could not connect to socket
mplayer: No such file or directory
红外遥控支持起动失败!
你将无法使用你的遥控器

播放 /mnt/dos-d/My Documents/My Movies/伏明霞泳池透视偷拍.mpg
Cache fill: 11.62% (975152 bytes)    检测到MPEG-ES文件格式!
VIDEO:MPEG1320x240(aspect 1)30.00 fps1222.5 kbps (152.8 kbyte/s)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support, and read Xv section of DOCS/video.html !
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
==========================================================================
打开视频解码器: MPEG 1/2 Video passthrough
VDec: vo配置要求 - 320 x 240 (选择 csp: Mpeg PES)
无法找到匹配的色彩空间 - 重新尝试 -vop scale...
打开视频滤镜:
抱歉, 所选的视频输出设备与这个解码器不兼容.
VDecoder初始化失败 :(
打开视频解码器: MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo配置要求 - 320 x 240 (选择 csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
电影宽高比未定义 - 无法使用预放大.
VO: 320x240 => 320x240 Planar YV12
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
Selected video codec: vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
音频: no sound!!!
开始播放...
V:   2.7   8051% 226%0.0% 0 0 7%%
正在退出... (退出)



实际是有声音的。它的声音要比 xmms 的声音要大,可以与 xmms 同时播放的。

llc 发表于 2002-11-1 16:51:14

ohiolee朋友,你下载源码编译时,./configure --enable-gui>tmp.txt
完毕后,将tmp.txt的内容贴出来看看
页: [1]
查看完整版本: video_out (-vo) device Error,安装mplayer中出现,该如何解决?