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.

 
Virtualdub Amd64 Version & Ffdshow64, Vista Ultimate x64 SP1
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Mercury_22
Posted: Jun 10 2008, 11:09 AM


Newbie


Group: Members
Posts: 8
Member No.: 23647
Joined: 26-May 08



Hi !
I need some help with testing ffdshow64 ( encode 64-bit chain ) because I can't make VirtualDub AMD64 "see" / use ffdshow64 as encoder or decoder !
My Os Vista Ultimate x64 SP1, VirtualDub-1.8.0-AMD64 (also tested with VirtualDub-1.7.8-AMD64 ), ffdshow_rev1975_20080526_x64 !

Basically I followed VirtualDub's help for "installing" VirtualDub-1.8.0-AMD64 :
QUOTE
Copy vdsvrlnk64.dll and vdremote64.dll to the Windows\System32 folder.
Install the frameserver64.reg patch into the Registry.
, i've installed ffdshow_rev1975_20080526_x64 and I can't even open any file that use ffdshow64 as decoder in VirtualDub-1.8.0-AMD64 . Also in the Video compression menu ffdshow64 it's NOT present !
But with WMP 64-bit and MPC-HC 64-bit i can play any file with ffdshow64 as decoder, and even in Windows Movie Maker I can use ffdshow64 as decoder ! wacko.gif

Please help ! sad.gif

 
     Top
stephanV
Posted: Jun 10 2008, 11:20 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



Does ffdshow64 include a VFW component?

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
Mercury_22
Posted: Jun 10 2008, 11:23 AM


Newbie


Group: Members
Posts: 8
Member No.: 23647
Joined: 26-May 08



QUOTE (stephanV @ Jun 10 2008, 11:20 AM)
Does ffdshow64 include a VFW component?

Yes AFAIK ! huh.gif

