Audio plays fine, video is complete garbage. Codec problem ?

MPlayer CVS-020826-20:51-3.0.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

/home/ndk/.mplayer/config(3): option: vo
/home/ndk/.mplayer/config(3): parameter: xvidix:mach64_vid.so
/home/ndk/.mplayer/config(5): option: ao
/home/ndk/.mplayer/config(5): parameter: oss
/home/ndk/.mplayer/config(7): option: double
/home/ndk/.mplayer/config(7): parameter: 1
/home/ndk/.mplayer/config(16): option: fs
/home/ndk/.mplayer/config(16): parameter: yes
/home/ndk/.mplayer/config(18): option: osdlevel
/home/ndk/.mplayer/config(18): parameter: 1
/home/ndk/.mplayer/config(19): option: idx
/home/ndk/.mplayer/config(19): parameter: yes
Reading /home/ndk/.mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine:get_path('font/font.desc') -> '/home/ndk/.mplayer/font/font.desc'
 '-v' 'ttm1.avi'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Font /home/ndk/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/ndk/.mplayer/input.conf'
Parsing input config file /home/ndk/.mplayer/input.conf
Input config file /home/ndk/.mplayer/input.conf parsed : 50 binds

Playing ttm1.avi
Not an URL!
File size is 8110080 bytes
Detected AVI file format!
list_end=0x22D6
list_end=0x1138
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 70568   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  624 x 336
==> Found video stream: 0
found 'bih', 108 bytes of 40
======= STREAM Header =======
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 70568
Suggested BufferSize: 66816
Quality 10000
Sample size: 0
list_end=0x21CA
======= VIDEO Format ======
  biSize 40
  biWidth 624
  biHeight 336
  biPlanes 1
  biBitCount 24
  biCompression 1145656920='XVID'
  biSizeImage 628992
