Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Regression Between The 1.10.4 And 1.9.11 With Desh
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
rmanal
Posted: Mar 19 2014, 06:52 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Hello,

i'm using deshaker on an MP4 file, and VD is crashing under the 1.10.4 but not with the 1.9.11.
Here the crash error file of the 1.10.4:
VirtualDub crash report -- build 35491 (release)
--------------------------------------

Disassembly:
7c812f40: 013b add [ebx], edi
7c812f42: c60f84 mov byte ptr [edi], 84h
7c812f45: 8519 test [ecx], ebx
7c812f47: 0300 add eax, [eax]
7c812f49: 8975e4 mov [ebp-1ch], esi
7c812f4c: 834dfcff or dword ptr [ebp-04h], 0ffh
7c812f50: e81c000000 call 7c812f71
7c812f55: 8b45e4 mov eax, [ebp-1ch]
7c812f58: e8b4f5feff call 7c802511
7c812f5d: c20c00 ret 000c
7c812f60: ff db 0ffh
7c812f61: ff db 0ffh
7c812f62: ff db 0ffh
7c812f63: ff00 inc dword ptr [eax]
7c812f65: 0000 add [eax], al
7c812f67: 00712f add [ecx+2fh], dh
7c812f6a: 817c9090909090 cmp dword ptr [eax+edx*4-70h], 8d909090
8d
7c812f72: 45 inc ebp
7c812f73: cc int 3
7c812f74: 50 push eax
7c812f75: ff154412807c call dword ptr [7c801244]
7c812f7b: c3 ret
7c812f7c: 90 nop
7c812f7d: 90 nop
7c812f7e: 90 nop
7c812f7f: 90 nop
7c812f80: 90 nop
7c812f81: 8bff mov edi, edi
7c812f83: 55 push ebp
7c812f84: 8bec mov ebp, esp
7c812f86: 83ec50 sub esp, 50h
7c812f89: 8b4508 mov eax, [ebp+08h]
7c812f8c: 8365b800 and dword ptr [ebp-48h], 00h
7c812f90: 8945b0 mov [ebp-50h], eax
7c812f93: 8b450c mov eax, [ebp+0ch]
7c812f96: 56 push esi
7c812f97: 8b7514 mov esi, [ebp+14h]
7c812f9a: 83e001 and eax, 01h
7c812f9d: 85f6 test esi, esi
7c812f9f: 8945b4 mov [ebp-4ch], eax
7c812fa2: c745bc812f817c mov dword ptr [ebp-44h], 7c812f81
7c812fa9: 0f8499000000 jz 7c813048
7c812faf: 8b4d10 mov ecx, [ebp+10h]
7c812fb2: 83f90f cmp ecx, 0fh
7c812fb5: 0f87051a0300 ja 7c8449c0
7c812fbb: 85c9 test ecx, ecx
7c812fbd: 894dc0 mov [ebp-40h], ecx
7c812fc0: 7407 jz 7c812fc9
7c812fc2: 57 push edi
7c812fc3: 8d7dc4 lea edi, [ebp-3ch]
7c812fc6: f3a5 rep movsd
7c812fc8: 5f pop edi
7c812fc9: 8d45b0 lea eax, [ebp-50h]
7c812fcc: 50 push eax
7c812fcd: ff151015807c call dword ptr [7c801510]
7c812fd3: 5e pop esi <-- FAULT
7c812fd4: c9 leave
7c812fd5: c21000 ret 0010
7c812fd8: 85ff test edi, edi
7c812fda: 0f8e5e8effff jle 7c80be3e
7c812fe0: 8b55fc mov edx, [ebp-04h]
7c812fe3: 89550c mov [ebp+0ch], edx
7c812fe6: 0fb716 movzx edx, word ptr [esi]
7c812fe9: 8b7df8 mov edi, [ebp-08h]
7c812fec: 8a143a mov dl, [edx+edi]
7c812fef: 8811 mov [ecx], dl
7c812ff1: 8b780c mov edi, [eax+0ch]
7c812ff4: 0fb6d2 movzx edx, dl
7c812ff7: 668b1457 mov dx, [edi+edx*2]
7c812ffb: 663b16 cmp edx, [esi]
7c812ffe: 0f8599870300 jnz 7c84b79d
7c813004: 8b5008 mov edx, [eax+08h]
7c813007: 668b5a04 mov bx, [edx+04h]
7c81300b: 3819 cmp [ecx], bl
7c81300d: 0f8497870300 jz 7c84b7aa
7c813013: 46 inc esi
7c813014: 46 inc esi
7c813015: 41 inc ecx
7c813016: ff4d0c dec dword ptr [ebp+0ch]
7c813019: 75cb jnz 7c812fe6
7c81301b: e91e8effff jmp 7c80be3e
7c813020: 8b4d10 mov ecx, [ebp+10h]
7c813023: e84c73ffff call 7c80a374
7c813028: 8b550c mov edx, [ebp+0ch]
7c81302b: 8bd8 mov ebx, eax
7c81302d: 43 inc ebx
7c81302e: e9399effff jmp 7c80ce6c
7c813033: 8bd9 mov ebx, ecx
7c813035: 895d08 mov [ebp+08h], ebx
7c813038: e92e9dffff jmp 7c80cd6b
7c81303d: 8b35 mov esi, [ebp]
7c81303f: 9c pushfd

