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. |
8th June 2015, 13:36 | #1181 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
|
You'll have to call the AviSynth script directly from a 64 bit application to load 64 bit AviSynth+ to load 64 bit plugins.
Try it first with AVSMeter64.exe – when it passes the analysis and starts processing frames, it worked. |
8th June 2015, 14:58 | #1182 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
@vcmohan
You can also try 64-bit VirtualDub. You might want to upgrade to the latest AviSynth+ (r1825) also. The documentation for SetFilterMTMode and Prefetch is here: http://avisynth.nl/index.php/AviSynth%2B#MT_Notes Last edited by Reel.Deel; 8th June 2015 at 15:04. |
9th June 2015, 14:25 | #1183 | Link | ||
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
Quote:
Quote:
|
||
9th June 2015, 15:20 | #1184 | Link |
Registered User
Join Date: Dec 2011
Posts: 77
|
If you don't care about original Avisynth support, current Avisynth has IScriptEnv2.Allocate (just cast from your original IScriptEnv), which you should use with mode AVS_POOLED_ALLOC. But I don't know whether this solve the implicit synchronization, nor whether this API is stable. It is being used by internal filter though: https://github.com/AviSynth/AviSynth...ample.cpp#L755
__________________
AviSynth+ |
9th June 2015, 21:25 | #1186 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
You're going to get variety of opinions with this kind of question. I'd say use AVS 2.6 for serious work. The current AVS+ builds are really in Alpha stage and I've had problems with them, especially using complex scripts like QTGMC.
__________________
Groucho's Avisynth Stuff |
9th June 2015, 21:50 | #1188 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
There is something odd with the memory management in the newer builds, they use much less memory than r1576 or 2.6 but it seems that this is exactly what causes the slowdown. Just a hunch.
__________________
Groucho's Avisynth Stuff |
|
10th June 2015, 07:20 | #1190 | Link | |
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
Quote:
I thought home page installer puts the latest dll. However with SetFilterMTMode("..", 1) I get a message no function named setFilterMTMode The script I am using is: l Code:
oadplugin("C:\TransPlugins\bin_64\HistogramAdjust\x64\Release\HistogramAdjust.dll") #---------------------------------------- SetFilterMTMode("HistogramAdjust",1) imagesource("c:\images\source1_z.jpg",end = 500) converttoyV12() HistogramAdjust(limit = 70) prefetch(6) |
|
10th June 2015, 08:15 | #1192 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
A link to the r1825 binaries is here.
__________________
Groucho's Avisynth Stuff |
|
29th June 2015, 23:30 | #1193 | Link |
Registered User
Join Date: Feb 2012
Posts: 82
|
I have just started using the latest version Avisynth+ (r1825) and seems to be working reasonable well and quicker in some situations where 64bit can be used. Looks very promising, so great work by those who have developed it to this stage.
The version I have found to work really well for almost everything is 2.6 MT but it is only 32bit. However although I can get many scripts that work in 2.6 MT to work in plus, I can not get the following script to work at all. So I'm hoping someone can help. I use this script a lot in batch encoding and it should allow VirtualDub 64 bit to be used for that. SetFilterMTMode("DEFAULT_MT_MODE", 2) SetFilterMTMode("FFVideoSource", 3) LoadVirtualDubPlugin ("C:\Virtual Dub\plugins32\Deshaker.vdf", "deshaker", preroll=0)Clip="D:\Batch Script Render\Iutput Files\Test.mts" V1=FFVideoSource(Clip) A1=FFAudioSource(Clip,track = -1) AudioDub(V1, A1)#.AdvancedMultiTrim("0,-25") ConvertToRGB32() SCRIPT_1=Deshaker("19|1|30|4|1|0|1|0|640|480|1|2|1000|1000|1000|1000|4|1|4|2|8|30|300|4|C:\\Users\\Peter\\AppData\\Local\\Deshaker\\Deshaker.log|0|0|0|0|0|0|0|0|0|0|0|0|0|1|8|8|3|8|0|0|30|30|0|0|1|0|1|1|0|10|1000|1|90|1|1|20|5000|100|20|1|0|ff00ff") ForceProcess(SCRIPT_1) SCRIPT_1 = 0 SCRIPT_2=ConvertToRGB32(matrix="Rec709").Deshaker("19|2|30|4|1|0|1|0|640|480|1|2|1000|1000|1000|1000|4|1|4|2|8|30|300|4|C:\\Users\\Peter\\AppData\\Local\\Deshaker\\Deshaker.log|0|0|0|0|0|0|0|0|0|0|0|0|0|1|8|8|3|8|0|0|30|30|0|0|1|0|1|1|0|10|1000|1|90|1|1|20|5000|100|20|1|0|ff00ff") \.ConvertToYUY2() # I can add other plugins here return SCRIPT_2 Function ForceProcess(clip c) { # Force process c clip RT_DebugF("Starting Force process of clip") # EDIT: Output to DebugView (google) GScript(""" for(i=0,c.FrameCount-1) { RT_YankChain(c,i) } """) } This line SCRIPT_1=Deshaker .......... causes "system exception- access violation" Any suggestion to get this to work in Avisynth + would be very much appreciated. Thanks |
29th June 2015, 23:36 | #1194 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
Does 64-bit VirtualDub load 64-bit plugins from plugins64? Because you're pointing to the Deshaker plugin in plugins32.
Also, GScript's extensions were integrated into AviSynth+; you can just use those features natively now. Last edited by qyot27; 29th June 2015 at 23:39. |
30th June 2015, 00:21 | #1195 | Link |
Registered User
Join Date: Feb 2012
Posts: 82
|
I am trying to use virtualdub 32bit to get it to work. I'm testing it on Avspmod, which only handles 32bit. I did try to load it direct into ffmpeg but that failed as well.
It is the first deshaker pass that fails to load. I'll look at the Gscript issue later, but that shouldn't cause any of these issues. I have also tried loading just the first pass which works in 2.6. Thanks for your input |
30th June 2015, 02:45 | #1196 | Link |
Registered User
Join Date: Dec 2011
Posts: 354
|
Deshaker plugin is not really compatible with MT avisynth. It is also internally multi-threaded. This maybe the case. Have you tried single threaded settings (if is there exist)?
Last edited by bxyhxyh; 30th June 2015 at 02:48. |
30th June 2015, 04:07 | #1197 | Link |
Registered User
Join Date: Feb 2012
Posts: 82
|
Well it may not be compatible with MT but I have been using it now for a year or more with 2.6 MT.
It took many days to set it up so it would work and it renders quicker than a single thread setup. This is an example of the script I use. SetMemoryMax(512) Setmtmode(5,4) LoadVirtualDubPlugin ("C:\Virtual Dub\plugins32\Deshaker.vdf", "deshaker", preroll=0)Clip="G:\Africa\Wilds\Final Edit\Part02\199.mts" V1=avss_26_DSS2(Clip, fps = 50) A1=FFAudioSource(Clip,track = -1) AudioDub(V1, A1).AdvancedMultiTrim("0,-25") Setmtmode(2) SCRIPT_1=ConvertToRGB32(matrix="Rec709").Deshaker("19|1|30|4|1|0|1|0|640|480|1|2|1000|1000|1000|1000|4|1|4|2|8|30|300|4|C:\\Users\\Peter\\AppData\\Local\\Deshaker\\Deshaker.log|0|0|0|0|0|0|0|0|0|0|0|0|0|1|8|8|3|8|0|0|30|30|0|0|1|0|1|1|0|10|1000|1|90|1|1|20|5000|100|20|1|0|ff00ff") ForceProcess(SCRIPT_1) SCRIPT_1 = 0 Setmtmode(2) SCRIPT_2=ConvertToRGB32(matrix="Rec709").Deshaker("19|2|30|4|1|0|1|0|640|480|1|2|1000|1000|1000|1000|4|1|4|2|8|30|300|4|C:\\Users\\Peter\\AppData\\Local\\Deshaker\\Deshaker.log|0|0|0|0|0|0|0|0|0|0|0|0|0|1|8|8|3|8|0|0|30|30|0|0|1|0|1|1|0|10|1000|1|90|1|1|20|5000|100|20|1|0|ff00ff") \.ConvertToYV12() \.MTClipEnhance(levels=245, gamma=1.05, WB=0.20, saturation=1.20, Hue1=-2,Hue2=1) return SCRIPT_2 Function ForceProcess(clip c) { # Force process c clip RT_DebugF("Starting Force process of clip") # EDIT: Output to DebugView (google) GScript(""" for(i=0,c.FrameCount-1) { RT_YankChain(c,i) } """) } The MTClipEnhance also has a Setmtmode within it. I would just like to be able to use it within Avisynth + . This would save the need for changing versions and hopefully we could get a further increase in rendering speed. |
3rd July 2015, 17:19 | #1199 | Link |
Registered User
Join Date: Feb 2015
Posts: 31
|
This may already be known and deemed unimportant as ffdshow is no longer being developed, but I have noticed that r1825 is not available to ffdshow rev4533 x64. Avisynth+ r1779 works as it should with ffdshow. Scripts added to ffdshow with r1825 simply have no effect.
|
Thread Tools | Search this Thread |
Display Modes | |
|
|