===========================
==> Found audio stream: 1
found 'wf', 30 bytes of 20
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 20000/1 = 20000.000
Start: 0   Len: 56454400
Suggested BufferSize: 10000
Quality 0
Sample size: 1
list_end=0x22D6
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 20000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=480
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x22FA
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1278  (id=JUNK)
list_end=0x2726FDBA
Found movie at 0x280C - 0x2726FDBA
stream_seek: WARNING! Can't seek to 0x2726FDBA !
Generating Index:   1 %     
stream_seek: WARNING! Can't seek to 0x7BC13E !
AVI: Generated index table for 1767 chunks!
AVI index offset: 0x0 (movi=0x280C idx0=0x280C idx1=0x4F24)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=600387958
VIDEO:  [XVID]  624x336  24bpp  25.00 fps  1701.6 kbps (207.7 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:624x336  fps:25.00  ftime:=0.0400
Clip info: 
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/ndk/.mplayer/sub/'
SUB: Detected sub file: ttm1.txt
SUB: Could not determine file format
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!

MPEG 1.0, Layer III, 48000 Hz 160 kbit Joint-Stereo, BPF: 480
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 20000->192000 (160.0 kbit)
==========================================================================
[mach64] Found chip: Rage Mobility P/M AGP 2x
[mach64] Driver was forced. Was found known chip
vidixlib: Attempt to initialize driver at: 0x40018fb0
[mach64] version CVS-020826-20:51-3.0.3 
[mach64] Video memory = 8Mb
[mach64] Set write-combining type of video memory
[mach64] Planar YUV formats are supported :)
vidixlib: '/usr/local/lib/mplayer/vidix/mach64_vid.so'successfully loaded
VIDIX: Description: BES driver for Mach64/3DRage cards
VIDIX: Author: Nick Kurshev and Michael Niedermayer
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
libavcodec: CPU flags: mmx mmxext sse
Detected video codec: [ffodivx] vfm:5 (FFmpeg MPEG-4)
==========================================================================
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:   2/2  (65536 bytes/frag)  free: 131072
Start playing...
VDec: vo config request - 624 x 336 (preferred csp: Planar YV12)
interlaced not supported
looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
vo_debug: query(Planar YV12) returned 0x437 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(624x336->624x336,flags=1,'MPlayer',0x32315659)
VO: [xvidix] 624x336 => 624x336 Planar YV12  [fs]
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] Create window for WM detect ...
[x11] Unknown wm type...
[x11] Gnome style stay on top ( layer 1 ).
[xvidix-fs] dcx: 0 dcy: 108 dx: 0 dy: 108 dw: 1024 dh: 552
[xvidix] window properties: pos: 0x108, size: 1024x552
[mach64] ecp: 0
[mach64] vertical stretching factor= 65536
vosub_vidix: using 4 buffer(s)
Disabling DPMS
DPMSDisable stat: 1
*** [vo] Allocating mp_image_t, 624x336x12bpp YUV planar, 314496 bytes
1. marker bit missing in 3. esc
Error at MB: 1
concealing errors
[xvidix-fs] dcx: 0 dcy: 108 dx: 0 dy: 108 dw: 1024 dh: 552
[xvidix] window properties: pos: 1x1, size: 1024x552
A:   0.3 V:   0.0 A-V:  0.255 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
XXX initial  v_pts=0.000  a_pos=10000 (0.500) 
*** [vo] Allocating mp_image_t, 624x336x12bpp YUV planar, 314496 bytes
ac-tex damaged at 21 3
Error at MB: 138
concealing errors
A:   0.3 V:   0.0 A-V:  0.239 ct:  0.004    2/  2   0%  0%  0.0% 1 0 0%
header damaged
Error while decoding frame!
Error, header damaged or not MPEG4 header (f_code=0)
A:   0.3 V:   0.1 A-V:  0.199 ct:  0.008    3/  3   0%  0%  0.0% 2 0 0%
header damaged
Error while decoding frame!
Error, header damaged or not MPEG4 header (f_code=0)
A:   0.3 V:   0.1 A-V:  0.159 ct:  0.012    4/  4   0%  0%  0.0% 2 0 0%
ac-tex damaged at 17 0
Error at MB: 17
concealing errors
A:   0.3 V:   0.2 A-V:  0.130 ct:  0.016    5/  5   0%  0%  0.0% 2 0 0%
header damaged
Error while decoding frame!
Error, header damaged or not MPEG4 header (f_code=0)
A:   0.3 V:   0.2 A-V:  0.091 ct:  0.020    6/  6   0%  0%  0.0% 2 0 0%
ac-tex damaged at 11 1
Error at MB: 50
concealing errors
A:   0.3 V:   0.2 A-V:  0.064 ct:  0.024    7/  7   0%  0%  0.0% 2 0 0%
dc marker bit missing
Error at MB: 15
concealing errors
A:   0.3 V:   0.3 A-V:  0.037 ct:  0.028    8/  8   0%  0%  0.0% 2 0 0%
header damaged
Error while decoding frame!
Error, header damaged or not MPEG4 header (f_code=0)
A:   0.3 V:   0.3 A-V:  0.012 ct:  0.029    9/  9   0%  0%  0.0% 2 0 0%
ac-tex damaged at 2 0
Error at MB: 2
concealing errors
A:   0.4 V:   0.4 A-V:  0.012 ct:  0.030   10/ 10   0%  0%  0.0% 2 0 0%
ac-tex damaged at 15 0
Error at MB: 15
concealing errors
A:   0.4 V:   0.4 A-V:  0.011 ct:  0.031   11/ 11   0%  0%  0.0% 2 0 0%
ac-tex damaged at 29 0
Error at MB: 29
concealing errors
A:   0.4 V:   0.4 A-V:  0.010 ct:  0.032   12/ 12   0%  0%  0.0% 2 0 0%
|level| overflow in 3. esc, qp=13
Error at MB: 32
concealing errors
A:   0.5 V:   0.5 A-V:  0.009 ct:  0.033   13/ 13   0%  0%  0.0% 2 0 0%
header damaged
Error while decoding frame!
Error, header damaged or not MPEG4 header (f_code=0)
A:   0.5 V:   0.5 A-V:  0.008 ct:  0.034   14/ 14  57%  1%  4.3% 2 0 0%
ac-tex damaged at 5 0
Error at MB: 5
concealing errors
A:   0.6 V:   0.6 A-V:  0.007 ct:  0.034   15/ 15  55%  1%  4.0% 2 0 0%
ac-tex damaged at 0 4
Error at MB: 156
concealing errors
A:   0.6 V:   0.6 A-V:  0.006 ct:  0.035   16/ 16  54%  1%  3.7% 2 0 0%
1. marker bit missing in 3. esc
Error at MB: 80
concealing errors
A:   0.6 V:   0.6 A-V:  0.006 ct:  0.036   17/ 17  52%  1%  3.5% 2 0 0%
ac-tex damaged at 37 1
Error at MB: 76
concealing errors
A:   0.7 V:   0.7 A-V:  0.005 ct:  0.036   18/ 18  51%  1%  3.3% 2 0 0%
Stuffing !ac-tex damaged at 14 0
Error at MB: 14
concealing errors
A:   0.7 V:   0.7 A-V:  0.004 ct:  0.037   19/ 19  50%  1%  3.1% 2 0 0%
Stuffing !ac-tex damaged at 26 3
Error at MB: 143
concealing errors
A:   0.8 V:   0.8 A-V:  0.004 ct:  0.037   20/ 20  49%  1%  3.9% 2 0 0%
ac-tex damaged at 10 2
Error at MB: 88
concealing errors
A:   0.8 V:   0.8 A-V:  0.003 ct:  0.037   21/ 21  48%  1%  3.7% 2 0 0%
ac-tex damaged at 0 1
Error at MB: 39
concealing errors
A:   0.8 V:   0.8 A-V:  0.003 ct:  0.038   22/ 22  47%  1%  3.5% 2 0 0%
1. marker bit missing in 3. esc
Error at MB: 51
concealing errors
A:   0.9 V:   0.9 A-V:  0.003 ct:  0.038   23/ 23  46%  1%  3.4% 2 0 0%
2. marker bit missing in 3. esc
Error at MB: 90
concealing errors
A:   0.9 V:   0.9 A-V:  0.002 ct:  0.038   24/ 24  45%  1%  3.2% 2 0 0%
Error at MB: 36
concealing errors
A:   1.0 V:   1.0 A-V:  0.002 ct:  0.038   25/ 25  45%  0%  3.1% 2 0 0%
ac-tex damaged at 4 1
Error at MB: 43
concealing errors
A:   1.0 V:   1.0 A-V:  0.002 ct:  0.039   26/ 26  44%  0%  3.0% 2 0 0%
|level| overflow in 3. esc, qp=11
Error at MB: 56
concealing errors
A:   1.0 V:   1.0 A-V:  0.002 ct:  0.039   27/ 27  43%  0%  2.8% 2 0 0%
ac-tex damaged at 4 0
Error at MB: 4
concealing errors
A:   1.1 V:   1.1 A-V:  0.002 ct:  0.039   28/ 28  43%  0%  2.7% 2 0 0%
|level| overflow in 3. esc, qp=14
Error at MB: 7
concealing errors
A:   1.1 V:   1.1 A-V:  0.002 ct:  0.039   29/ 29  42%  0%  3.3% 2 0 0%
ac-tex damaged at 22 3
Error at MB: 139
concealing errors
A:   1.2 V:   1.2 A-V:  0.002 ct:  0.039   30/ 30  42%  0%  3.2% 2 0 0%
illegal dc vlc
Error at MB: 49
concealing errors
A:   1.2 V:   1.2 A-V:  0.001 ct:  0.040   31/ 31  41%  0%  3.1% 2 0 0%
ac-tex damaged at 38 1
Error at MB: 77
concealing errors
A:   1.2 V:   1.2 A-V:  0.001 ct:  0.040   32/ 32  41%  0%  3.0% 2 0 0%
ac-tex damaged at 19 3
Error at MB: 136
concealing errors
A:   1.3 V:   1.3 A-V:  0.001 ct:  0.040   33/ 33  40%  0%  2.9% 2 0 0%
ac-tex damaged at 35 0
Error at MB: 35
concealing errors
A:   1.3 V:   1.3 A-V:  0.001 ct:  0.040   34/ 34  40%  0%  2.8% 2 0 0%
ac-tex damaged at 32 0
Error at MB: 32
concealing errors
A:   1.4 V:   1.4 A-V:  0.001 ct:  0.040   35/ 35  40%  0%  2.7% 2 0 0%
ac-tex damaged at 12 0
Error at MB: 12
concealing errors
A:   1.4 V:   1.4 A-V:  0.001 ct:  0.040   36/ 36  39%  0%  2.7% 2 0 0%
2. marker bit missing in 3. esc
Error at MB: 127
concealing errors
A:   1.4 V:   1.4 A-V:  0.001 ct:  0.040   37/ 37  39%  0%  2.6% 2 0 0%
ac-tex damaged at 6 1
Error at MB: 45
concealing errors
A:   1.5 V:   1.5 A-V:  0.000 ct:  0.040   38/ 38  39%  0%  3.0% 2 0 0%
1. marker bit missing in 3. esc
Error at MB: 2
concealing errors
A:   1.5 V:   1.5 A-V:  0.000 ct:  0.040   39/ 39  38%  0%  2.9% 2 0 0%
Error at MB: 23
concealing errors
A:   1.6 V:   1.6 A-V:  0.000 ct:  0.040   40/ 40  38%  0%  2.8% 2 0 0%
Error at MB: 86
concealing errors
A:   1.6 V:   1.6 A-V:  0.000 ct:  0.040   41/ 41  38%  0%  2.8% 2 0 0%
illegal dc vlc
Error at MB: 54
concealing errors
A:   1.6 V:   1.6 A-V:  0.001 ct:  0.040   42/ 42  38%  0%  2.7% 2 0 0%
ac-tex damaged at 20 0
Error at MB: 20
concealing errors
A:   1.7 V:   1.7 A-V:  0.000 ct:  0.040   43/ 43  37%  0%  2.6% 2 0 0%
Stuffing !Stuffing !ac-tex damaged at 16 1
Error at MB: 55
concealing errors
A:   1.7 V:   1.7 A-V:  0.000 ct:  0.040   44/ 44  37%  0%  2.6% 2 0 0%
ac-tex damaged at 31 0
Error at MB: 31
concealing errors
A:   1.8 V:   1.8 A-V:  0.000 ct:  0.040   45/ 45  37%  0%  2.5% 2 0 0%
ac-tex damaged at 3 0
Error at MB: 3
concealing errors
A:   1.8 V:   1.8 A-V:  0.011 ct:  0.041   46/ 46  37%  0%  2.9% 2 0 0%
DEMUXER: freeing demuxer at 0x8388450  
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)