| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > Testing / Bug Reports > Mpeg-2 Plugin 4.2 Bug |
| Posted by: heustess Jan 17 2012, 02:27 AM |
| @fccHandler MPEG-2 plugin Version 4.2 works fine with the VirtualDub 1.9.11 gui if YV12 is chosen as the decompression format and output format to compressor/display but crashes VirtualDub 1.9.11 vdub.exe if used in a bat file even if YV12 is chosen as the decompression format and output format to compressor/display. The command is: vdub.exe /s test.syl test.syl is: VirtualDub.Open("test.vob","",0); VirtualDub.audio.SetSource("test.wav", ""); VirtualDub.audio.SetMode(0); VirtualDub.audio.SetInterleave(1,500,1,0,0); VirtualDub.audio.SetClipMode(1,0); VirtualDub.audio.SetConversion(0,0,0,0,0); VirtualDub.audio.SetVolume(); VirtualDub.audio.SetCompression(); VirtualDub.audio.EnableFilterGraph(0); VirtualDub.video.SetInputFormat(15); VirtualDub.video.SetOutputFormat(15); VirtualDub.video.SetMode(3); VirtualDub.video.SetSmartRendering(0); VirtualDub.video.SetPreserveEmptyFrames(0); VirtualDub.video.SetFrameRate2(0,0,1); VirtualDub.video.SetIVTC(0, 0, 0, 0); VirtualDub.video.SetCompression(); VirtualDub.video.filters.Clear(); VirtualDub.video.filters.Add("IVTC"); VirtualDub.video.filters.instance[0].Config(1,0,-1); VirtualDub.video.filters.Add("resize"); VirtualDub.video.filters.instance[1].Config(320,240,0,4,3,2,320,240,4,3,0,7,1,0x000000); VirtualDub.audio.filters.Clear(); VirtualDub.subset.Clear(); VirtualDub.subset.AddRange(0,15184); VirtualDub.video.SetRangeFrames(98,15078); VirtualDub.project.ClearTextInfo(); VirtualDub.SaveAVI("VirtualDub.avi"); VirtualDub.SaveWAV("VirtualDub.wav"); VirtualDub.audio.SetSource(1); VirtualDub.Close(); This all works with version 4.1 and 1.9.11 |
| Posted by: heustess Jan 17 2012, 03:03 AM |
| VirtualDub crash report -- build 32842 (release) -------------------------------------- Disassembly: 8306e840: 0000 add [eax], al 8306e842: 0000 add [eax], al 8306e844: 0000 add [eax], al 8306e846: 0000 add [eax], al 8306e848: 0000 add [eax], al 8306e84a: 0000 add [eax], al 8306e84c: 0000 add [eax], al 8306e84e: 0000 add [eax], al 8306e850: 0000 add [eax], al 8306e852: 0000 add [eax], al 8306e854: 0000 add [eax], al 8306e856: 0000 add [eax], al 8306e858: 0000 add [eax], al 8306e85a: 0000 add [eax], al 8306e85c: 0000 add [eax], al 8306e85e: 0000 add [eax], al 8306e860: 0000 add [eax], al 8306e862: 0000 add [eax], al 8306e864: 0000 add [eax], al 8306e866: 0000 add [eax], al 8306e868: 0000 add [eax], al 8306e86a: 0000 add [eax], al 8306e86c: 0000 add [eax], al 8306e86e: 0000 add [eax], al 8306e870: 0000 add [eax], al 8306e872: 0000 add [eax], al 8306e874: 0000 add [eax], al 8306e876: 0000 add [eax], al 8306e878: 0000 add [eax], al 8306e87a: 0000 add [eax], al 8306e87c: 0000 add [eax], al 8306e87e: 0000 add [eax], al 8306e880: 0000 add [eax], al 8306e882: 0000 add [eax], al 8306e884: 0000 add [eax], al 8306e886: 0000 add [eax], al 8306e888: 0000 add [eax], al 8306e88a: 0000 add [eax], al 8306e88c: 0000 add [eax], al 8306e88e: 0000 add [eax], al 8306e890: 0000 add [eax], al 8306e892: 0000 add [eax], al 8306e894: 0000 add [eax], al 8306e896: 0000 add [eax], al 8306e898: 0000 add [eax], al 8306e89a: 0000 add [eax], al 8306e89c: 0000 add [eax], al 8306e89e: 0000 add [eax], al 8306e8a0: 0000 add [eax], al 8306e8a2: 0000 add [eax], al 8306e8a4: 0000 add [eax], al 8306e8a6: 0000 add [eax], al 8306e8a8: 0000 add [eax], al 8306e8aa: 0000 add [eax], al 8306e8ac: 0000 add [eax], al 8306e8ae: 0000 add [eax], al 8306e8b0: 0000 add [eax], al 8306e8b2: 0000 add [eax], al 8306e8b4: 0000 add [eax], al 8306e8b6: 0000 add [eax], al 8306e8b8: 0000 add [eax], al 8306e8ba: 0000 add [eax], al 8306e8bc: 0000 add [eax], al 8306e8be: 0000 add [eax], al 8306e8c0: 0000 add [eax], al 8306e8c2: 0000 add [eax], al 8306e8c4: 0000 add [eax], al 8306e8c6: 0000 add [eax], al 8306e8c8: 0000 add [eax], al 8306e8ca: 0000 add [eax], al 8306e8cc: 0000 add [eax], al 8306e8ce: 0000 add [eax], al 8306e8d0: 0000 add [eax], al 8306e8d2: 0000 add [eax], al 8306e8d4: 0000 add [eax], al 8306e8d6: 0000 add [eax], al 8306e8d8: 0000 add [eax], al 8306e8da: 0000 add [eax], al 8306e8dc: 0000 add [eax], al 8306e8de: 0000 add [eax], al 8306e8e0: 0000 add [eax], al 8306e8e2: 0000 add [eax], al 8306e8e4: 0000 add [eax], al 8306e8e6: 0000 add [eax], al 8306e8e8: 0000 add [eax], al 8306e8ea: 0000 add [eax], al 8306e8ec: 0000 add [eax], al 8306e8ee: 0000 add [eax], al 8306e8f0: 0000 add [eax], al 8306e8f2: 0000 add [eax], al 8306e8f4: 0000 add [eax], al 8306e8f6: 0000 add [eax], al 8306e8f8: 0000 add [eax], al 8306e8fa: 0000 add [eax], al 8306e8fc: 0000 add [eax], al 8306e8fe: 0000 add [eax], al 8306e900: 0000 add [eax], al 8306e902: 0000 add [eax], al 8306e904: 0000 add [eax], al 8306e906: 0000 add [eax], al 8306e908: 0000 add [eax], al 8306e90a: 0000 add [eax], al 8306e90c: 0000 add [eax], al 8306e90e: 0000 add [eax], al 8306e910: 0000 add [eax], al 8306e912: 0000 add [eax], al 8306e914: 0000 add [eax], al 8306e916: 0000 add [eax], al 8306e918: 0000 add [eax], al 8306e91a: 0000 add [eax], al 8306e91c: 0000 add [eax], al 8306e91e: 0000 add [eax], al 8306e920: 0000 add [eax], al 8306e922: 0000 add [eax], al 8306e924: 0000 add [eax], al 8306e926: 0000 add [eax], al 8306e928: 0000 add [eax], al 8306e92a: 0000 add [eax], al 8306e92c: 0000 add [eax], al 8306e92e: 0000 add [eax], al 8306e930: 0000 add [eax], al 8306e932: 0000 add [eax], al 8306e934: 0000 add [eax], al 8306e936: 0000 add [eax], al 8306e938: 0000 add [eax], al 8306e93a: 0000 add [eax], al 8306e93c: 0000 add [eax], al 8306e93e: 0000 add [eax], al Built on Aegis on Fri Dec 24 13:18:44 2010 using compiler version 1400 Windows 6.1 (Windows Vista x64 build 7601) [Service Pack 1] EAX = 0000001b EBX = 0029272c ECX = 0000000d EDX = 00292700 EBP = 0029272c ESI = 0027c630 EDI = 00292754 ESP = 0018f824 EIP = 8306e8c1 EFLAGS = 00210217 FPUCW = 027f FPUTW = ffff Crash reason: Access Violation Crash context: An out-of-bounds memory access (access violation) occurred at 8306e8c1... ...reading address 8306E8C1. Pointer dumps: EBX 00292728: 0027c350 00000000 00000000 000002d0 000001e0 00000000 0000001c 00000000 EDX 00292700: 00000000 00000000 000002d0 000001e0 000002d0 0000000d 00054600 000002d0 ESI 0027c630: 0027bea8 0027be48 00000000 00000000 0027bd08 00278708 61726620 00000000 EDI 00292750: 00000000 00000000 00000000 00000000 16947599 0c058a7c 0000076c ffffffff ESP 0018f820: 00000000 00553b5e 0000001c 00292754 0027c630 0029272c 00292448 00000000 0018f840: 00000000 00000000 00000000 00000000 00000000 00000000 77e1fab2 7554e58f 0018f860: ffffffff 0018f88c 00000000 00000003 00431f16 00292728 002926e8 0029272c 0018f880: 0028f8f4 004319bc 0018fa24 005d9838 ffffffff 004315a9 00292700 0029272c EBP 00292728: 0027c350 00000000 00000000 000002d0 000001e0 00000000 0000001c 00000000 00292748: 00000000 00000000 00000000 00000000 00000000 00000000 16947599 0c058a7c 00292768: 0000076c ffffffff 00000000 00000000 00000000 00000001 00000000 00000000 00292788: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Thread call stack: 00553b5e: VDPixmapCreateBlitter() 77e1fab2: ntdll!NtAllocateVirtualMemory [77e00000+1faa0+12] 7554e58f: KERNELBASE!VirtualAllocEx [75540000+e54b+44] 00431f16: VDFilterFrameQueue::VDFilterFrameQueue() 004319bc: VDFilterFrameManualSource::SetOutputLayout() 004315a9: VDFilterFrameConverter::Init() 0043e0b0: FilterSystem::initLinearChain() 77e2e38c: ntdll!RtlInitUnicodeString [77e00000+2e228+164] 77e33cc3: ntdll!RtlImageNtHeader [77e00000+33184+b3f] 77e33cee: ntdll!RtlImageNtHeader [77e00000+33184+b6a] 0051cd04: VDPostCheckExternalCodeCall() 00413f50: VDExternalCodeBracket::~VDExternalCodeBracket() 004d4153: VDVideoSourcePlugin::streamGetDecodePadding() 0046123b: VDProject::StartFilters() 755a14dd: kernel32!HeapFree [75590000+114c9+14] 005b308c: free() 004616e1: VDProjectTimelineTimingSource::CheckFilters() 00462058: VDProjectTimelineTimingSource::GetLength() 004793fa: VDTimeline::SetFromSource() 00464b52: VDProject::ResetTimeline() 00464b5a: VDProject::ResetTimeline() 0047174b: func_VDSubset_Clear() 0051633e: VDScriptInterpreter::InvokeMethod() 00516042: VDScriptInterpreter::InvokeMethod() 00516a6f: VDScriptInterpreter::ParseValue() 00516033: VDScriptInterpreter::InvokeMethod() 00515802: _Uninit_fill_n::(special)() 00515802: _Uninit_fill_n::(special)() 0051585d: unchecked_uninitialized_fill_n::(special)() 005167af: _catch$?ParseExpression@VDScriptInterpreter@@AAEXXZ$0() 00514ecb: VDScriptInterpreter::isIdentNextChar() 00515273: VDScriptInterpreter::Token() 00516b14: VDScriptInterpreter::ExecuteLine() 004727ba: RunScript() 0051d29e: VDAutoLogger::VDAutoLogger() 0044a24c: VDProcessCommandLine() 76bbd05f: USER32!WCSToMBEx [76ba0000+1cf1d+142] 76bb6d51: USER32!GetThreadDesktop [76ba0000+16c63+ee] 76bb6ce9: USER32!GetThreadDesktop [76ba0000+16c63+86] 76bb6d91: USER32!GetThreadDesktop [76ba0000+16c63+12e] 76bb6d51: USER32!GetThreadDesktop [76ba0000+16c63+ee] 76bb77c4: USER32!CharPrevW [76ba0000+1768c+138] 76bc0735: USER32!PeekMessageW [76ba0000+205ba+17b] 76bc60ed: USER32!PeekMessageA [76ba0000+25f74+179] 76bb77e2: USER32!CharPrevW [76ba0000+1768c+156] 76bc60dc: USER32!PeekMessageA [76ba0000+25f74+168] 004525a8: WinMain@16() 005b78db: __tmainCRTStartup() 755a339a: kernel32!BaseThreadInitThunk [75590000+13388+12] 77e39ef2: ntdll!RtlInitializeExceptionChain [77e00000+39e8f+63] 77e39ec5: ntdll!RtlInitializeExceptionChain [77e00000+39e8f+36] -- End of report |
| Posted by: heustess Jan 17 2012, 06:53 AM |
| In test.syl I reordered the lines with the video input and output formats first and everything now works with 1.9.11 vdub.exe and MPEG-2 plugin Version 4.2. VirtualDub.video.SetInputFormat(15); VirtualDub.video.SetOutputFormat(15); VirtualDub.Open("test.vob","",0); VirtualDub.audio.SetSource("test.wav", ""); VirtualDub.audio.SetMode(0); VirtualDub.audio.SetInterleave(1,500,1,0,0); VirtualDub.audio.SetClipMode(1,0); VirtualDub.audio.SetConversion(0,0,0,0,0); VirtualDub.audio.SetVolume(); VirtualDub.audio.SetCompression(); VirtualDub.audio.EnableFilterGraph(0); VirtualDub.video.SetMode(3); VirtualDub.video.SetSmartRendering(0); VirtualDub.video.SetPreserveEmptyFrames(0); VirtualDub.video.SetFrameRate2(0,0,1); VirtualDub.video.SetIVTC(0, 0, 0, 0); VirtualDub.video.SetCompression(); VirtualDub.video.filters.Clear(); VirtualDub.video.filters.Add("IVTC"); VirtualDub.video.filters.instance[0].Config(1,0,-1); VirtualDub.video.filters.Add("resize"); VirtualDub.video.filters.instance[1].Config(320,240,0,4,3,2,320,240,4,3,0,7,1,0x000000); VirtualDub.audio.filters.Clear(); VirtualDub.subset.Clear(); VirtualDub.subset.AddRange(0,15184); VirtualDub.video.SetRangeFrames(98,15078); VirtualDub.project.ClearTextInfo(); VirtualDub.SaveAVI("VirtualDub.avi"); VirtualDub.SaveWAV("VirtualDub.wav"); VirtualDub.audio.SetSource(1); VirtualDub.Close(); |
| Posted by: fccHandler Jan 21 2012, 02:01 AM | ||
I am not able to reproduce this with vdub.exe 1.9.11 and MPEG-2 plugin 4.2. My script is the same as yours except for the file names and video length:
Are you able to reproduce it with any other files except your test.vob? Does it still crash if you omit the SetRangeFrames command? If you seek to frame number 98 on the time line, what is the frame type shown in brackets? (For example, in mine it is [p], which indicates an interlaced P-frame.) |
| Posted by: heustess Jan 21 2012, 03:48 AM |
| @ fccHandler 98 is a b frame but it also crashes on p frames and i frames. It also crashes if I use the entire frame range with no clipping. It still crashes if I omit the SetRangeFrames command. This happens with all my vobs unless I put the SetInputFormat and SetOutputFormat at the beginning. This is not necessary and works fine with 1.10.1 or with plugin 4.1. I am using Windows 7 SP1. |
| Posted by: fccHandler Jan 22 2012, 07:34 AM |
| Thank you for posting all of your files! Unfortunately, it still doesn't crash for me. I double-clicked the batch file, pressed my "any key" to attempt this, and let it proceed. It generated 1.avi, 1.wav, 2.avi, 2.wav, and did not crash. I noticed that the crash is within VirtualDub itself, not in the plugin. That doesn't necessarily mean that there isn't a flaw in the plugin, since you say it works OK with the previous version 4.1. My home machine is Windows XP Professional SP3. I do have a Windows 7 machine at work, so Monday I can do another test on that machine. Stay tuned... |
| Posted by: heustess Jan 22 2012, 02:51 PM |
| Thank you for your hard work. Please let me know when it is safe for me to remove test.zip from my website. I am still curious about the 1.9.11 problem even though I have switched to 1.10.1 now which does work fine for me with 4.2 without placing the video input and output formats first in my syl. Here is some more info. I have Windows 7 Home Premium SP1. My registry reads: [HKEY_CURRENT_USER\Software\VirtualDub.org] [HKEY_CURRENT_USER\Software\VirtualDub.org\VirtualDub] "SeenWelcome"=dword:00000001 "VirtualDub"=dword:00000001 [HKEY_CURRENT_USER\Software\VirtualDub.org\VirtualDub\Window Placement] "Main window"=hex:f0,00,00,00,9c,00,00,00,90,06,00,00,9b,03,00,00,00,00,00,00 I use no other VirtualDub plugins and only have the codecs that came with Windows 7 installed. |
| Posted by: fccHandler Jan 22 2012, 05:12 PM |
| You can remove test.zip from your site, I got it. |
| Posted by: heustess Jan 23 2012, 06:15 AM |
| I think the problems are with VirtualDub.exe and vdube.exe 1.10.1 and up when exporting raw video. I posted the problems to Virtualdub 1.10.2 Test Thread that exist for me without using your plugin (opening an avi and raw video exporting from it). |
| Posted by: jman Jan 30 2012, 02:06 PM |
| @fccHandler Until now I used the MPEG-2 Plugin (x86) v3.8 with VirtualDub v1.9.11. I had no problems with re-encoding any VOB file. A few days ago I downloaded the new version 4.2 of your plugin. I start VD and I open a VOB file, it parses with no problem. I chose Video/Filters and I add the Deinterlace filter. As soon as I press Ok, VD crashes. I don't know if it's a particular problem. It can be. If I put back the old plugin, it works just fine. VirtualDub crash report -- build 32842 (release) -------------------------------------- Disassembly: 8306e840: 0000 add [eax], al 8306e842: 0000 add [eax], al 8306e844: 0000 add [eax], al 8306e846: 0000 add [eax], al 8306e848: 0000 add [eax], al 8306e84a: 0000 add [eax], al 8306e84c: 0000 add [eax], al 8306e84e: 0000 add [eax], al 8306e850: 0000 add [eax], al 8306e852: 0000 add [eax], al 8306e854: 0000 add [eax], al 8306e856: 0000 add [eax], al 8306e858: 0000 add [eax], al 8306e85a: 0000 add [eax], al 8306e85c: 0000 add [eax], al 8306e85e: 0000 add [eax], al 8306e860: 0000 add [eax], al 8306e862: 0000 add [eax], al 8306e864: 0000 add [eax], al 8306e866: 0000 add [eax], al 8306e868: 0000 add [eax], al 8306e86a: 0000 add [eax], al 8306e86c: 0000 add [eax], al 8306e86e: 0000 add [eax], al 8306e870: 0000 add [eax], al 8306e872: 0000 add [eax], al 8306e874: 0000 add [eax], al 8306e876: 0000 add [eax], al 8306e878: 0000 add [eax], al 8306e87a: 0000 add [eax], al 8306e87c: 0000 add [eax], al 8306e87e: 0000 add [eax], al 8306e880: 0000 add [eax], al 8306e882: 0000 add [eax], al 8306e884: 0000 add [eax], al 8306e886: 0000 add [eax], al 8306e888: 0000 add [eax], al 8306e88a: 0000 add [eax], al 8306e88c: 0000 add [eax], al 8306e88e: 0000 add [eax], al 8306e890: 0000 add [eax], al 8306e892: 0000 add [eax], al 8306e894: 0000 add [eax], al 8306e896: 0000 add [eax], al 8306e898: 0000 add [eax], al 8306e89a: 0000 add [eax], al 8306e89c: 0000 add [eax], al 8306e89e: 0000 add [eax], al 8306e8a0: 0000 add [eax], al 8306e8a2: 0000 add [eax], al 8306e8a4: 0000 add [eax], al 8306e8a6: 0000 add [eax], al 8306e8a8: 0000 add [eax], al 8306e8aa: 0000 add [eax], al 8306e8ac: 0000 add [eax], al 8306e8ae: 0000 add [eax], al 8306e8b0: 0000 add [eax], al 8306e8b2: 0000 add [eax], al 8306e8b4: 0000 add [eax], al 8306e8b6: 0000 add [eax], al 8306e8b8: 0000 add [eax], al 8306e8ba: 0000 add [eax], al 8306e8bc: 0000 add [eax], al 8306e8be: 0000 add [eax], al 8306e8c0: 0000 add [eax], al 8306e8c2: 0000 add [eax], al 8306e8c4: 0000 add [eax], al 8306e8c6: 0000 add [eax], al 8306e8c8: 0000 add [eax], al 8306e8ca: 0000 add [eax], al 8306e8cc: 0000 add [eax], al 8306e8ce: 0000 add [eax], al 8306e8d0: 0000 add [eax], al 8306e8d2: 0000 add [eax], al 8306e8d4: 0000 add [eax], al 8306e8d6: 0000 add [eax], al 8306e8d8: 0000 add [eax], al 8306e8da: 0000 add [eax], al 8306e8dc: 0000 add [eax], al 8306e8de: 0000 add [eax], al 8306e8e0: 0000 add [eax], al 8306e8e2: 0000 add [eax], al 8306e8e4: 0000 add [eax], al 8306e8e6: 0000 add [eax], al 8306e8e8: 0000 add [eax], al 8306e8ea: 0000 add [eax], al 8306e8ec: 0000 add [eax], al 8306e8ee: 0000 add [eax], al 8306e8f0: 0000 add [eax], al 8306e8f2: 0000 add [eax], al 8306e8f4: 0000 add [eax], al 8306e8f6: 0000 add [eax], al 8306e8f8: 0000 add [eax], al 8306e8fa: 0000 add [eax], al 8306e8fc: 0000 add [eax], al 8306e8fe: 0000 add [eax], al 8306e900: 0000 add [eax], al 8306e902: 0000 add [eax], al 8306e904: 0000 add [eax], al 8306e906: 0000 add [eax], al 8306e908: 0000 add [eax], al 8306e90a: 0000 add [eax], al 8306e90c: 0000 add [eax], al 8306e90e: 0000 add [eax], al 8306e910: 0000 add [eax], al 8306e912: 0000 add [eax], al 8306e914: 0000 add [eax], al 8306e916: 0000 add [eax], al 8306e918: 0000 add [eax], al 8306e91a: 0000 add [eax], al 8306e91c: 0000 add [eax], al 8306e91e: 0000 add [eax], al 8306e920: 0000 add [eax], al 8306e922: 0000 add [eax], al 8306e924: 0000 add [eax], al 8306e926: 0000 add [eax], al 8306e928: 0000 add [eax], al 8306e92a: 0000 add [eax], al 8306e92c: 0000 add [eax], al 8306e92e: 0000 add [eax], al 8306e930: 0000 add [eax], al 8306e932: 0000 add [eax], al 8306e934: 0000 add [eax], al 8306e936: 0000 add [eax], al 8306e938: 0000 add [eax], al 8306e93a: 0000 add [eax], al 8306e93c: 0000 add [eax], al 8306e93e: 0000 add [eax], al Built on Aegis on Fri Dec 24 13:18:44 2010 using compiler version 1400 Windows 5.1 (Windows XP x86 build 2600) [Service Pack 2] EAX = 0000001b EBX = 00bbc424 ECX = 0000000d EDX = 00bbc3f8 EBP = 00bbc424 ESI = 00bb9020 EDI = 00bbc44c ESP = 0012f8c4 EIP = 8306e8c1 EFLAGS = 00210217 FPUCW = ffff027f FPUTW = ffffffff Crash reason: Access Violation Crash context: An out-of-bounds memory access (access violation) occurred at 8306e8c1... ...reading address 8306E8C1. Pointer dumps: EBX 00bbc420: 00bb8d40 00000000 00000000 000002d0 000001e0 00000000 0000001c 00000000 EDX 00bbc3f8: 00000000 00000000 000002d0 000001e0 000002d0 0000000d 00054600 000002d0 ESI 00bb9020: 00bb8898 00bb8838 00000000 00000000 00000000 00000000 00000000 00000000 EDI 00bbc448: 00000000 00000000 00000000 00000000 00640175 01001000 00b90178 00b90178 ESP 0012f8c0: 00000000 00553b5e 0000001c 00bbc44c 00bb9020 00bbc424 00bbc140 00000000 0012f8e0: 00000000 00bbc138 00000320 00bbc140 00000008 00b90178 00000320 00000000 0012f900: 00b90000 0012f6fc 00000000 0012fac4 00431f16 00bbc420 00bbc3e0 00bbc424 0012f920: 00bbb54c 004319bc 0012fac4 005d9838 ffffffff 004315a9 00bbc3f8 00bbc424 EBP 00bbc420: 00bb8d40 00000000 00000000 000002d0 000001e0 00000000 0000001c 00000000 00bbc440: 00000000 00000000 00000000 00000000 00000000 00000000 00640175 01001000 00bbc460: 00b90178 00b90178 00000000 00000000 00000000 00000000 00000000 00000000 00bbc480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Thread call stack: 00553b5e: VDPixmapCreateBlitter() 00431f16: VDFilterFrameQueue::VDFilterFrameQueue() 004319bc: VDFilterFrameManualSource::SetOutputLayout() 004315a9: VDFilterFrameConverter::Init() 0043e0b0: FilterSystem::initLinearChain() 77d487ff: USER32!GetDC [77d40000+8697+168] 77d487ff: USER32!GetDC [77d40000+8697+168] 77d4b368: USER32!DefWindowProcW [77d40000+b1e5+183] 0051cd04: VDPostCheckExternalCodeCall() 00413f50: VDExternalCodeBracket::~VDExternalCodeBracket() 004d4153: VDVideoSourcePlugin::streamGetDecodePadding() 0046123b: VDProject::StartFilters() 0043cdc6: FilterSystem::DeallocateBuffers() 004614b5: VDProject::UpdateDubParameters() 00466bb0: VDProjectUI::SetVideoFiltersAsk() 77d4de84: USER32!SetPropW [77d40000+ddb3+d1] 77d4dec7: USER32!SetPropW [77d40000+ddb3+114] 0046cc30: VDProjectUI::MenuHit() 77d494a7: USER32!GetWindowLongA [77d40000+947c+2b] 77d4b250: USER32!DefWindowProcW [77d40000+b1e5+6b] 004794a0: VDUIFrame::DefProc() 0046da41: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0() 77d494a7: USER32!GetWindowLongA [77d40000+947c+2b] 00465ac0: VDProjectUI::WndProc() 00479b65: VDUIFrame::StaticWndProc() 77d48709: USER32!GetDC [77d40000+8697+72] 77d487eb: USER32!GetDC [77d40000+8697+154] 77d489a5: USER32!GetWindowLongW [77d40000+887e+127] 77d4cff8: USER32!PeekMessageA [77d40000+cefd+fb] 77d4bccc: USER32!DispatchMessageA [77d40000+bcbd+f] 00452596: WinMain@16() 005b78db: __tmainCRTStartup() 7c816d4f: kernel32!RegisterWaitForInputIdle [7c800000+16d06+49] -- End of report |
| Posted by: fccHandler Feb 11 2012, 05:52 AM |
| I have been following all of the bug reports about MPEG-2 version 4.2. Unfortunately the bugs specific to Windows 7 are not easy for me to debug, and so far I haven't been able to reproduce any bugs using Windows XP, including the last post of jman. I would be grateful if you could upload any test files which demonstrate a crash on Windows XP. In the meantime, I've added a link to the previous stable version 4.1 on my web page. You can use this version if you are experiencing problems with the latest version. http://fcchandler.home.comcast.net/Plugins/MPEG2 |
| Posted by: heustess Feb 11 2012, 03:57 PM |
| I don't have Windows Xp so I can't help there, but using video filters seems to have something to do with all the problems I mentioned in this topic with 4.2 using 1.9.11 on Windows 7. Without video filters everything works fine for me. As I mentioned before, these problems disappear with 1.10.1. |
| Posted by: jman Feb 12 2012, 09:37 AM |
| As you can see in my crash log I'm using Win Xp SP2. Some of my programs are not working on SP3, so this is the reason why I'm still using SP2. Practically it crashes with any Vob file. Tested with Dolby Digital - Aurora & Dolby Digital - Broadway, you can download it from the link below: http://www.digital-digest.com/movies/movie_index.php?type=dolby I made some tests with several VD versions. The same crash with 1.9.10, 1.9.9, 1.9.4. 1.8.8, 1.8.1. The 4.2 is working fine with the experimental VD 1.10.1. The 4.1 is working as expected with all VD versions. Using any of the filters (not just Deinterlace) makes the same crash. |
| Posted by: -vdub- Feb 13 2012, 02:58 AM |
| OT: Really programs that need SP2 that won't work with SP3. I've never read, seen or encountered that one yet. If that is so then better of using SP1 than SP2 since SP2 is the worst of all the XP service packs |
| Posted by: fccHandler Feb 18 2012, 06:44 AM | ||
Thank you for posting these. Unfortunately I was still not able to reproduce a crash, but with the help of heustess I have been able to pinpoint the cause. I know what I need to change to stop the crashes, but I am still investigating why that change is necessary. Stay tuned... |
| Posted by: fccHandler Feb 18 2012, 08:44 PM |
Apparently the crash condition arises when all of the following are true:
Version 4.2 of the plugin returns the Rec. 709 version of the 4:2:0 colorspace in this case, which is WRONG because VirtualDub 1.9.11 doesn't know that colorspace. I have changed it to return kPixFormat_YUV420_Planar for backward compatibility. I expect this will fix the crashes: http://fcchandler.home.comcast.net/Plugins/MPEG2 |
| Posted by: heustess Feb 18 2012, 10:22 PM |
| 4.3 works for me in 1.9.11 and 1.10.1 in Windows 7. Good work! |
| Posted by: jman Feb 19 2012, 06:47 PM |
| Yes, the 4.3 is working perfectly. Thank you very much fccHandler for fixing the problem and thank you heustess for the contribution. Keep up the good work! |
| Posted by: heustess Feb 19 2012, 07:25 PM |
| I just tested the plugin (something that anyone can do) under different situations. All the credit for creating and fixing the plugin goes to fccHandler. |
| Posted by: ^rooker Feb 20 2012, 05:33 PM |
| Unfortunately, v4.3 introduces ugly artifacts with some MPEGs (created with mencoder): I've created 2 screenshots http://download.das-werkstatt.com/pb/mthk/examples/mpeg-duration/vx-04690_01-026s.mpg, with VirtualDub v1.9.11 and fcchandler's plugin v4.1 and v4.2: (Sorry for the size, but I thought I'd keep the images as original/untouched as possible...) MPEG2 plugin v4.1: ![]() MPEG2 plugin v4.3: ![]() This applies to both: 32bit and 64bit |
| Posted by: jman Feb 21 2012, 01:52 PM |
| I have converted your MPEG sample to an XviD avi file with the plugin 4.1 & 4.3. The two avi files are identical (same CRC32) and contains no artifacts. Interesting... |
| Posted by: ^rooker Feb 21 2012, 04:32 PM |
| @jman: The artifacts shown in the images appear while playing the MPEG in VirtualDub (or if stepping through, frame-by-frame) If they are not visible on your setup, what could I check to see where they come from on my setup? ...or what has changed between v4.1 and v4.3 - because v4.1 works fine here. Thanks for any hints! |
| Posted by: jman Feb 21 2012, 08:00 PM |
| So only affects playback? You may try to encode the video to other format. Let's see if affects encoding too. I couldn't notice any artifact during playback or advancing by one frame in VD. Maybe fccHandler or someone else will have a hunch. |
| Posted by: ^rooker Feb 23 2012, 02:40 PM |
| I've exported the video to FFv1 (lossless) using ffdshow-tryouts codec plugin: Same artefacts in the resulting AVI. Puzzling that with same fccHandler version + same VirtualDub version (1.9.11), you're not getting these artifacts... I know I've said that it applies to 32+64bit, but right now, it only happens with the 64bit version. Maybe it was my mistake the first time, because I had multiple VirtualDubs open... However, with 64bit the artifacts appear during playback and export. |
| Posted by: fccHandler Feb 24 2012, 01:09 AM |
| I was not able to reproduce this with the 32-bit plugin, but I have found one serious bug in the 64-bit code, and that bug would definitely cause artifacts. I am currently going over the rest of the 64-bit code with a fine-toothed comb to see if there are any other unpleasant surprises. Stay tuned... |
| Posted by: fccHandler Feb 25 2012, 02:54 AM |
| I fixed the decoding error in the 64-bit build. I made no changes to the 32-bit build, but I incremented its version number anyway for consistency: http://fcchandler.home.comcast.net/Plugins/MPEG2 |
| Posted by: Gral Feb 25 2012, 03:30 AM |
| A very small typo on the page: "This page was last updated February 26, 2012." ??? Tomorrow? EDIT: For me it's tomorrow, for you even day after... |
| Posted by: fccHandler Feb 25 2012, 05:52 AM |
| Good catch, thanks. The web pages are fixed now. |
| Posted by: ^rooker Feb 27 2012, 08:48 AM |
| Wow, that was fast! I've tried v4.4 with 64bit and the artifacts are gone. Everything's fine now. Thank you very much! |