Built on Althena on Sun Oct 27 15:59:07 2013 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 152M/2048M, commit limit 5213M, physical total 3327M

EAX = 096bf5b4
EBX = 73d76b76
ECX = 00000000
EDX = 00000003
EBP = 096bf604
ESI = 096bf644
EDI = 096bf644
ESP = 096bf5b0
EIP = 7c812fd3
EFLAGS = 00000206
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Unhandled Microsoft C++ Exception

Crash context:
An exception occurred in module 'kernel32'...

...while compressing frame 22 from 0dc80020 to 0d080020 using codec "DivX 6.9.2 Codec (2 Logical CPUs)" (w32videocodecpack.cpp:787)...

...while running thread "Processing" (thread.cpp:197).

Pointer dumps:

EAX 096bf5b0: 77be14bc e06d7363 00000001 00000000 7c812fd3 00000003 19930520 096bf654
EBX 73d76b72: c3000460 ffa194e8 c3c033ff 0377f6e8 28408b00 247c80c3 0a745c04 04247c80
ESI 096bf640: 73dd47b4 096bf658 73d70d28 096bf654 73dd47b4 73df23d0 00bf3ff7 73d76b7b
EDI 096bf640: 73dd47b4 096bf658 73d70d28 096bf654 73dd47b4 73df23d0 00bf3ff7 73d76b7b
ESP 096bf5b0: 77be14bc e06d7363 00000001 00000000 7c812fd3 00000003 19930520 096bf654
096bf5d0: 73dd47b4 7c9201db 7c809a7f 00150000 00140008 7c809a90 00000000 06171fac
096bf5f0: ffffffff 7c91e920 7c9201e0 ffffffff 7c9201db 096bf644 77bf272c e06d7363
096bf610: 00000001 00000003 096bf638 77bfc407 00000000 e06d7363 00000001 00000000
EBP 096bf600: 7c9201db 096bf644 77bf272c e06d7363 00000001 00000003 096bf638 77bfc407
096bf620: 00000000 e06d7363 00000001 00000000 00000000 00000003 19930520 096bf654
096bf640: 73dd47b4 096bf658 73d70d28 096bf654 73dd47b4 73df23d0 00bf3ff7 73d76b7b
096bf660: 73d23e14 00bf3ff7 00000000 0254c454 096bf6dc 096bf90c 06050784 00bf3ff7

