Speed.avsi — Fast forward a clip

Functions for speeding up video while keeping the original pitch. Optionally blend frames together.

IncreaseSpeed(c, amount, blend=false)
Parameters:
  • c (clip) – the clip to speed up
  • amount (int) – integer amount to speed up by - 2 doubles the speed, 3 triples it
  • blend (bool) – whether or not to blend frames, defaults to false

Accelerates a clip to a quarter its original speed while maintaining the original audio pitch.

ReduceSpeed(c, amount)
Parameters:
  • c (clip) – the clip to speed down
  • amount (int) – integer amount to slow down by - 2 is half as fast, 3 is a third as fast, and so on

Decelerates a clip to a quarter its original speed while maintaining the original audio pitch. (If the input clip has no audio, the resulting clip will also have no audio.)

Speed2X(c, blend=true)
Parameters:
  • c (clip) – the clip to speed up
  • blend (bool) – true to blend frames, false to simply skip frames

Accelerates a clip to 2x its original speed while maintaining the original audio pitch. Identical to IncreaseSpeed(c, 2, blend).

Speed4X(c, blend=true)
Parameters:
  • c (clip) – the clip to speed up
  • blend (bool) – true to blend frames, false to simply skip frames

Accelerates a clip to 4x its original speed while maintaining the original audio pitch. Identical to IncreaseSpeed(c, 4, blend).

ReduceSpeed2X(c)
Parameters:c (clip) – the clip to speed down

Decelerates a clip to half its original speed while maintaining the original audio pitch. Identical to ReduceSpeed(c, 2), but provided to mirror Speed2X().

ReduceSpeed4X(c)
Parameters:c (clip) – the clip to speed down

Decelerates a clip to a quarter its original speed while maintaining the original audio pitch. Identical to ReduceSpeed(c, 4), but provided to mirror Speed4X().