Movie Maniac®
28th January 2004, 14:19
Hi guys
finally I've my first Xvid 1.0 compressed movie.
But there's a strange problem.. when I try to play it, near the 12nd second ofg playing time windowsmediaplayer 6.4 crashes. (VLC doen's crash)
So I opened the avi (without audio) with Virtualdub and scanned it for errors, but it alllright...
Then I tried to play it with virtualdub, and the crash occurred at the same point...
Following I copied and pasted the complete crash report made by Virtualdub (first the short message and then the complete one).
Can someone please explain me what's happening?
I encoded the movie in 2 passes, without any strange option activated. Only MPEG quantization and VHQ at level 1.
All the other stuff were disactivated.
""An out-of-bounds memory access (access violation) occurred in module 'xvidcore'...
...while decompressing video frame 314 with "XviD MPEG-4 Codec" [biCompression=44495658] (VideoSource.cpp:1567)...
...while running thread "Processing" (thread.cpp:120).""
VirtualDub crash report -- build 18160 (release)
--------------------------------------
Disassembly:
05ae8d80: 3bf8 cmp edi, eax
05ae8d82: 0f8dd8030000 jge 05ae9160
05ae8d88: 8954242c mov [esp+2c], edx
05ae8d8c: 8d0412 lea eax, [edx+edx]
05ae8d8f: 8d742d00 lea esi, [ebp+ebp+00]
05ae8d93: 896c2420 mov [esp+20], ebp
05ae8d97: 03f6 add esi, esi
05ae8d99: 03f5 add esi, ebp
05ae8d9b: 2bf0 sub esi, eax
05ae8d9d: 8b442428 mov eax, [esp+28]
05ae8da1: 8d3c80 lea edi, [eax+eax*4]
05ae8da4: f7df neg edi
05ae8da6: 8b6c241c mov ebp, [esp+1c]
05ae8daa: 8d542d00 lea edx, [ebp+ebp+00]
05ae8dae: 03fa add edi, edx
05ae8db0: 03f7 add esi, edi
05ae8db2: 8d3c00 lea edi, [eax+eax]
05ae8db5: 8d542d00 lea edx, [ebp+ebp+00]
05ae8db9: 03d2 add edx, edx
05ae8dbb: 03d5 add edx, ebp
05ae8dbd: 2bd7 sub edx, edi
05ae8dbf: 8b6c2418 mov ebp, [esp+18]
05ae8dc3: 8d6cad00 lea ebp, [ebp+ebp*4+00]
05ae8dc7: f7dd neg ebp
05ae8dc9: 03db add ebx, ebx
05ae8dcb: 03eb add ebp, ebx
05ae8dcd: 03d5 add edx, ebp
05ae8dcf: 03c9 add ecx, ecx
05ae8dd1: 8b6c2414 mov ebp, [esp+14]
05ae8dd5: 8d5c2d00 lea ebx, [ebp+ebp+00]
05ae8dd9: 03db add ebx, ebx
05ae8ddb: 03dd add ebx, ebp
05ae8ddd: 2bd9 sub ebx, ecx
05ae8ddf: 8b4c242c mov ecx, [esp+2c]
05ae8de3: 8d3c89 lea edi, [ecx+ecx*4]
05ae8de6: f7df neg edi
05ae8de8: 8b6c2420 mov ebp, [esp+20]
05ae8dec: 8d4c2d00 lea ecx, [ebp+ebp+00]
05ae8df0: 03f9 add edi, ecx
05ae8df2: 03df add ebx, edi
05ae8df4: b901000000 mov ecx, 00000001
05ae8df9: 83fe00 cmp esi, 00
05ae8dfc: bfffffffff mov edi, ffffffff
05ae8e01: 0f4ff9 cmovg edi, ecx
05ae8e04: 8b4c2410 mov ecx, [esp+10]
05ae8e08: 0fbe940afd0200 movsx edx, byte ptr [edx+ecx+2fd]
00
05ae8e10: 0fbe9c0bfd0200 movsx ebx, byte ptr [ebx+ecx+2fd]
00
05ae8e18: 3bd3 cmp edx, ebx
05ae8e1a: 0fbe8c0efd0200 movsx ecx, byte ptr [esi+ecx+2fd] <-- FAULT
00
05ae8e22: 7c02 jl 05ae8e26
05ae8e24: 8bd3 mov edx, ebx
05ae8e26: 3bca cmp ecx, edx
05ae8e28: 8d1c3f lea ebx, [edi+edi]
05ae8e2b: 0f4cd1 cmovl edx, ecx
05ae8e2e: f7de neg esi
05ae8e30: 8d0c36 lea ecx, [esi+esi]
05ae8e33: 03c9 add ecx, ecx
05ae8e35: 03ce add ecx, esi
05ae8e37: 03db add ebx, ebx
05ae8e39: 03df add ebx, edi
05ae8e3b: 0fafda imul ebx, edx
05ae8e3e: 8d541920 lea edx, [ecx+ebx+20]
05ae8e42: c1fa06 sar edx, 06
05ae8e45: 2bc5 sub eax, ebp
05ae8e47: 8bc8 mov ecx, eax
05ae8e49: c1e91f shr ecx, 1f
05ae8e4c: 03c1 add eax, ecx
05ae8e4e: d1f8 sar eax, 1
05ae8e50: 85c0 test eax, eax
05ae8e52: 0f8e25260000 jle 05aeb47d
05ae8e58: 85d2 test edx, edx
05ae8e5a: 0f8c16260000 jl 05aeb476
05ae8e60: 3bc2 cmp eax, edx
05ae8e62: 0f4cd0 cmovl edx, eax
05ae8e65: 8b442428 mov eax, [esp+28]
05ae8e69: 2bc2 sub eax, edx
05ae8e6b: 8b4c2404 mov ecx, [esp+04]
05ae8e6f: 8841ff mov [ecx-01], al
05ae8e72: 03d5 add edx, ebp
05ae8e74: 8811 mov [ecx], dl
05ae8e76: e9e5020000 jmp 05ae9160
05ae8e7b: 894c2430 mov [esp+30], ecx
05ae8e7f: 8b db 8b
Windows 5.0 (Windows 2000 build 2195) [Service Pack 4]
EAX = 000000f7
EBX = 00000055
ECX = 05bd018c
EDX = 0000002e
EBP = 00000017
DS:ESI = 0023:fffffb64
ES:EDI = 0023:ffffffff
SS:ESP = 0023:0a87e9f8
CS:EIP = 001b:05ae8e1a
FS = 0038
GS = 0000
EFLAGS = 00010283
FPUCW = ffff027f
FPUTW = ffffaaaa
MM0 = 8080808080808080
MM1 = 8080808080808080
MM2 = 8080808080808080
MM3 = 8080808080808080
MM4 = 8080808080808080
MM5 = 8080808080808080
MM6 = 7f7f7f7f7f7f7f7f
MM7 = 7f7f7f7f7f7f7f7f
Crash reason: Access Violation
Crash context:
An out-of-bounds memory access (access violation) occurred in module 'xvidcore'...
...while decompressing video frame 314 with "XviD MPEG-4 Codec" [biCompression=44495658] (VideoSource.cpp:1567)...
...while running thread "Processing" (thread.cpp:120).
Thread traces:
Thread 00000914 (Main thread)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
Thread 000004b4 (AsyncBlitter)
Thread 00000aac (Processing)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1946)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2093)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2095)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2103)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2143)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1941)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1946)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2093)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2095)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2103)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2143)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1941)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
Thread 000002d4 (Dub-I/O)
Thread call stack:05ae8e1a: xvidcore!xvid_decore [05a90000+4671c+126fe]
05ae8895: xvidcore!xvid_decore [05a90000+4671c+12179]
05ae86a0: xvidcore!xvid_decore [05a90000+4671c+11f84]
05ad6d7a: xvidcore!xvid_decore [05a90000+4671c+65e]
05ad6751: xvidcore!xvid_decore [05a90000+4671c+35]
10006c1c: xvidvfw!DriverProc [10000000+6008+c14]
1000624c: xvidvfw!DriverProc [10000000+6008+244]
784701fb: ntdll!RtlImageNtHeader [78460000+101f2+9]
796b84b0: KERNEL32!GetLastError [796b0000+8245+26b]
796b8491: KERNEL32!GetLastError [796b0000+8245+24c]
796b7a84: KERNEL32!00007a84
784ace74: ntdll!RtlFreeHeap [78460000+4c7d3+6a1]
784abaef: ntdll!RtlSizeHeap [78460000+4b906+1e9]
784ace07: ntdll!RtlFreeHeap [78460000+4c7d3+634]
7846eb70: ntdll!RtlUnwind [78460000+ea4a+126]
78475160: ntdll!NtDeviceIoControlFile [78460000+150d4+8c]
78481606: ntdll!KiUserExceptionDispatcher [78460000+215f8+e]
78481614: ntdll!KiUserExceptionDispatcher [78460000+215f8+1c]
796dba9d: KERNEL32!RaiseException [796b0000+2ba47+56]
796dba9d: KERNEL32!RaiseException [796b0000+2ba47+56]
6a7b17f8: MSVFW32!ICSendMessage [6a7b0000+17c4+34]
6a7b4ee9: MSVFW32!ICDecompress [6a7b0000+4eae+3b]
004a0712: VideoSourceAVI::streamGetFrame()
784abaef: ntdll!RtlSizeHeap [78460000+4b906+1e9]
784ace07: ntdll!RtlFreeHeap [78460000+4c7d3+634]
796bb3d5: KERNEL32!WaitForSingleObject [796b0000+b3c6+f]
00463870: Dubber::WriteVideoFrame()
0045b68f: AVIPipe::getReadBuffer()
0046411e: Dubber::ThreadRun()
796bb2a9: KERNEL32!DuplicateHandle [796b0000+b1d5+d4]
004aed3e: VDThread::StaticThreadStart()
004c6cac: _threadstartex@4()
796bb382: KERNEL32!lstrcmpiW [796b0000+b2cb+b7]
-- End of report
finally I've my first Xvid 1.0 compressed movie.
But there's a strange problem.. when I try to play it, near the 12nd second ofg playing time windowsmediaplayer 6.4 crashes. (VLC doen's crash)
So I opened the avi (without audio) with Virtualdub and scanned it for errors, but it alllright...
Then I tried to play it with virtualdub, and the crash occurred at the same point...
Following I copied and pasted the complete crash report made by Virtualdub (first the short message and then the complete one).
Can someone please explain me what's happening?
I encoded the movie in 2 passes, without any strange option activated. Only MPEG quantization and VHQ at level 1.
All the other stuff were disactivated.
""An out-of-bounds memory access (access violation) occurred in module 'xvidcore'...
...while decompressing video frame 314 with "XviD MPEG-4 Codec" [biCompression=44495658] (VideoSource.cpp:1567)...
...while running thread "Processing" (thread.cpp:120).""
VirtualDub crash report -- build 18160 (release)
--------------------------------------
Disassembly:
05ae8d80: 3bf8 cmp edi, eax
05ae8d82: 0f8dd8030000 jge 05ae9160
05ae8d88: 8954242c mov [esp+2c], edx
05ae8d8c: 8d0412 lea eax, [edx+edx]
05ae8d8f: 8d742d00 lea esi, [ebp+ebp+00]
05ae8d93: 896c2420 mov [esp+20], ebp
05ae8d97: 03f6 add esi, esi
05ae8d99: 03f5 add esi, ebp
05ae8d9b: 2bf0 sub esi, eax
05ae8d9d: 8b442428 mov eax, [esp+28]
05ae8da1: 8d3c80 lea edi, [eax+eax*4]
05ae8da4: f7df neg edi
05ae8da6: 8b6c241c mov ebp, [esp+1c]
05ae8daa: 8d542d00 lea edx, [ebp+ebp+00]
05ae8dae: 03fa add edi, edx
05ae8db0: 03f7 add esi, edi
05ae8db2: 8d3c00 lea edi, [eax+eax]
05ae8db5: 8d542d00 lea edx, [ebp+ebp+00]
05ae8db9: 03d2 add edx, edx
05ae8dbb: 03d5 add edx, ebp
05ae8dbd: 2bd7 sub edx, edi
05ae8dbf: 8b6c2418 mov ebp, [esp+18]
05ae8dc3: 8d6cad00 lea ebp, [ebp+ebp*4+00]
05ae8dc7: f7dd neg ebp
05ae8dc9: 03db add ebx, ebx
05ae8dcb: 03eb add ebp, ebx
05ae8dcd: 03d5 add edx, ebp
05ae8dcf: 03c9 add ecx, ecx
05ae8dd1: 8b6c2414 mov ebp, [esp+14]
05ae8dd5: 8d5c2d00 lea ebx, [ebp+ebp+00]
05ae8dd9: 03db add ebx, ebx
05ae8ddb: 03dd add ebx, ebp
05ae8ddd: 2bd9 sub ebx, ecx
05ae8ddf: 8b4c242c mov ecx, [esp+2c]
05ae8de3: 8d3c89 lea edi, [ecx+ecx*4]
05ae8de6: f7df neg edi
05ae8de8: 8b6c2420 mov ebp, [esp+20]
05ae8dec: 8d4c2d00 lea ecx, [ebp+ebp+00]
05ae8df0: 03f9 add edi, ecx
05ae8df2: 03df add ebx, edi
05ae8df4: b901000000 mov ecx, 00000001
05ae8df9: 83fe00 cmp esi, 00
05ae8dfc: bfffffffff mov edi, ffffffff
05ae8e01: 0f4ff9 cmovg edi, ecx
05ae8e04: 8b4c2410 mov ecx, [esp+10]
05ae8e08: 0fbe940afd0200 movsx edx, byte ptr [edx+ecx+2fd]
00
05ae8e10: 0fbe9c0bfd0200 movsx ebx, byte ptr [ebx+ecx+2fd]
00
05ae8e18: 3bd3 cmp edx, ebx
05ae8e1a: 0fbe8c0efd0200 movsx ecx, byte ptr [esi+ecx+2fd] <-- FAULT
00
05ae8e22: 7c02 jl 05ae8e26
05ae8e24: 8bd3 mov edx, ebx
05ae8e26: 3bca cmp ecx, edx
05ae8e28: 8d1c3f lea ebx, [edi+edi]
05ae8e2b: 0f4cd1 cmovl edx, ecx
05ae8e2e: f7de neg esi
05ae8e30: 8d0c36 lea ecx, [esi+esi]
05ae8e33: 03c9 add ecx, ecx
05ae8e35: 03ce add ecx, esi
05ae8e37: 03db add ebx, ebx
05ae8e39: 03df add ebx, edi
05ae8e3b: 0fafda imul ebx, edx
05ae8e3e: 8d541920 lea edx, [ecx+ebx+20]
05ae8e42: c1fa06 sar edx, 06
05ae8e45: 2bc5 sub eax, ebp
05ae8e47: 8bc8 mov ecx, eax
05ae8e49: c1e91f shr ecx, 1f
05ae8e4c: 03c1 add eax, ecx
05ae8e4e: d1f8 sar eax, 1
05ae8e50: 85c0 test eax, eax
05ae8e52: 0f8e25260000 jle 05aeb47d
05ae8e58: 85d2 test edx, edx
05ae8e5a: 0f8c16260000 jl 05aeb476
05ae8e60: 3bc2 cmp eax, edx
05ae8e62: 0f4cd0 cmovl edx, eax
05ae8e65: 8b442428 mov eax, [esp+28]
05ae8e69: 2bc2 sub eax, edx
05ae8e6b: 8b4c2404 mov ecx, [esp+04]
05ae8e6f: 8841ff mov [ecx-01], al
05ae8e72: 03d5 add edx, ebp
05ae8e74: 8811 mov [ecx], dl
05ae8e76: e9e5020000 jmp 05ae9160
05ae8e7b: 894c2430 mov [esp+30], ecx
05ae8e7f: 8b db 8b
Windows 5.0 (Windows 2000 build 2195) [Service Pack 4]
EAX = 000000f7
EBX = 00000055
ECX = 05bd018c
EDX = 0000002e
EBP = 00000017
DS:ESI = 0023:fffffb64
ES:EDI = 0023:ffffffff
SS:ESP = 0023:0a87e9f8
CS:EIP = 001b:05ae8e1a
FS = 0038
GS = 0000
EFLAGS = 00010283
FPUCW = ffff027f
FPUTW = ffffaaaa
MM0 = 8080808080808080
MM1 = 8080808080808080
MM2 = 8080808080808080
MM3 = 8080808080808080
MM4 = 8080808080808080
MM5 = 8080808080808080
MM6 = 7f7f7f7f7f7f7f7f
MM7 = 7f7f7f7f7f7f7f7f
Crash reason: Access Violation
Crash context:
An out-of-bounds memory access (access violation) occurred in module 'xvidcore'...
...while decompressing video frame 314 with "XviD MPEG-4 Codec" [biCompression=44495658] (VideoSource.cpp:1567)...
...while running thread "Processing" (thread.cpp:120).
Thread traces:
Thread 00000914 (Main thread)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
Thread 000004b4 (AsyncBlitter)
Thread 00000aac (Processing)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1946)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2093)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2095)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2103)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2143)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1941)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1598)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1946)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2093)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2095)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2103)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(2143)
C:\p4root\dev_stable\VirtualDub\source\Dub.cpp(1941)
C:\p4root\dev_stable\VirtualDub\source\VideoSource.cpp(1563)
Thread 000002d4 (Dub-I/O)
Thread call stack:05ae8e1a: xvidcore!xvid_decore [05a90000+4671c+126fe]
05ae8895: xvidcore!xvid_decore [05a90000+4671c+12179]
05ae86a0: xvidcore!xvid_decore [05a90000+4671c+11f84]
05ad6d7a: xvidcore!xvid_decore [05a90000+4671c+65e]
05ad6751: xvidcore!xvid_decore [05a90000+4671c+35]
10006c1c: xvidvfw!DriverProc [10000000+6008+c14]
1000624c: xvidvfw!DriverProc [10000000+6008+244]
784701fb: ntdll!RtlImageNtHeader [78460000+101f2+9]
796b84b0: KERNEL32!GetLastError [796b0000+8245+26b]
796b8491: KERNEL32!GetLastError [796b0000+8245+24c]
796b7a84: KERNEL32!00007a84
784ace74: ntdll!RtlFreeHeap [78460000+4c7d3+6a1]
784abaef: ntdll!RtlSizeHeap [78460000+4b906+1e9]
784ace07: ntdll!RtlFreeHeap [78460000+4c7d3+634]
7846eb70: ntdll!RtlUnwind [78460000+ea4a+126]
78475160: ntdll!NtDeviceIoControlFile [78460000+150d4+8c]
78481606: ntdll!KiUserExceptionDispatcher [78460000+215f8+e]
78481614: ntdll!KiUserExceptionDispatcher [78460000+215f8+1c]
796dba9d: KERNEL32!RaiseException [796b0000+2ba47+56]
796dba9d: KERNEL32!RaiseException [796b0000+2ba47+56]
6a7b17f8: MSVFW32!ICSendMessage [6a7b0000+17c4+34]
6a7b4ee9: MSVFW32!ICDecompress [6a7b0000+4eae+3b]
004a0712: VideoSourceAVI::streamGetFrame()
784abaef: ntdll!RtlSizeHeap [78460000+4b906+1e9]
784ace07: ntdll!RtlFreeHeap [78460000+4c7d3+634]
796bb3d5: KERNEL32!WaitForSingleObject [796b0000+b3c6+f]
00463870: Dubber::WriteVideoFrame()
0045b68f: AVIPipe::getReadBuffer()
0046411e: Dubber::ThreadRun()
796bb2a9: KERNEL32!DuplicateHandle [796b0000+b1d5+d4]
004aed3e: VDThread::StaticThreadStart()
004c6cac: _threadstartex@4()
796bb382: KERNEL32!lstrcmpiW [796b0000+b2cb+b7]
-- End of report