Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > VirtualDub Filters and Filter Development > 64-bit Mpeg-2 Plug-in


Posted by: septimus Jul 2 2008, 03:42 AM
I guess this is primarily directed at fccHandler, since his work has saved me a huge amount of trouble so far....

I won't get into the full complexity of the video analysis problem I have (actual science, believe it or not), but the problem distills to this --

I need a way to open MPEG-2 files in 64-bit VirtualDub. fccHandler's plugin works wonderfully for me in in 32-bit, but I can't stay inside those lines anymore -- I have many terabytes of video to feed into a fairly involved analysis algorithm that works on 8 or 10 GBs at a time.

I've looked into other methods (e.g., frameserving through avisynth) but they all fail for various reasons. I've looked -- HARD -- for other solutions and can't find one.

So now I'm begging for help. Is there a 64-bit MPEG-2 plugin that I can look forward to? Is there one out there that I can use? I'm not a programmer, but is there any way I can help things along?

Please don't make me break my analysis into 32-bit pieces...

Posted by: phaeron Jul 2 2008, 05:41 AM
You just reminded me of a dirty trick that might work in your case. VirtualDub's frameserver uses interprocess communication (IPC), so it does work between 32-bit and 64-bit processes. You should be able to open the file in 32-bit VirtualDub using the plugin and frameserve it to 64-bit VirtualDub.

Posted by: stephanV Jul 2 2008, 06:17 AM
AVFS (http://www.turtlewar.org/avfs/) could be another option.

Posted by: squid_80 Jul 2 2008, 02:00 PM
Also avisynth64 and dgindex/dgdecode 64-bit plugin. But I would highly recommend AVFS (as I speak I have an avisynth script open in mplayer running under 64-bit ubuntu, with the original files/script processing on a pc in another room smile.gif)

Posted by: septimus Jul 2 2008, 03:52 PM
phaeron: interesting, but I couldn't run the 32 and 64 bit versions of VirtualDub on the same machine, since the 32-bit plug-in doesn't work (unless I virtualize -- but then I'd have to frameserve from the guest to the host OS, and find a way to pass automation commands from my external algorithm to the 64-bit VirtualDub to the 32-bit one....)

stephan/squid: AVFS sounds good, but I have to devote my available 32-bit machines to other parts of this project, so using one as a frameserver is not practical.

squid: where might I obtain avisynth64 and dgdecode64?

Posted by: phaeron Jul 3 2008, 05:51 AM
Not sure I understand. The 32-bit version of VirtualDub with 32-bit plugins will work fine on a 64-bit version of Windows.

Posted by: septimus Jul 3 2008, 10:12 PM
I've tried on two different WinXP_x64 machines. 32-bit VirtualDub will run, but the plugins don't. If I install fccHandler's MPEG-2 plugin and try to open a file,
I get an error that says VirtualDub cannot open MPEG-2 files.

Should I be using VirtualDub-MPEG2 1.6.19 instead of the plugin for 1.8.1? I was under the impression that the new plugin was the preferred method.


Posted by: stephanV Jul 3 2008, 10:42 PM
Did you specifically select the MPEG2 plugin in the file extension drop down menu of the file open dialog?

Posted by: septimus Jul 5 2008, 07:07 PM
My files are actually .M2V, but this really shouldn't make any difference should it?


Posted by: phaeron Jul 6 2008, 07:16 PM
It sounds like the plugin isn't loading. Try running this in a command prompt or shortcut:
CODE
virtualdub /F "<full path to plugin.vdf>"


I know that works, because I've run the plugin in Vista x64 that way before.

I'd suspect a missing runtime DLL otherwise, but the MPEG-2 plugin is statically linked and doesn't have any such dependencies.

Posted by: septimus Jul 8 2008, 09:40 PM
Reinstalled 1.8.1 and the latest version of fccHandler's plugin onto my 64-bit beast.

Now everything seems to work fine (32-bit VirtualDub w/ 32-bit plugin on WinXP_x64). HappyHappyHappy.

Thank you for the help and suggestions everyone.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)