Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Video Output Issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 309

PostPosted: Wed Oct 29, 2008 2:41 pm    Post subject: Video Output Issues Reply with quote

# mplayer -vo help
Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Available video output drivers:
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        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!)
        svga    SVGAlib
        aa      AAlib
        caca    libcaca
        v4l2    V4L2 MPEG Video Decoder Output
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        mpegpes MPEG-PES file
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output


# mplayer -vo xv /usr/share/xine/visuals/default.avi
Quote:
Video displays black

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 384 x 288 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 384 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 384x288 => 384x288 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
...

# mplayer -vo x11 /usr/share/xine/visuals/default.avi
Quote:
Enabling fullscreen (F) causes the video to remain the same size and surrounded with a fullscreen black border. Any ideas why?

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing pr0n/Rosy Cheeks Teen Fuck.flv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [VP6F]  582x424  0bpp  18.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash decoder)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 582 x 424 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 582x424 => 582x424 Planar YV12
[swscaler @ 0x8941a40]using unscaled yuv420p -> rgb32 special converter
[VD_FFMPEG] DRI failure.0.146 ct:  0.003   0/  0 ??% ??% ??,?% 1 0
A:   0.9 V:   0.9 A-V:  0.005 ct:  0.023   0/  0 29%  9%  2.4% 1 0

# mplayer -vo xover /usr/share/xine/visuals/default.avi
Quote:
No video or gui window is displayed

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
VO XOverlay need a subdriver
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)

# mplayer -vo gl /usr/share/xine/visuals/default.avi
Quote:
When placed over a terminal window where text is changing/scrolling, it appears over the video.

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 384 x 288 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 384 x 288 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x8941a40]using unscaled yuv420p -> rgb32 special converter
VO: [gl] 384x288 => 384x288 BGRA
libGL warning: 3D driver claims to not support visual 0x64
V:   0.6  15/ 15 25% 18%  0.0% 0 0

# mplayer -vo gl2 /usr/share/xine/visuals/default.avi
Quote:
Video is distorted and multiplied diagonally

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 384 x 288 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 384 x 288 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x8941a40]using unscaled yuv420p -> bgr24 special converter
VO: [gl2] 384x288 => 384x288 BGR 24-bit
libGL warning: 3D driver claims to not support visual 0x64
[gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!)
[gl2] antialiasing off
[gl2] bilinear linear
V:   1.5  38/ 38 12% 11%  0.0% 0 0

# mplayer -vo dga /usr/share/xine/visuals/default.avi
Quote:
No video or gui window is displayed

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
vo_dga: Mode: depth=15, bpp=16, r=007c00, g=0003e0, b=00001f, not supported (-bpp 15)
vo_dga: Mode: depth=16, bpp=16, r=00f800, g=0007e0, b=00001f, not supported (-bpp 16)
vo_dga: Mode: depth=24, bpp=24, r=ff0000, g=00ff00, b=0000ff, native (-bpp 24)
vo_dga: Mode: depth=24, bpp=32, r=ff0000, g=00ff00, b=0000ff, native (-bpp 32)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 384 x 288 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 384 x 288 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x8941a40]using unscaled yuv420p -> rgb32 special converter
VO: [dga] 384x288 => 384x288 BGRA
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode  640 x  480 @  59 Hz @ depth 24, bitspp 32.
vo_dga: Video parameters by codec: 384 x 288, depth 24, bitspp 32.
vo_dga: Framebuffer mapping failed!!!
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)

# mplayer -vo sdl /usr/share/xine/visuals/default.avi
Quote:
Video displays black

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[VO_SDL] Using driver: x11.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 384 x 288 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 384 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [sdl] 384x288 => 384x288 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
...

# mplayer -vo svga /usr/share/xine/visuals/default.avi
Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
svgalib: Cannot open /dev/svga
Is svgalib_helper module loaded?

# mplayer -vo aa /usr/share/xine/visuals/default.avi
Quote:
Only the left half of the video is displayed

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 384 x 288 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 384 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [aa] 384x288 => 384x288 Planar YV12
SwScaler: reducing / aligning filtersize 19 -> 20
SwScaler: reducing / aligning filtersize 19 -> 20
SwScaler: reducing / aligning filtersize 19 -> 18
SwScaler: reducing / aligning filtersize 19 -> 18
[swscaler @ 0x8941a40]BICUBIC scaler, from yuv420p to gray8 using MMX2
[swscaler @ 0x8941a40]using n-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8941a40]using n-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8941a40]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x8941a40]384x288 -> 86x64

Important suboptions
        extended  use use all 256 characters
        eight     use eight bit ascii
        driver    set recommended aalib driver (X11,curses,linux)
        help      to see all options provided by aalib

AA-MPlayer Keys
        1 : contrast -
        2 : contrast +
        3 : brightness -
        4 : brightness +
        5 : fast rendering
        6 : dithering
        7 : invert image
        a : toggles between aa and mplayer control

