[MPlayer-dev-eng] [BUG] expand=-1:-1:-1:-1:1, getting black blocks

Gabucino gabucino at mplayerhq.hu
Sun Oct 6 08:37:17 CEST 2002


HW:
	p150mmx notebook
	cirrus logic suxcard

The problem: played a DIV3 file with ffdivx (sorry no other files here now,
  so I can't test), either on svgalib or X11. Used -vop expand=-1:-1:-1:-1:1
  option. Pressed 'o' key to turn on timer until the first 1-20 frames
  were displayed (it's better when pressed right on the _first_ frame).

  The frame was corrupted at once, when many macroblocks turned to black :(((

  It works when 'o' is pressed when no video window has appeared YET.
  It works when 'o' is pressed while the just appeared video window is still
    black.
  It DOES NOT WORK when 'o' is pressed when the first frame is displayed!
  It works when 'o' is pressed 4-5 seconds into the movie.

  It doesn't matter whether -nosound is used or not.

  Probably some serious memory corruption (or directrender issue?). No njamd
  here.

Log, screenshot attached (bug reproduced)

-- 
Gabucino

/ Worshipping Niedermayer 4ever /
"Do you always look at it encoded?" (C) D. R. F.
"minden lehet. ez nem." (c) A'rpi
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-021006-07:19-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium MMX P55C (Family: 5, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading /home/gabucino/.mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine: 'Media/Movie/Lords_prayer.avi' '-v' '-vo' 'x11' '-nofs' '-vop' 'expand=-1:-1:-1:-1:1' '-nosound'
get_path('font/font.desc') -> '/home/gabucino/.mplayer/font/font.desc'
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
Using usleep() timing
Could not access the 'termcap' data base.
get_path('input.conf') -> '/home/gabucino/.mplayer/input.conf'
Parsing input config file /home/gabucino/.mplayer/input.conf
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds

Playing Media/Movie/Lords_prayer.avi
Not an URL!
File size is 24918016 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 4569   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  320 x 240
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 239760/10000 = 23.976
Start: 0   Len: 4569
Suggested BufferSize: 26807
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 230400
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 15963/1 = 15963.000
Start: 0   Len: 3041939
Suggested BufferSize: 7981
Quality -1
Sample size: 1
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15963
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=417
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
list_end=0x2326
hdr=Software  size=15
Software  : Nandub v1.0rc2
hdr=Name  size=14
Name      : Lord's Prayer
hdr=Subject  size=14
Subject   : Lord's Prayer
hdr=Artist  size=14
Artist    : ErMaC Studios
hdr=Copyright  size=28
Copyright : http://www.ermacstudios.org
hdr=Comments  size=1
Comments  : 
Broken chunk?  chunksize=1234  (id=JUNK)
list_end=0x179F632
Found movie at 0x280C - 0x179F632
Reading INDEX block, 9127 chunks for 4569 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 9127 chunks for 4569 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F3A)
Auto-selected AVI video ID = 0
AVI_NI: No Audio stream found...  ->  no sound
AVI video length=24686838
VIDEO:  [DIV3]  320x240  24bpp  23.98 fps  1036.4 kbps (126.5 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:320x240  fps:23.98  ftime:=0.0417
Clip info: 
 Software: Nandub v1.0rc2
 Name: Lord's Prayer
 Subject: Lord's Prayer
 Artist: ErMaC Studios
 Copyright: http://www.ermacstudios.org
 Comments: 
get_path('sub/') -> '/home/gabucino/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local display)
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AutoQ: setting quality to 0
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
REQ: flags=0x445  req=0x0  
VO: [x11] 320x240 => 320x240 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
Using MMX for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [expand] Direct Rendering mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V:   0.0    1   0%  0%  0.0% 0 0 92%
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [expand] Direct Rendering mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V:   0.0    2   0%  0%  0.0% 0 0 92%
V:   0.1    3   0%  0%  0.0% 0 0 92%
V:   0.1    4   0%  0%  0.0% 0 0 91%
V:   0.2    5   0%  0%  0.0% 0 0 90%
V:   0.2    6   0%  0%  0.0% 0 0 90%
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V:   0.3    7   0%  0%  0.0% 0 0 89%
V:   0.3    8   0%  0%  0.0% 0 0 89%
V:   0.3    9   0%  0%  0.0% 0 0 89%
V:   0.4   10   0%  0%  0.0% 0 0 88%
V:   0.4   11   0%  0%  0.0% 0 0 88%
V:   0.5   12   0%  0%  0.0% 0 0 87%
V:   0.5   13  314% 215%  0.0% 0 0 87%
V:   0.5   14  291% 213%  0.0% 0 0 86%
V:   0.6   15  271% 214%  0.0% 0 0 86%
V:   0.6   16  254% 213%  0.0% 0 0 85%
V:   0.7   17  239% 212%  0.0% 0 0 85%
V:   0.7   18  225% 211%  0.0% 0 0 85%
V:   0.8   19  214% 210%  0.0% 0 0 84%
V:   0.8   20  204% 209%  0.0% 0 0 83%
V:   0.8   21  195% 208%  0.0% 0 0 82%
V:   0.9   22  186% 207%  0.0% 0 0 82%
V:   0.9   23  179% 207%  0.0% 0 0 81%
V:   1.0   24  172% 207%  0.0% 0 0 79%
V:   1.0   25  166% 207%  0.0% 0 0 78%
V:   1.0   26  160% 207%  0.0% 0 0 76%
V:   1.1   27  154% 207%  0.0% 0 0 75%
V:   1.1   28  150% 207%  0.0% 0 0 73%
V:   1.2   29  145% 207%  0.0% 0 0 71%
V:   1.2   30  141% 206%  0.0% 0 0 68%
V:   1.3   31  137% 206%  0.0% 0 0 67%
V:   1.3   32  134% 206%  0.0% 0 0 64%
V:   1.3   33  131% 206%  0.0% 0 0 61%
V:   1.4   34  128% 206%  0.0% 0 0 58%
V:   1.4   35  125% 205%  0.0% 0 0 55%
V:   1.5   36  122% 205%  0.0% 0 0 51%
V:   1.5   37  120% 205%  0.0% 0 0 47%
V:   1.5   38  118% 205%  0.0% 0 0 44%
V:   1.6   39  115% 205%  0.0% 0 0 41%
V:   1.6   40  113% 205%  0.0% 0 0 42%
V:   1.7   41  111% 205%  0.0% 0 0 42%
V:   1.7   42  109% 206%  0.0% 0 0 41%
V:   1.8   43  108% 207%  0.0% 0 0 42%
V:   1.8   44  106% 206%  0.0% 0 0 40%
V:   1.8   45  105% 206%  0.0% 0 0 42%
V:   1.9   46  103% 206%  0.0% 0 0 42%
V:   1.9   47  102% 205%  0.0% 0 0 42%
V:   2.0   48  100% 205%  0.0% 0 0 42%
V:   2.0   49  99% 205%  0.0% 0 0 42%
V:   2.0   50  98% 205%  0.0% 0 0 42%
V:   2.1   51  96% 206%  0.0% 0 0 42%
V:   2.1   52  95% 206%  0.0% 0 0 42%
V:   2.2   53  94% 207%  0.0% 0 0 40%
V:   2.2   54  93% 209%  0.0% 0 0 43%
V:   2.3   55  92% 209%  0.0% 0 0 44%
DEMUXER: freeing demuxer at 0x83e4db8  
vo: uninit ...

Exiting... (Quit)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grab.jpg
Type: image/jpeg
Size: 5508 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021006/4d1ac9dd/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021006/4d1ac9dd/attachment.pgp>


More information about the MPlayer-dev-eng mailing list