On 32-bit chain VirtualDub-1.8.0 & ffdshow are working OK ! (Also in the Video compression menu ffdshow it's present !)
 
     Top
stephanV
Posted: Jun 10 2008, 11:29 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



Hmm. Maybe the VFW component is only 32 bit then?

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
Mercury_22
Posted: Jun 10 2008, 11:53 AM


Newbie


Group: Members
Posts: 8
Member No.: 23647
Joined: 26-May 08



QUOTE (stephanV @ Jun 10 2008, 11:29 AM)
Hmm. Maybe the VFW component is only 32 bit then?

NO ! That i'm supposed to see if it's working , the 64-bit version ! And I don't know where / what it's the problem , ( ffdshow64 or VirtualDub AMD64 ) blink.gif

More discussions here http://forum.doom9.org/showthread.php?p=11...432#post1147432

Please help me ! sad.gif
 
     Top
stephanV
Posted: Jun 10 2008, 12:06 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



I can't see anywhere there if ffdshow64 actually has a 64-bit VFW component. I'm afraid I don't know how to help you... mellow.gif

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
Mercury_22
Posted: Jun 10 2008, 12:18 PM


Newbie


Group: Members
Posts: 8
Member No.: 23647
Joined: 26-May 08



QUOTE (stephanV @ Jun 10 2008, 12:06 PM)
I can't see anywhere there if ffdshow64 actually has a 64-bit VFW component. I'm afraid I don't know how to help you... mellow.gif

Ok I'll dig into that and I'll be back !
 
     Top
squid_80
Posted: Jun 10 2008, 03:27 PM


Advanced Member


Group: Members
Posts: 594
Member No.: 13813
Joined: 22-January 05



It does. Possibly you need to install the vs2005 runtime component for x64, or (yet again) something on vista is stopping it from installing properly.
 
     Top
Mercury_22
Posted: Jun 10 2008, 07:13 PM


Newbie


Group: Members
Posts: 8
Member No.: 23647
Joined: 26-May 08



Yes ffdshow64 actually has a 64-bit VFW component I've got confirmation from one of the developers :

QUOTE (clsid;1147715)
Yes. If it works? I dunno, haven't got a 64-bit OS.

Profiles are selected using the information that is available before decoding starts. At least afaik. So it can only use aspect ratio info from the container, not from the bitstream itself.


http://forum.doom9.org/showthread.php?p=11...715#post1147715

And I have all vs2005 runtime component for x64 and x86 and I'm using the built-in administrator account so no installing problems from vista !
 
     Top
Mercury_22
Posted: Jun 16 2008, 03:46 PM


Newbie


Group: Members
Posts: 8
Member No.: 23647
Joined: 26-May 08



With the new versions VirtualDub-1.8.1-AMD64 and ffdshow_rev2009_20080616_clsid_x64 finally I manage to do some encoding ! But when I try to open mpeg4 files VirtualDub-1.8.1-AMD64 it's crashing with this message
QUOTE
VirtualDub crash report -- build 29808 (release-AMD64)
--------------------------------------

Disassembly:

Built on Aegis on Sun Jun 15 12:25:19 2008 using compiler version 1400

Windows 6.0 (Windows Vista x64 build 6001) [Service Pack 1]

RAX =      7fefe309634
RBX =          12e8b0
RCX =          12e8b0
RDX =                0
RSI =      7fefe2d0fbc
RDI =          12e710
RBP =          130000
R8  =      7fefe2fc604
R9  =          12e8b0
R10 =          12e8b0
R11 =              250
R12 =          11d000
R13 =          12dc50
R14 =      7fefe270000
R15 =          12e240
RSP =          12db40
RIP =      7fefe2b4f9b
EFLAGS = 00000202


Crash reason: unknown exception 0xc0000409

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

...while decompressing video frame 0 (VideoSource.cpp:2076)...

...while using input buffer at 0000000002B51380-0000000002B57C2D (VideoSource.cpp:2075)...

...while using output buffer at 0000000004B40080-0000000004CAF283 (VideoSource.cpp:2074).

Pointer dumps:

RAX  7fefe309630: 0008c5bc 00060080 00060fd7 0008c5e4 00060fe0 00061007 00088ca8 00061010
RBX  0012e8b0: 6ee14265 00000000 00000000 00000000 00000000 00000000 00000058 00000000
RCX  0012e8b0: 6ee14265 00000000 00000000 00000000 00000000 00000000 00000058 00000000
RSI  7fefe2d0fb8: fffa0824 249c8b48 000002b0 60c48148 41000002 415e415f 5f5c415d 90c35d5e
RDI  0012e710: c0000005 00000000 00000000 00000000 778cf2a0 00000000 00000002 00000018
RSP  0012db40: 0012e8b0 00000000 00000000 00000000 0011d000 00000000 0012dc50 00000000
      0012db60: 0011d000 00000000 778ce13d 00000000 00000000 00000000 0012dc50 00000000
      0012db80: fe309634 000007fe fe2d0fbc 000007fe 0012dc00 00000000 778cea57 00000000
      0012dba0: 00000001 00000000 00000000 000007fe 0012e8b0 00000000 00130000 00000000
RBP  00130000: 78746341 00000020 00000001 0000304c 000000dc 00000000 00000020 00000000
      00130020: 00000014 00000001 00000007 00000034 0000016c 00000001 00000000 00000000
      00130040: 00000000 00000000 00000000 00000002 1a26ef4e 00000284 00000044 000002cc
      00130060: 00000268 00000000 f33271ba 00000534 0000004a 00000580 0000032a 00000000
R8    7fefe2fc600: 00044f88 00000250 00000000 00000000 000b2b19 00583419 004e0119 e010f012
R9    0012e8b0: 6ee14265 00000000 00000000 00000000 00000000 00000000 00000058 00000000
R10  0012e8b0: 6ee14265 00000000 00000000 00000000 00000000 00000000 00000058 00000000
R12  0011d000: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
R13  0012dc50: 00000004 00000000 778cf1c0 00000000 fe2d0fd7 000007fe 77890000 00000000
R14  7fefe270000: 00905a4d 00000003 00000004 0000ffff 000000b8 00000000 00000040 00000000
R15  0012e240: 0012e710 00000000 05ee0158 00000000 00000000 00000000 fe270000 000007fe

Thread call stack:
7fefe2b4f9b: msvcrt!strerror_s [7fefe270000+44e94+107]
778ce13d: ntdll!RtlSetCriticalSectionSpinCount [77890000+3e0c0+7d]
7fefe2d0fbc: msvcrt!ungetwc [7fefe270000+5c95c+4660]
778cea57: ntdll!__C_specific_handler [77890000+3e658+3ff]
7fefe2d0fbc: msvcrt!ungetwc [7fefe270000+5c95c+4660]
778c00b0: ntdll!RtlGetActiveActivationContext [77890000+2fe00+2b0]
778d59f8: ntdll!KiUserExceptionDispatcher [77890000+459ca+2e]
778d59f8: ntdll!KiUserExceptionDispatcher [77890000+459ca+2e]
7fefe31587d: USP10!ScriptCacheGetHeight [7fefe310000+2be4+2c99]
7fefe3136c4: USP10!ScriptCacheGetHeight [7fefe310000+2be4+ae0]
776c6a52: USER32!Win32PoolAllocationStats [77690000+28470+e5e2]
778cf291: ntdll!RtlQueryInformationActivationContext [77890000+3efb0+2e1]
7fefe27136e: msvcrt!memcmp [7fefe270000+1270+fe]
778cd9e6: ntdll!RtlQueryEnvironmentVariable [77890000+3d840+1a6]
7fefe271771: msvcrt!_msize [7fefe270000+1700+71]
7fefe27136e: msvcrt!memcmp [7fefe270000+1270+fe]
7fefe2821ec: msvcrt!isleadbyte [7fefe270000+121d8+14]
7fefe271771: msvcrt!_msize [7fefe270000+1700+71]
7fefe2d0fbc: msvcrt!ungetwc [7fefe270000+5c95c+4660]
6ed822d9: xvidcore!000022d9
6ed8a1ee: xvidcore!0000a1ee
778d7d5b: ntdll!RtlAllocateHeap [77890000+47a30+32b]
74cf1906: MSVCR80!_aligned_malloc [74ca0000+518b0+56]
7778ceaa: kernel32!HeapFree [77760000+2cea0+a]
06128c42: ffdshow!configureEnc [05ef0000+167e80+d0dc2]
1400c6130: VDProjectUI::RepositionPanes()
1400cc3bb: VDProjectUI::MainWndProc()
06128d73: ffdshow!configureEnc [05ef0000+167e80+d0ef3]
1400c6130: VDProjectUI::RepositionPanes()
1400cc3bb: VDProjectUI::MainWndProc()
6edfa88c: xvidcore!xvid_plugin_ssim [6ed80000+766b0+41dc]
7778ceaa: kernel32!HeapFree [77760000+2cea0+a]
7fefe5ecbe6: ole32!CoTaskMemFree [7fefe5b0000+3cbb0+36]
7fef5d13570: MSVFW32!ICSendMessage [7fef5d10000+3518+58]
7fef5d13aa0: MSVFW32!ICDecompress [7fef5d10000+3a5c+44]
7778b01a: kernel32!ReadFile [77760000+2af90+8a]
7778a67f: kernel32!SetFilePointer [77760000+2a5c0+bf]
1401ce29b: VDVideoDecompressorVCM::DecompressFrame()
140141aa5: VDFile::readData()
778d7d5b: ntdll!RtlAllocateHeap [77890000+47a30+32b]
14010a522: VideoSourceAVI::streamGetFrame()
14010962c: VideoSourceAVI::streamFillDecodePadding()
1400be1ae: VDProject::UpdateFrame()
778d59a6: ntdll!KiUserCallbackDispatcher [77890000+45987+1f]
778d59a6: ntdll!KiUserCallbackDispatcher [77890000+45987+1f]
778d59a6: ntdll!KiUserCallbackDispatcher [77890000+45987+1f]
1400bf182: VDProject::DisplayFrame()
1400c67ef: VDProjectUI::UICurrentPositionUpdated()
1400c2559: VDProject::Open()
1400abc39: OpenAVI()
1400cb1b6: VDProjectUI::MenuHit()
776adfc8: USER32!ScrollDC [77690000+1dd34+294]
776ad126: USER32!GetMessageW [77690000+1d0a4+82]
1400d7557: VDUIFrame::DefProc()
1400cc4d4: VDProjectUI::MainWndProc()
776ad1cf: USER32!GetMessageW [77690000+1d0a4+12b]
776ad126: USER32!GetMessageW [77690000+1d0a4+82]
776abf9b: USER32!ReleaseDC [77690000+1bf08+93]
1400d7e7e: VDUIFrame::StaticWndProc()
776ad24a: USER32!GetMessageW [77690000+1d0a4+1a6]
776ad1cf: USER32!GetMessageW [77690000+1d0a4+12b]
776ad39e: USER32!GetMessageW [77690000+1d0a4+2fa]
776ad40f: USER32!TranslateMessage [77690000+1d3f0+1f]
1400a9ebe: inMain()
1401f16c1: _tmainCRTStartup()
7778c5af: kernel32!QueryPerformanceCounter [77760000+2c5a0+f]
7778495d: kernel32!BaseThreadInitThunk [77760000+24950+d]
778b8791: ntdll!RtlUserThreadStart [77890000+28770+21]

-- End of report


Any idea what's wrong ?
 
     Top
phaeron
Posted: Jun 17 2008, 07:27 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Well, that's a new one.

The crash definitely happened somewhere within ffdshow, but the call stack is still a bit of a mystery. C0000409 is STATUS_STACK_BUFFER_OVERFLOW, which must have been triggered by strerror_s(). Problem is, strerror_s() gives you a readable string for an error code... which isn't something you'd normally do in a video codec decompression routine.

If you have any logging options turned on in ffdshow, turn 'em off... not that there are many, if any.

Looks like I need to fix the AMD64 disassembler too, because it apparently doesn't work above FFFFFFFF....
 
    Top
Mercury_22
Posted: Jun 17 2008, 10:07 AM


Newbie


Group: Members
Posts: 8
Member No.: 23647
Joined: 26-May 08



I'm not using any logging AFAIK !
Please join our discussion here http://forum.doom9.org/showthread.php?p=11...483#post1149483 biggrin.gif
Thanks !

With the new version of ffdshow the crashing problem had been eliminated
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
11 replies since Jun 10 2008, 11:09 AM Track this topic | Email this topic | Print this topic

<< Back to Newbie Questions