[MPlayer-users] Garbage on right half of screen when playing throw xv or mga_vid

virtan virtan at mail.ru
Thu Nov 6 13:10:47 CET 2003


Hi, developers.

I have a very inpleasant problem with playing video by mplayer.
When I using xv (as default or as manually specified) vo driver or mga_vid 
(I'm using Matrox Millenium G450) which functioning throw xv (afaik) the 
right half of video output screen contents black blank space and garbage of 
video signal. The garbage looks like broken horizontal video synchronization 
in TV signal. Left half of video output have a normal site (contents played 
video).
Halfs is not equal - they can be splitted in proportion 3:1 or other.
The problem don't disappearing when viewing in full screen mode or with 
different xy scale factors.
There are no problems when playing using x11 or exporting via vo jpeg.

Sorry, but can't make screenshots, because XV dosn't provide video content.



Mplayer was compiled on target computer using last cvs version.

I'm using ASP Linux 9 (http://www.asplinux.ru/en/) (which is the same as 
RedHat 9). Other system info:
[virtan at virtan main]$ uname -a
Linux virtan.at.design.ru 2.4.20-9aspsmp #1 SMP Tue Apr 29 21:15:29 MSD 2003 
i686 i686 i386 GNU/Linux
[virtan at virtan main]$ ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1282752 Апр 25  2003 /lib/libc-2.3.2.so
lrwxrwxrwx    1 root     root           13 Окт 28 15:52 /lib/libc.so.6 -> 
libc-2.3.2.so
[virtan at virtan main]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-asplinux-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--host=i386-asplinux-linux
Thread model: posix
gcc version 3.2.2 20030222 (ASPLinux 3.2.2-5asp)
[virtan at virtan main]$ ld -v
GNU ld version 2.13.90.0.18 20030206
[virtan at virtan main]$ as --version
GNU assembler 2.13.90.0.18 20030206
I'm using KDE3.1.1 in 1280x1024x24 mode
All of this works on
Intel Pentium 4 2.40Ghz HT
Video: Matrox Millennium G450 Dual Head with one head used
Driver: mga
[virtan at virtan main]$ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Matrox G-Series Backend Scaler"
    number of ports: 1
    port base: 69
    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
      depth 24, visualID 0x2b
      depth 24, visualID 0x2c
      depth 24, visualID 0x2d
      depth 24, visualID 0x2e
      depth 24, visualID 0x2f
      depth 24, visualID 0x30
      depth 24, visualID 0x31
      depth 24, visualID 0x32
    number of attributes: 4
      "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 128)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
    maximum XvImage size: 1024 x 1024
    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)


mplayer execution information:


MPlayer dev-CVS-031106-14:23-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 2406 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/virtan/.mplayer/config
Reading /home/virtan/.mplayer/codecs.conf: Can't open 
'/home/virtan/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open 
'/usr/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
font: can't open file: /home/virtan/.mplayer/font/font.desc
Syntax error in font desc: name 'File generated for koi8-r encoding using 
`Arial Regular' face (/mnt/DOS_C/winnt/Fonts/a
rial.ttf), ppem=24 by Nick Kurshev nickols_k at mail.ru'

Can't load font bitmap: arpi_osd_a.raw
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/virtan/.mplayer/input.conf: No such file or 
directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config

Playing lilo_and_stich.avi.
AVI file format detected.
VIDEO:  [DIV3]  512x288  24bpp  23,976 fps  949,3 kbps (115,9 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 4000->192000 (32,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Requested video codec family [ffdivx] (vfm=ffmpeg) not available.
Enable it at compilation.
Opening video decoder: [odivx] DivX5Linux lib (odivx compat.)
touser
pp 0
VDec: vo config request - 512 x 288 (preferred csp: Planar YV12)
[PP] Using codec's postprocessing, max q = 10.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 512x288 => 512x288 Planar YV12
[mga] Using 3 buffers.
Using colorkey: ff00
Selected video codec: [odivx] vfm:odivx (OpenDivX API 
(ODIVX,DIVX4,DIVX5,XVID))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
A:   0,2 V:   0,0 A-V:  0,172 ct:  0,000    1/  1   0%  0%  0,0% 0 0 0%

-- 
virtan
E-mail: virtan at mail.ru, virtan at land.ru // BSrLblbG



More information about the MPlayer-users mailing list