All other keys are MPlayer defaults.
V:   0.4  10/ 10 ??% ??% ??,?% 0

# mplayer -vo v4l2 /usr/share/xine/visuals/default.avi
Quote:
No video or gui window is displayed

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
VO: [v4l2] No such file or directory
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)

# mplayer -vo xvidix /usr/share/xine/visuals/default.avi
Quote:
No video or gui window is displayed

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
No vidix driver name provided, probing available ones (-v option for details)!
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)

# mplayer -vo cvidix /usr/share/xine/visuals/default.avi
Quote:
No video or gui window is displayed

Code:
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing /usr/share/xine/visuals/default.avi.
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
vo_cvidix: No vidix driver name provided, probing available ones (-v option for details)!
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)

_________________
Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Wed Oct 29, 2008 4:16 pm    Post subject: Reply with quote

Quote:
mplayer -vo x11 /usr/share/xine/visuals/default.avi, Enabling fullscreen (F) causes the video to remain the same size and surrounded with a fullscreen black border. Any ideas why?
With the x11 output driver, any video scaling is done by the cpu, therefore it's disabled by default.

Add '-zoom' to the mplayer options to enable it, and see how much additional work is done by the processor.

Quote:
mplayer -vo xover /usr/share/xine/visuals/default.avi,
No video or gui window is displayed

From the mplayer man page;
Quote:
xover (X11 only)
Adds X11 support to all overlay based video output drivers.
Currently only supported by tdfx_vid.


Quote:
mplayer -vo gl /usr/share/xine/visuals/default.avi
mplayer -vo gl2 /usr/share/xine/visuals/default.avi
The usability of the opengl drivers depends on a few things, mostly your video hardware and the xorg driver your using.

Are you using compiz, or are you running any other composite manager or anything like that?
Flaky results with these isn't particularly unusual.

Quote:
mplayer -vo dga /usr/share/xine/visuals/default.avi,
No video or gui window is displayed
Not too sure about this one, but I kinda thought dga was a legacy interface (and the mplayer man page states "Considered obsolete")...

Quote:
mplayer -vo sdl /usr/share/xine/visuals/default.avi,
Video displays black
I know the output for this one states "[VO_SDL] Using driver: x11", but considering the results I would guess that sdl is actually trying to use xv, as it's the same you got with -vo xv.
Try recompiling libsdl without the xv USE flag and see if the output changes.

Quote:
mplayer -vo svga /usr/share/xine/visuals/default.avi
I haven't looked at svga in ages, but I think this requires an additional kernel module or something...

Quote:
mplayer -vo aa /usr/share/xine/visuals/default.avi,
Only the left half of the video is displayed
No clue, sorries.

Quote:
mplayer -vo v4l2 /usr/share/xine/visuals/default.avi,
No video or gui window is displayed
This requires a hardware mpeg decoder, along with the relevant v4l2 support in your kernel.

Quote:
mplayer -vo xvidix /usr/share/xine/visuals/default.avi
mplayer -vo cvidix /usr/share/xine/visuals/default.avi,
No video or gui window is displayed
I think this requires additional kernel modules or something too, I never had any luck with it.

You should probably google mplayer & dga/svga(lib)/vidix if you really want to get it working with any of those.

This just leaves us with the one you'd probably want in most cases;
Quote:
mplayer -vo xv /usr/share/xine/visuals/default.avi, Video displays black

X11 error: BadAlloc (insufficient resources for operation)
Something is obviously broken here.

Could you provide the following information;
What video card you're using
what driver (ati/nvidia binary drivers, intel, opensource radeon) along with version.
`emerge -pv mesa xorg-server` output
output of `grep "WW\|EE" /var/log/Xorg.0.log`
output of '`xvinfo`, you may need to emerge it
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 309

PostPosted: Mon Nov 10, 2008 4:53 am    Post subject: Reply with quote

video card
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)


driver
Code:
xorg.conf
...
Section "Device"
    Identifier  "LCD"
    Driver      "intel"
    Option      "DRI"                   "true"
    Option      "XAANoOffscreenPixmaps" "true"
#   http://forums.gentoo.org/viewtopic-p-5148516.html
    #Option     "AccelMethod"           "exa"
    #Option      "MigrationHeuristic"    "greedy"
    #Option      "ExaNoComposite"        "true"
EndSection


Code:
2.6.27 gentoo-sources kernel
Intel 440LX/BX/GX, I8xx and E7x05 chipset support


emerge -pv mesa xorg-server
Code:
[ebuild   R   ] media-libs/mesa-6.5.2-r1  USE="nptl -debug -doc -motif -pic -xcb" VIDEO_CARDS="-intel -mach64 -mga -none -r128 -radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB
[ebuild   R   ] x11-base/xorg-server-1.3.0.0-r6  USE="dri ipv6 nptl sdl xorg xprint -3dfx -debug -dmx -kdrive -minimal" INPUT_DEVICES="keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="vesa vga -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -via -vmware -voodoo" 0 kB