Thread call stack:
7c812fd3: kernel32!RaiseException [7c800000+12f81+52]
7c812fd3: kernel32!RaiseException [7c800000+12f81+52]
7c9201db: ntdll!RtlAllocateHeap [7c910000+100c4+117]
7c809a7f: kernel32!LocalAlloc [7c800000+9a2d+52]
7c809a90: kernel32!LocalAlloc [7c800000+9a2d+63]
7c9201db: ntdll!RtlAllocateHeap [7c910000+100c4+117]
77bf272c: msvcrt!_CxxThrowException [77be0000+126f6+36]
73d70d28: MFC42!00050d28
73d76b7b: MFC42!00056b7b
73d23e14: MFC42!00003e14
06050784: DivX!DriverProc [05fd0000+7484+79300]
0604df60: DivX!DriverProc [05fd0000+7484+76adc]
0604e079: DivX!DriverProc [05fd0000+7484+76bf5]
77bfc3ce: msvcrt!free [77be0000+1c21b+1b3]
77bfc3e7: msvcrt!free [77be0000+1c21b+1cc]
0602df9d: DivX!DriverProc [05fd0000+7484+56b19]
77bfc3ce: msvcrt!free [77be0000+1c21b+1b3]
7c9201db: ntdll!RtlAllocateHeap [7c910000+100c4+117]
06032a27: DivX!DriverProc [05fd0000+7484+5b5a3]
06044060: DivX!DriverProc [05fd0000+7484+6cbdc]
06049f23: DivX!DriverProc [05fd0000+7484+72a9f]
7c921028: ntdll!wcsncpy [7c910000+1057f+aa9]
7c921086: ntdll!wcsncpy [7c910000+1057f+b07]
7c9201db: ntdll!RtlAllocateHeap [7c910000+100c4+117]
7c9201db: ntdll!RtlAllocateHeap [7c910000+100c4+117]
77bfc3c9: msvcrt!free [77be0000+1c21b+1ae]
77bfc3ce: msvcrt!free [77be0000+1c21b+1b3]
77bfc3ce: msvcrt!free [77be0000+1c21b+1b3]
77bfc3e7: msvcrt!free [77be0000+1c21b+1cc]
77bfc42e: msvcrt!malloc [77be0000+1c407+27]
06066fa8: DivX!DriverProc [05fd0000+7484+8fb24]
7c9225c3: ntdll!_strcmpi [7c910000+12314+2af]
7c9200b8: ntdll!RtlFreeHeap [7c910000+ff2d+18b]
060366be: DivX!DriverProc [05fd0000+7484+5f23a]
0606714a: DivX!DriverProc [05fd0000+7484+8fcc6]
01f04d7e: Deshaker!VirtualdubFilterModuleDeinit [01ee0000+29c0+223be]
06036456: DivX!DriverProc [05fd0000+7484+5efd2]
05fd3c28: DivX!00003c28
005eec00: VDFontRendererD3D9::Init()
05fd79dd: DivX!DriverProc [05fd0000+7484+559]
005eec00: VDFontRendererD3D9::Init()
75ba1938: MSVFW32!ICSendMessage [75ba0000+190d+2b]
75ba4db0: MSVFW32!ICCompress [75ba0000+4d4d+63]
005da2ee: VDVideoCompressorVCM::PackFrameInternal()
005dad85: VDVideoCompressorVCM::CompressFrame()
7c802600: kernel32!WaitForSingleObjectEx [7c800000+2550+b0]
7c802600: kernel32!WaitForSingleObjectEx [7c800000+2550+b0]
7c802542: kernel32!WaitForSingleObject [7c800000+2530+12]
0048c99b: VDThreadedVideoCompressor::ProcessFrame()
7c80262a: kernel32!WaitForSingleObjectEx [7c800000+2550+da]
0048ceed: VDThreadedVideoCompressor::ExchangeBuffer()
00424353: VDDubVideoProcessor::WriteFinishedVideoFrame()
00424dec: VDDubVideoProcessor::ProcessVideoFrame()
0044317d: FilterInstance::RunRequests()
004250ca: VDDubVideoProcessor::RunPathWriteOutputFrames()
00425cdf: VDDubVideoProcessor::WriteVideo()
00422d3e: VDDubProcessThread::ThreadRun()
004f9917: ?$VDProtectedAutoScope1::?$VDProtectedAutoScope1()
0051a2dc: VDThread::StaticThreadStart()
005fcc0e: _callthreadstartex()
005fccb3: _threadstartex@4()
7c80b729: kernel32!GetModuleFileNameA [7c800000+b56f+1ba]

