SickJumps
From Avisynth wiki
(Difference between revisions)
(SickJumps: add documentation) |
m (→Description) |
||
Line 16: | Line 16: | ||
* Optionally sets a script variable per-frame for the runtime environment, should you want to overlay the current input frame number, or the speed multiplier (sample script included with source) | * Optionally sets a script variable per-frame for the runtime environment, should you want to overlay the current input frame number, or the speed multiplier (sample script included with source) | ||
* Keeps no state between GetFrame or GetAudio calls, and should be MT friendly. | * Keeps no state between GetFrame or GetAudio calls, and should be MT friendly. | ||
− | |||
<br> | <br> | ||
<br> | <br> | ||
+ | |||
== Requirements == | == Requirements == | ||
* [x86]: [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6] | * [x86]: [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6] |
Revision as of 15:28, 12 April 2020
Abstract | |
---|---|
Author | Robert Martens |
Version | v0.1.1 |
Download | SickJumps-0.1.1-AVS+-Windows-xXX.zip |
Category | Frame Rate Converters |
License | |
Discussion | Doom9 Forum |
Contents |
Description
Speed ramping, aka time-remapping (smooth speed changes). This plugin: This plugin:
- Processes both video and audio
- Lets you specify how long, in seconds, each output ramp should last
- Allows separate start and end speeds (e.g. start at 1x, speed up to 8x, then come back down to 3x on the way out)
- Optionally sets a script variable per-frame for the runtime environment, should you want to overlay the current input frame number, or the speed multiplier (sample script included with source)
- Keeps no state between GetFrame or GetAudio calls, and should be MT friendly.
Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- Supported color formats: RGB24, RGB32, Y8, YV12, YV16, YV24
- *** vcredist_x86.exe is required for SickJumps-x86
- *** vcredist_x64.exe is required for SickJumps-x64
Syntax and Parameters
- 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")
- clip =
- The input clip. Can be any colorspace and audio format.
- clip =
- int first_frame = 0
- The first frame of the ramp up to full speed.
- int first_frame = 0
- int last_frame = framecount-1
- The last frame of the ramp down to the ending speed.
- int last_frame = framecount-1
- float start_multiplier = 1.0
- The speed multiplier to use before the ramp up
- float start_multiplier = 1.0
- float full_multiplier = 2.0
- The speed multiplier to use between ramp up and ramp down.
- float full_multiplier = 2.0
- float up_seconds = c length / 4.0
- float down_seconds = c length / 4.0
- The resulting duration, in seconds, of the ramp up and ramp down.
- float up_seconds = c length / 4.0
- string script_variable =
- Assigns a string, containing some debug info, to the specified variable name. Said string is colon-delimited, and takes the following form:
- string script_variable =
"frame:X:multiplier:Y:section:Z"
- Respectively, it provides the current input frame number, multiplier, and a simple label describing what section ("before", "ramp up", "full speed", "ramp down", or "after") the current output frame resides in.
- The string is updated each frame, and is intended for use with AviSynth's runtime environment. Be sure to set ScriptClip's after_frame to true so the variable gets set properly.
- See the source distribution for an example script that demonstrates one approach to parsing the string and using some of its information.
- float end_multiplier = start_multiplier
- The speed multiplier to use after the ramp down.
- float end_multiplier = start_multiplier
Examples
External Links
- GitHub - Source code repository.
Back to External Filters ←