I notice that intel support isn't enabled. I was just about to add it to /etc/make.conf also when I noticed I already have i810. I'll also add intel and leave i810 also and hopefully that'll help fix some things.

grep "WW\|EE" /var/log/Xorg.0.log
Code:
Current Operating System: Linux localnewb 2.6.27-gentoo #1 SMP PREEMPT Mon Nov 3 19:06:30 CST 2008 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/local" does not exist.
(WW) The directory "/usr/share/fonts/TTF" does not exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
(WW) Warning, couldn't open module vme
(EE) Failed to load module "vme" (module does not exist, 0)
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module dga
(EE) Failed to load module "dga" (module does not exist, 0)
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) intel(0): Bad V_BIOS checksum
(EE) intel(0): unknown type(0xffffffff)=0xff
(WW) intel(0): Register 0x68000 (TV_CTL) changed from 0x10000000 to 0x000c0000
(WW) intel(0): Register 0x68010 (TV_CSC_Y) changed from 0x00000000 to 0x0332012d
(WW) intel(0): Register 0x68014 (TV_CSC_Y2) changed from 0x00000000 to 0x07d30104
(WW) intel(0): Register 0x68018 (TV_CSC_U) changed from 0x00000000 to 0x0733052d
(WW) intel(0): Register 0x6801c (TV_CSC_U2) changed from 0x00000000 to 0x05c70200
(WW) intel(0): Register 0x68020 (TV_CSC_V) changed from 0x00000000 to 0x0340030c
(WW) intel(0): Register 0x68024 (TV_CSC_V2) changed from 0x00000000 to 0x06d00200
(WW) intel(0): Register 0x68028 (TV_CLR_KNOBS) changed from 0x00000000 to 0x10606000
(WW) intel(0): Register 0x6802c (TV_CLR_LEVEL) changed from 0x00000000 to 0x010b00e1
(WW) intel(0): Register 0x68030 (TV_H_CTL_1) changed from 0x00000000 to 0x00400359
(WW) intel(0): Register 0x68034 (TV_H_CTL_2) changed from 0x00000000 to 0x80480022
(WW) intel(0): Register 0x68038 (TV_H_CTL_3) changed from 0x00000000 to 0x007c0344
(WW) intel(0): Register 0x6803c (TV_V_CTL_1) changed from 0x00000000 to 0x00f01415
(WW) intel(0): Register 0x68040 (TV_V_CTL_2) changed from 0x00000000 to 0x00060607
(WW) intel(0): Register 0x68044 (TV_V_CTL_3) changed from 0x00000000 to 0x80120001
(WW) intel(0): Register 0x68048 (TV_V_CTL_4) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x6804c (TV_V_CTL_5) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68050 (TV_V_CTL_6) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x68054 (TV_V_CTL_7) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68060 (TV_SC_CTL_1) changed from 0x00000000 to 0xc1710088
(WW) intel(0): Register 0x68064 (TV_SC_CTL_2) changed from 0x00000000 to 0x4e2d1dc8
(WW) intel(0): Register 0x68070 (TV_WIN_POS) changed from 0x00000000 to 0x00360024
(WW) intel(0): Register 0x68074 (TV_WIN_SIZE) changed from 0x00000000 to 0x02640198
(WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x00000000 to 0x800010bb
(WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed from 0x00000000 to 0x00028283
(WW) intel(0): Register 0x68088 (TV_FILTER_CTL_3) changed from 0x00000000 to 0x00014141
(WW) intel(0): Register 0x68100 (TV_H_LUMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x681ec (TV_H_LUMA_59) changed from 0x00000000 to 0x0000b060
(WW) intel(0): Register 0x68200 (TV_H_CHROMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x682ec (TV_H_CHROMA_59) changed from 0x00000000 to 0x0000b060
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(WW) <default pointer>: No Device specified, looking for one...
(WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)


xvinfo
Code:
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) Textured Video"
    number of ports: 16
    port base: 73
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
    number of attributes: 2
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 1920 x 1088
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
  Adaptor #1: "Intel(R) Video Overlay"
    number of ports: 1
    port base: 89
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
    number of attributes: 12
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 64)
      "XV_SATURATION" (range 0 to 1023)
              client settable attribute
              client gettable attribute (current value is 128)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_PIPE" (range -1 to 1)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_GAMMA0" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 526344)
      "XV_GAMMA1" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 1052688)
      "XV_GAMMA2" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2105376)
      "XV_GAMMA3" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 4210752)
      "XV_GAMMA4" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 8421504)
      "XV_GAMMA5" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 12632256)
    maximum XvImage size: 1920 x 1088
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)

_________________
Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum