[MPlayer-users] strange avi file

Martin Strauss mys at ica1.uni-stuttgart.de
Fri Apr 11 15:24:26 CEST 2003


Hi!
I have problems displaying some avi films, it works neither
with xine, mplayer nor with aviplay correctly (each in it's current releases).
To my dispair it works with the Windows Media Player, so to some degree
they have a valid (or corrigible) content.

The problem seems to be connected with the width of the films,
I have 6 films each with a different width produced in the same way
(on Windows,software unknown,source of images ccd), 
the one with WxH=80x395 is displayed correctly by all players, 
the others (70x426,73x318,78x357,75x402) are displayed distorted or 
in case of mplayer shifted. (The distorsion of shift is constant via time)

xine : 
1. a vertical line transforms into a straight line with positive gradient
   (which reappears on the left side if it leaves the right side)
2. at the bottom some lines are displayed in black
3. picture is upside down

aviplay :
1. a vertical line transforms into a straight line with positive gradient
   (which reappears on the left side if it leaves the right side)
2. at the bottom one line is displayed in green

mplayer :
1. a vertical line is simply shifted horizontally 
 (up to the half of the picture)
2. at the bottom there are some lines with more or less random colored pixels

At the moment I see only one possible explanation for the behavior of xine 
and aviplay, the players assume somewhere a line width 2**n with n>1.
Possibly this is connected with the use of sse.
Mplayer seems to compute a wrong offset for the frames ... however

Here the output of avitype
<init> : Avifile RELEASE-0.7.34-030409-18:56-3.2
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
<init> : 2405.48 MHz Intel(R) Pentium(R) 4 CPU 2.40GHz processor detected
<reader> : checking: Kugeln50_v104cmsec.avi
<AVI reader> : MainHeader: MicroSecPerFrame=40000 MaxBytesPerSec=2257800
 PaddingGranularity=0 Flags=[ HAS_INDEX TRUST_CKTYPE ] TotalFrames=250
 InitialFrames=0 Streams=1 SuggestedBufferSize=90312 WxH=70x426
 Scale=0 Rate=0 Start=0 Length=0
<AVI Reader> : WARNING: fccHandler differs from biCompression!
<AVI reader> : StreamHeader: Type=vids Handler= Flags=[ ]
 InitialFrames=0 Scale=1000 Rate=25000 Start=0 Length=250
 SuggestedBufferSize=90312 Quality=900 SampleSize=0 Rect l,r,t,b=0,70,0,426
<AVI reader> : Reading index from offset: 22582056
<AVI reader> : Stream 0 vids :  (0x0) 250 chunks (0.98KB)
<StreamCache> : Creating cache for file descriptor: 3

and the output of mplayer
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 78 x 181 (preferred csp: BGR 24-bit)
VDec: using BGR 24-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 78x181 => 78x181 BGR 24-bit  [flip]
Selected video codec: [rawbgr24flip] vfm:raw (RAW BGR24)

if it helps you I can send you one of the films (packed 8MB),
or help finding the .... reason for this, I just don't know
where to start within the source code ...
or how to read the avi format 

	sincerly, Martin Strauss

****************************************************************************
Martin Strauss 
email        : mys at faveve.uni-stuttgart.de
privat       : Elbestr. 11a, 70376 S-Muenster, Tel. 0711/5073660
               mobil 0179/5201004
............................................................................
	Institut f"ur Computerphysik
	Pfaffenwaldring 27
	D-70569 Stuttgart
	Tel. +49-(0)711/685-7610
	mys at ica1.uni-stuttgart.de
............................................................................



More information about the MPlayer-users mailing list