-- End of report
 
     Top
dloneranger
Posted: Mar 19 2014, 07:31 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Looks like its crashing in DivX encoder
Did you use exactly the same source file and settings with both versions of virtualdub?
Does it happen if you use a different encoder?
Are you using the latest deshaker?

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Mar 20 2014, 06:35 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



I'm doing exactly the same for both VD.

I'm using the normal DIVX encoder, and deshaker 3.0.

It does not crash with cinepak.

More info:
*/ when I select cinepak and "run video analysis pass", no problem, but if I select DIVX, it says "video compression error: the source image format is not acceptable (error code -2).
But it does the same for both VD version, so I don't know if there is a link.

*/ Argh, in fact I have not done exactly the same thing in both cases: With the 1.9 I have used directshow filter to import the file, and with the 1.10 the FFEM. So with the 1.10 if I use the diectshow it works.
So the issue seems to come from the FFEM.
 
     Top
dloneranger
Posted: Mar 20 2014, 07:00 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



FFEM - is that the FFMPeg plugin?
Latest version of that is 0.8.1.0, some crashes were fixed lately

[edit]
It's 0.8.1.1 now I've fixed a problem with getting the last few frames of the source video

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Mar 24 2014, 07:19 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



OK I will test with the last one.
 
     Top
rmanal
Posted: Mar 28 2014, 11:34 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



I have tested with the last version of FFMPeg plugin:
- If I don't use vshaker, it works
- If I use vshaker I have the same crash

Here the VD folder with the plugin I use and the MP4 file I use.

Rmanal
 
     Top
rmanal
Posted: Mar 29 2014, 10:03 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Oups. The link: http://9giga.sfr.fr/n/50-17/share/LNK11865...653369a3c19ff9/
 
     Top
dloneranger
Posted: Mar 29 2014, 10:51 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Worked fine here

Started a clean virtual pc
Installed divx
Extracted your rar file (and tested with it + it's included plugins)
Set divx to 1080hd profile
Opened video with ffmpeg plugin
Added deshaker, set pass 1
Run video analysis pass
Set deshaker to pass 2
Saved avi
OK

Your saved crashlog still shows it was divx crashing while trying to compress a frame

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Mar 30 2014, 10:01 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



In my config I cannot run the video analysis; I got the error message: "Video compression error: the source image format is not acceptable (error code -2)": what does it mean?

Could you show me your deshaker config and which version of DIVX you have used?

It is very strange, but hopefully not blocking me.
 
     Top
dloneranger
Posted: Mar 30 2014, 12:51 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



That error means your giving divx an fps, width or height that is not compatible with the profile you have selected
That's why I selected the 1080 profile in the list above

I used your own files, so you already have the deshaker config
I said I downloaded divx, so it was the one from about 2 days ago


In general, codecs need widths and heights that are multiples of 2,4,8 or 16
Feeding them bad sizes will usually cause an error
If codecs have a profile selection, you must make sure the video fits that profile

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Mar 31 2014, 06:32 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



So it could be due to the fact that when you apply the pass 1 of deshaker, the size is a little bit larger in the output of VD, probably causing the issue with DIVX (as I have also the last version).

Do you see the same?
 
     Top
rmanal
Posted: Apr 18 2014, 09:47 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Hi,

I have tested on 3 differents PC and:
- I don't see the crash in the DIVX. So probably an issue on my own PC
- When I run the "Run video analysis pass" with DIVX selected in compression, I get always the message "video compression error: the source image format is not acceptable (error code -2)", which seems to be normal as deshaker, during the first pass, modify the size in a way not acceptable for DIVX codec. But not problem if I select another codec.

Thank you for your support,
Rmanal
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
11 replies since Mar 19 2014, 06:52 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports