SickJumps

From Avisynth wiki
Jump to: navigation, search
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:

  • 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


*** vc_redist.x86.exe is required for SickJumps-x86
*** vc_redist.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.


int  first_frame = 0
The first frame of the ramp up to full speed.


int  last_frame = framecount-1
The last frame of the ramp down to the ending speed.


float  start_multiplier = 1.0
The speed multiplier to use before the ramp up


float  full_multiplier = 2.0
The speed multiplier to use between ramp up and ramp down.


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.


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:
"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.


Examples

TODO

External Links

  • GitHub - Source code repository.




Back to External Filters

Personal tools