QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1674|回复: 12

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

[复制链接]
发表于 2002-10-31 12:07:54 | 显示全部楼层 |阅读模式
本人刚安装了mplayer,过程中煤油出现错误,可是播放时却出现如下错误:
Error opening/initializing the selected video_out (-vo) device!请问如何才能解决这个问题,好像由于这个问题我在升级显卡驱动时也出现了这个问题无法安装成功并且只能进入文本界面...(我的显卡是TNT2的).
发表于 2002-10-31 12:11:11 | 显示全部楼层
nvidia的显卡如果不安装nvidia驱动,是无法完整支持xv模式的,你应该没有安装驱动
如果你确实不想安装驱动而又想用mplayer,请用下面的方式启动:mplayer -vo x11
回复

使用道具 举报

 楼主| 发表于 2002-10-31 21:03:50 | 显示全部楼层

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

[root@localhost root]# 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)
回复

使用道具 举报

发表于 2002-10-31 22:00:36 | 显示全部楼层
怪了!难道你安装的是rpm版本?
回复

使用道具 举报

 楼主| 发表于 2002-11-1 12:27:33 | 显示全部楼层

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

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

使用道具 举报

发表于 2002-11-1 12:59:56 | 显示全部楼层
那就用mplaye -vo sdl试试
回复

使用道具 举报

发表于 2002-11-1 13:56:50 | 显示全部楼层

是有一点奇怪!

[root@gugonghcs root]# 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
        gif89a  GIF89a (out.gif)
        null    Null video output
        pgm     PGM file
        md5     MD5 sum
        mpegpes Mpeg-PES file
        yuv4mpeg        yuv4mpeg output for mjpegtools (to "stream.yuv")
        xvidix  X11 (VIDIX)

我也只能用 x11 播放 !

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

使用道具 举报

 楼主| 发表于 2002-11-1 15:03:54 | 显示全部楼层

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

[root@localhost root]# 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的却并没有它错误里提示的文件.怪哉

错误如下:
[root@localhost root]# 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:  MPEG1  352x240  (aspect 12)  29.97 fps  1425.0 kbps (178.1 kbyte/s)
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 28000->176400 (224.0 kbit)
==========================================================================
Opening video decoder: [mpegpes] 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: [vesa] 352x240 => 352x264 Mpeg PES
Killed
回复

使用道具 举报

发表于 2002-11-1 15:15:45 | 显示全部楼层

不知你的 Linux 版本 ?

回复

使用道具 举报

 楼主| 发表于 2002-11-1 16:11:49 | 显示全部楼层

redhat8.0的

redhat8.0的
回复

使用道具 举报

发表于 2002-11-1 16:26:36 | 显示全部楼层

正好 !

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

使用道具 举报

发表于 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:  MPEG1  320x240  (aspect 1)  30.00 fps  1222.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
==========================================================================
打开视频解码器: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo配置要求 - 320 x 240 (选择 csp: Mpeg PES)
无法找到匹配的色彩空间 - 重新尝试 -vop scale...
打开视频滤镜: [scale]
抱歉, 所选的视频输出设备与这个解码器不兼容.
VDecoder初始化失败
打开视频解码器: [libmpeg2] 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: [x11] 320x240 => 320x240 Planar YV12  [fs] [zoom]
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
音频: no sound!!!
开始播放...
V:   2.7   80  51% 226%  0.0% 0 0 7%%
正在退出... (退出)



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

回复

使用道具 举报

发表于 2002-11-1 16:51:14 | 显示全部楼层
ohiolee朋友,你下载源码编译时,./configure --enable-gui>tmp.txt
完毕后,将tmp.txt的内容贴出来看看
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-27 01:19 , Processed in 0.043309 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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