Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th April 2018, 04:40 | #1 | Link |
Registered User
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 168
|
VirtualDub2 "Filter"
Thanks for shekhjkl and other nice guys to make VirtualDub2 (I'm a bit confused since it's been called VirtualDub Filtermod sometime ago).
I've tried to move all the filter (plugin32 and plugin64 folder) and found that not all filter loaded, any documentation of this? Or the VirtualDub2 just load the plugin64 by default? I've tried to load the old filter manually and some of them works fine, but not loaded by default? Is there any "configuration" to set the loading folder? Thanks. Rgds, Johnson.
__________________
Hong Kong - International Joke Center (after 1997-6-30) |
16th April 2018, 16:44 | #2 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Quote:
Plugins64 is only for the 64 bit version of VD2, so should not contain any of the 32 bit plugins. Plugins32 is for the 'extended' plugins, which end in '.vdplugin', although for some reason my plugins32 also contains old format '.vdf' plugins. The old style 32 bit plugins should remain in 'Plugins' directory [I dont think VD2 has a Plugins directory as installed(not sure)], if not then just create a 'Plugins'. directory inside the Vdub2 folder and copy your plugins from old Vdub into that folder, not into Plugins32 or Plugins64.. Do not mix the contents of the directories, which is what I am guessing that you are saying that you have done. Lastly, I guess that Shekh would not have objected to you posting your question in the VDub2 thread.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
||
17th April 2018, 01:31 | #3 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
There is not much changed in how plugins are loaded. "plugins" is kind of legacy directory, you can put both x86 and x64 plugins in it but it is better practice to separate them in 32/64 dirs.
All plugin types are equal, it does not matter .vdf or .vdplugin btw, its better to deal with more threads. Unfortunately I only get subgroup notification at 3 am.
__________________
VirtualDub2 |
17th April 2018, 02:29 | #4 | Link | |
Registered User
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 168
|
Quote:
I'll try sorting them out, but since through out the years, some of the plugin filename is too short and I've no idea which filter matched it's filename, to clean up the folder is not an easy task. And I found the processing script changed a little bit, the new one complain that the ** syntax have problem. VirtualDub.audio.SetSource(1); **VirtualDub.audio.SetMode(1); VirtualDub.audio.SetInterleave(1,500,1,0,-700); VirtualDub.audio.SetClipMode(1,1); VirtualDub.audio.SetEditMode(1);
__________________
Hong Kong - International Joke Center (after 1997-6-30) |
|
17th April 2018, 10:53 | #5 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
The script must be backward compatible, only new functions are added.
Please be more specific. Post a script that fails as is, without any editing. Also post the error message from log. Is your script literally contain "**" or did you only use it to indicate the failed line? For filters: if it does not load it could be very old version. What is the previous VD it was running with? In any case there should be a message in the log. If you can load that filter in your old VD, I guess you can see its title, description? Can you reveal it? Is this filter publicly available?
__________________
VirtualDub2 |
17th April 2018, 13:22 | #6 | Link | |
Registered User
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 168
|
Quote:
I still keep the old script (created from official Virtualdub 1.10.4) and attached in this thread, the ** just to show the error line, not the script have the star, sorry for the misleading edit. Guess I've run the wrong version, already forgot why I'll put the Virtualdub 1.10.2 AMD64 in the same folder, it did give the error message complaining (screen attached).
__________________
Hong Kong - International Joke Center (after 1997-6-30) Last edited by johnsonlam; 17th April 2018 at 14:33. Reason: typo |
|
18th April 2018, 09:47 | #7 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Hi shekh, I'm upgrading the virtualdub filter in avs+.
I have downloaded the demo crossfade filter and working with that one. I have two questions: 1.) This specific filter can have two input clips. What marks multiple (2,3...) clips in the parameter signature? 2.) The filter uses V19 interface and in videofilter.h i can see Code:
struct VDXFilterDefinition2: public VDXFilterDefinition{ FilterModDefinition filterMod; }; Code:
template<class T> class VDXVideoFilterDefinition : public VDXFilterDefinition2 Code:
struct VDXFilterDefinition { ... old members ... // NEW - V20 FilterModDefinition* fm; }; struct FilterModDefinition { FilterModActivateProc activateProc; FilterModParamProc paramProc; }; Thanks in advance. |
18th April 2018, 11:19 | #8 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
Hi,
> This specific filter can have two input clips No, it is not input clips. the two sets of mpSourceFrames are generated by PrefetchProc from same source: prefetcher->PrefetchFrame(0, frame, 0); --> mpSourceFrames[0] prefetcher->PrefetchFrame(0, frame+param.width, 0); --> mpSourceFrames[1] Btw I have cloned sdk.chm, here is related stuff: prefetching multiple sources Haven't experimented with multiple sources yet, this is a bit complex. videofilter.h provides helpers for the plugin, it is not part of binary interface. VDXFilterDefinition2 is helper struct, this is full code: Code:
struct VDXFilterDefinition2: public VDXFilterDefinition{ FilterModDefinition filterMod; VDXFilterDefinition2() { fm = 0; } VDXFilterDefinition2(const VDXFilterDefinition2& a) :VDXFilterDefinition(a) { filterMod = a.filterMod; fm = &filterMod; } }; Unrolled: Code:
VDXFilterDefinition2{ VDXFilterDefinition{ ... // NEW - V17 / 1.10.2 VDXShowStaticAboutProc mpStaticAboutProc; VDXShowStaticConfigureProc mpStaticConfigureProc; // NEW - V20 FilterModDefinition* fm; ---------\ points to filterMod } | FilterModDefinition filterMod; <---/ }
__________________
VirtualDub2 |
18th April 2018, 11:27 | #9 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
EDIT: The reason of my confusion came from that in the provided source (crossfade.zip) this helper class did not match this logic, it uses an older version of videofilter.h (w/o the FilterModDefinition* fm pointer) Last edited by pinterf; 18th April 2018 at 11:46. |
|
26th April 2018, 17:31 | #10 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Teenie Weenie bug,
When exporting as single frame with eg jpeg as previously defaulted selection, can often be exported with bmp extension, but is internally jpeg (hex viewer), has been like that for long time, never bothered me enough to mention it, I usually pick another radio button export type, and then switch back and it works ok.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
26th April 2018, 17:59 | #11 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
I noticed it recently and already have a fix in my local copy.
Is this the new "everything" thread?
__________________
VirtualDub2 |
26th April 2018, 18:10 | #12 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Lovely, and yep, this is the new everything thread, great aint it
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
Tags |
virtualdub2 filter plugin |
Thread Tools | Search this Thread |
Display Modes | |
|
|