[MPlayer-users] Mplayer displays only black and white with xvidix

Christian Szegedy szegedy at t-online.de
Wed Oct 23 00:04:02 CEST 2002


Hello I have a problem runnin mplayer with xvidix.

It always plays mpeg files black and white when using xvidix.
It works OK with the default video output, but after running with 
xvidix, the
default ouput remains completely black. The xvidix output is black and 
white.
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  8875.0 kbps (1109.4 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Detected audio codec: [a52] afm:liba52 (AC3-liba52)
Initializing audio codec...
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 48000->192000 (384.0 kbit)
No vidix driver name provided, probing available ones!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/rage128_vid.so
Rage128_vid: Found chip: Rage 128 RF/SG AGP
vidixlib: /usr/local/lib/mplayer/vidix/rage128_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/rage128_vid.so driver
vidixlib: Attempt to initialize driver at: 0x400140c0
Rage128_vid: Video memory = 16Mb
Rage128_vid: Set write-combining type of video memory
vidixlib: '/usr/local/lib/mplayer/vidix/rage128_vid.so'successfully loaded
VIDIX: Description: BES driver for rage128 cards
VIDIX: Author: Nick Kurshev
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
VO: [xvidix] 720x576 => 1024x576 Planar YV12
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local 
display)
[x11] Detected wm is of class NetWM.
[xvidix] dcx: 4 dcy: 96 dx: 0 dy: 0 dw: 1024 dh: 576
vosub_vidix: using 1 buffer(s)
[xvidix] window properties: pos: 4x96, size: 1024x576
Detected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: 
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   8/8  (16384 bytes/frag)  free: 131072
Start playing...
==> Found audio stream: 129
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 132
==> Found audio stream: 133
==> Found audio stream: 134
==> Found audio stream: 135
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[x11] Detected wm is KDE.
[x11] Detected wm is KDE.
[xvidix] dcx: 4 dcy: 96 dx: 0 dy: 0 dw: 1016 dh: 576
vosub_vidix: using 1 buffer(s)
[xvidix] window properties: pos: 4x96, size: 1016x576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
DEMUXER: freeing demuxer at 0x8388178  1   50/ 50  30%  3%  8.5% 0 0 0%
DEMUXER: freeing sh_video at 0x838ab88
DEMUXER: freeing sh_audio at 0x839b828
DEMUXER: freeing sh_audio at 0x839b8c0
DEMUXER: freeing sh_audio at 0x839b958
DEMUXER: freeing sh_audio at 0x839ba40
DEMUXER: freeing sh_audio at 0x839bad8
DEMUXER: freeing sh_audio at 0x839bb70
DEMUXER: freeing sh_audio at 0x839bc08
DEMUXER: freeing sh_audio at 0x839bca0
vo: uninit ...

I have an Athlon 600 with VIA751  chipset, 320M RAM and
an ATI expert 2000 with 16M RAM.

-------------------------------------------------------------------------------------------------------------------------

I run Mandrake 9.0,

My kernel is:
Linux brumi 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 unknown 
unknown GNU/Linux

-------------------------------------------------------------------------------------------------------------------------

My libc is:
/lib/libc.so.6 -> libc-2.2.5.so

-------------------------------------------------------------------------------------------------------------------------

My gcc is:

Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --enable-threads=posix --disable-checking 
--enable-long-long --enable-__cxa_atexit 
--enable-languages=c,c++,ada,f77,objc,java 
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)

-------------------------------------------------------------------------------------------------------------------------

My ld is:
GNU ld version 2.12.90.0.15 20020717

-------------------------------------------------------------------------------------------------------------------------

My as is:
GNU assembler version 2.12.90.0.15 (i586-mandrake-linux-gnu) using BFD 
version 2.12.90.0.15 20020717

-------------------------------------------------------------------------------------------------------------------------

My X is:
Free86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF]
Module Loader present

-------------------------------------------------------------------------------------------------------------------------

My cpu is:
rocessor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 1
model name      : AMD-K7(tm) Processor
stepping        : 2
cpu MHz         : 604.231
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca 
cmov pat mmx syscall mmxext 3dnowext 3dnow
bogomips        : 1205.86

-------------------------------------------------------------------------------------------------------------------------

My graphic card is:
01:05.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/SG 
AGP (prog-if 00 [VGA])
        Subsystem: ATI Technologies Inc Magnum/Xpert 128/Xpert 99
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (2000ns min), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]
        Region 1: I/O ports at 8800 [size=256]
        Region 2: Memory at efefc000 (32-bit, non-prefetchable) [size=16K]
        Expansion ROM at efec0000 [disabled] [size=128K]
        Capabilities: <available only to root>

-------------------------------------------------------------------------------------------------------------------------

My config.mak is:

LANG = C
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr/local
BINDIR = $(DESTDIR)/usr/local/bin
DATADIR = $(DESTDIR)/usr/local/share/mplayer
MANDIR = $(DESTDIR)/usr/local/man
CONFDIR = $(DESTDIR)/usr/local/etc/mplayer
LIBDIR = $(DESTDIR)/usr/local/lib
#AR = ar
CC = gcc
AWK = mawk
RANLIB = ranlib
# OPTFLAGS = -O4  -g3 -march=athlon -mcpu=athlon -pipe 
-fomit-frame-pointer -ffast-math
OPTFLAGS = -W -Wall -O2 -march=athlon -mcpu=athlon -g3  -D_REENTRANT 
-D_LARGEFILE_SOURCE -D
_FILE_OFFSET_BITS=64
EXTRA_INC =
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"
STRIPBINARIES = no



STREAMING = yes
STREAMING_LIVE_DOT_COM = no
STREAMING_LIB = -lnsl
VIDIX = yes

OPENDIVX = no

PNG = yes
JPEG = yes
GIF = yes

EXTRA_LIB =
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB =

X11_INC =
X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl

# for libavcodec:
SRC_PATH=.

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv 
-lXxf86vm -lXinerama  -lns
l
GGI_LIB =
MLIB_LIB =
MLIB_INC =
DXR2_INC =
DVB_INC =
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB = -lgif
SDL_LIB =
SVGA_LIB =
AA_LIB =

# audio output
ALSA_LIB = -lasound -ldl -lpthread
NAS_LIB =
MAD_LIB =
ARTS_LIB =
ARTS_INC =
VORBIS_LIB = -lvorbis -logg
FAAD_LIB =
SGIAUDIO_LIB =

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB =
CSS_USE = no
CSS_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC =
W32_DEP = loader/libloader.a
W32_LIB = loader/libloader.a
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = loader/dshow/libDS_Filter.a
AV_DEP = libavcodec/libavcodec.a
AV_LIB = libavcodec/libavcodec.a
FAME = no
FAME_LIB =
MP1E_DEP =
MP1E_LIB =
ARCH_LIB =   -lpthread -ldl
DIVX4LINUX = no
XVID = no
XVID_LIB =
DECORE_LIB =
MENCODER = yes
ENCORE_LIB =
DIRECTFB_INC =
DIRECTFB_LIB =
CDPARANOIA_INC =
CDPARANOIA_LIB =  -lcdda_interface -lcdda_paranoia
FREETYPE_INC =
FREETYPE_LIB =

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = yes
TARGET_3DNOWEX = yes
TARGET_SSE = no

-------------------------------------------------------------------------------------------------------------------------

Relevant part of the output (with -v):

system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  8875.0 kbps (1109.4 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Detected audio codec: [a52] afm:liba52 (AC3-liba52)
Initializing audio codec...
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 48000->192000 (384.0 kbit)
No vidix driver name provided, probing available ones!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/rage128_vid.so
Rage128_vid: Found chip: Rage 128 RF/SG AGP
vidixlib: /usr/local/lib/mplayer/vidix/rage128_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/rage128_vid.so driver
vidixlib: Attempt to initialize driver at: 0x400140c0
Rage128_vid: Video memory = 16Mb
Rage128_vid: Set write-combining type of video memory
vidixlib: '/usr/local/lib/mplayer/vidix/rage128_vid.so'successfully loaded
VIDIX: Description: BES driver for rage128 cards
VIDIX: Author: Nick Kurshev
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
VO: [xvidix] 720x576 => 1024x576 Planar YV12
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local 
display)
[x11] Detected wm is of class NetWM.
[xvidix] dcx: 4 dcy: 96 dx: 0 dy: 0 dw: 1024 dh: 576
vosub_vidix: using 1 buffer(s)
[xvidix] window properties: pos: 4x96, size: 1024x576
Detected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: 
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   8/8  (16384 bytes/frag)  free: 131072
Start playing...
==> Found audio stream: 129
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 132
==> Found audio stream: 133
==> Found audio stream: 134
==> Found audio stream: 135
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[x11] Detected wm is KDE.
[x11] Detected wm is KDE.
[xvidix] dcx: 4 dcy: 96 dx: 0 dy: 0 dw: 1016 dh: 576
vosub_vidix: using 1 buffer(s)
[xvidix] window properties: pos: 4x96, size: 1016x576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
DEMUXER: freeing demuxer at 0x8388178  1   50/ 50  30%  3%  8.5% 0 0 0%
DEMUXER: freeing sh_video at 0x838ab88
DEMUXER: freeing sh_audio at 0x839b828
DEMUXER: freeing sh_audio at 0x839b8c0
DEMUXER: freeing sh_audio at 0x839b958
DEMUXER: freeing sh_audio at 0x839ba40
DEMUXER: freeing sh_audio at 0x839bad8
DEMUXER: freeing sh_audio at 0x839bb70
DEMUXER: freeing sh_audio at 0x839bc08
DEMUXER: freeing sh_audio at 0x839bca0
vo: uninit ...












More information about the MPlayer-users mailing list