AviSynth/VirtualDub greetings!
I got the below sample script from "https://forum.videohelp.com/threads/388933-Slowing-Down-Video-Gradually":
LoadPlugin ("Path to\SickJumps.dll")
AviSource ("Path to\Clip.avi")
ConvertToYV12(matrix="Rec709")
SickJumps(clip c, int "first_frame", int "last_frame",
float "start_multiplier", float "full_multiplier",
float "up_seconds", float "down_seconds",
string "script_variable", float "end_multiplier")
SickJumps(100, 590, 1.0, 0.5, 2.0, 1.0)
return Last
#Comments:
##........100, where things start
##........590, where things end
##........1.0, starts normally
##........0.5, slows down to 1/2 speed
##........2.0, speeds up to 2x speed
##........1.0, slows down to normal speed
## THIS EXAMPLE:
## play 1x speed to "first_frame"
## over the next 2 sec (OUTPUT TIME), ramp down to 0.5x speed
## stay at 0.5x until 3 sec (OUTPUT TIME) before source frame "last_frame"
## over the next 3 sec (OUTPUT TIME), ramp up to 1x speed and play to end
#Requirements
#Avisynth 2.6 or greater, or Avisynth+
#Microsoft's Visual C++ 2015 Redistributable
#Plugin SickJumps.dll
#The audio changes pitch with speed. The sound is smooth; no glitches - very impressive......
..........Then, an AviSynth open failure/script error: "Expected a, or ) line X, column Y" (here: SickJumps(clip c,.....). Column Y is the 'comma' after c.
Tried versions x86 and x64 of SickJumps, still the same error.
Any ideias?
Thanks
O.S. Win7x64 Home Premium
Visual C++ 2015 Redistributable installed.
AviSynth+ installed
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 18 of 18
Thread
-
-
comment out or erase the usage instructions
Code:LoadPlugin ("Path to\SickJumps.dll") AviSource ("Path to\Clip.avi") ConvertToYV12(matrix="Rec709") SickJumps(100, 590, 1.0, 0.5, 2.0, 1.0)
-
That's not what I'm referring to
The text above the call is not commented out - it's not a function definition. You need erase or comment it out. The actual plugin is a .dll
Code:SickJumps(clip c, int "first_frame", int "last_frame", float "start_multiplier", float "full_multiplier", float "up_seconds", float "down_seconds", string "script_variable", float "end_multiplier")
-
Thank you, friends! It worked! But, for some reason, just for the x86 version of SickJumps. No matter. it's working.
-
What is the problem with x64 version ? Describe the issue
x64 works for me v0.1.1
https://github.com/ItEndsWithTens/SickJumps/releases
Do you have the requirements ?
http://avisynth.nl/index.php/SickJumps#Requirements -
"What is the problem with x64 version ? Describe the issue"
Avisynth open failure: Cannot load the plugin (though I am on x64 OS)
Anther (half) problem):
When I said.... "It works!"....Not quite...It seems I rushed things a bit.
The "slowing down and back to normal" parts of the scripts are ok. But it doesn't speed up. -
Are you loading the plugin explicitly?
LoadPlugin("PATH/SickJumps.dll")
Is there another plugin interfering or the wrong plugin in the autoload directory ? Clean out the plugins directory
Anther (half) problem):
When I said.... "It works!"....Not quite...It seems I rushed things a bit.
The "slowing down and back to normal" parts of the scripts are ok. But it doesn't speed up.
Use the full text for the commands, there should be 5 entries besides the start, end frames
(first_frame= , last_frame=, start_multiplier=, full_multiplier=, up_seconds=, down_seconds=, end_multiplier=) etc... -
"Are you loading the plugin explicitly?
LoadPlugin("PATH/SickJumps.dll")
Is there another plugin interfering or the wrong plugin in the autoload directory ? Clean out the plugins directory"
-----------------------------------------------------------------------------------------------------------------------------
LoadPlugin ("Path to\SickJumps.dll") x86 DLL. THIS WORKED
LoadPlugin ("Path to\SickJumps.dll") x64 DLL. THIS DIDN'T(*)
AviSource ("Path to\Timeline2.avi")
ConvertToYV12(matrix="Rec709")
With some more input from "http://avisynth.nl/index.php/SickJumps", the script is now OK...:
SickJumps(first_frame=0, last_frame=framecount-1, start_multiplier=0.5, full_multiplier=1.5, up_seconds=30, down_seconds=30, end_multiplier=1.0).
return Last
(*) Path checked. I removed all other DLLs to no avail (Avisynth open failure: Cannot load SickJumps.dll).
Thank you poisondeathray! -
Do you have 2 avisynth versions installed? You have to use avisynth x64 to load x64 plugins
The program calling avisynth or used to preview will determine what version is used - eg. if you open .avs in vdub x64, or mpchc x64, or avspmod x64 - it will be avisynth x64 initialized. But if you used vdub2 x86, or mpchc x86, or avspmod x86, then it will be avisynth x86 initialized. -
AviSynth+ uninstalled AviSynth 2.5.
In Control Panel there is only one instance of AviSynth (the plus version).
The current installation has 4 plugins folders: Plugins and Plugins64 (imported from AviSynth 2.5, I suppose. Both empty) and Plugins+ and Plugins64+, from the current installation. -
I edit video with VirtualDub.
Under Program Files I have VirtualDub 1.10 and under Program Files (x86) I have VirtualDub 1.8.8 (the one I use). -
Yes! That's it!
Program Files\VirtualDub 1.10(x64) + Program Files\Avisynth+\SickJumps.dll(x64) worked just fine. -
After I started using the x64 version of VirtualDub, the x64 version of SickJumps (installed under AviSynth+) worked flawlessly.