Can you control the video clip playback speed in Quartz Composer?

Is there a way to manipulate video playback speed? I'm particularly interested in a way to slow down frame blending, just like the Final Cut Pro feature.

+4
source share
3 answers

It is currently not possible to perform frame blending using the built-in Movie Loader patch.

You can arbitrarily control the playback head.

  • Paste the Movie Loader patch and set the Movie Location .
  • Connect it to the Billboard . The movie should play at normal speed.
  • Right-click the patch, select Timebase , and then select External . This gives the Movie Loader a Patch Time and freezes it in the first frame.
    • The value you enter for Patch Time is the time offset in seconds at which Movie Loader should be displayed.
  • Insert the Patch Time patch and connect its output to the Movie Loader Patch Time input. The movie should play again at normal speed.

Now comes the interesting part:

  • Insert the Mathematical Expression patch and enter t/2 for the equation.
  • Connect the Patch Time patch to the Mathematical Expression input and the Mathematical Expression output to the Movie Loader Patch Time input - now the movie plays at half speed.

You can change the equation to change the playback speed. t/3 will play at 1/3, t*2 will play at double speed, etc.

However , if you change the equation of playback speed during movie playback, you will notice that the playback head moves to a new position, rather than continuing from the previous time.

To solve this problem, you will want to use the Integrator patch.

  • Create an Integrator , set the Value to 1 and connect the Integrator pin to the Movie Loader Patch Time input. The film should play from the very beginning at a normal speed.
  • Change the Integrator Value to 0.5 . The film should play at half speed, continuing from the current position.

You can even play back movies using this technique (although, depending on which codec you use, this can greatly affect performance).

+5
source

Interpolation should help you. Here's an example from Quartz Composer (Interpolation Modes.qtz) and an initial tutorial here that mentions this (step 5). this wiki article also discusses and talks about different types.

Note. Actually, I donโ€™t have a Mac that can run QC, so this is exactly what I managed to find through Google, but it looks like it should help you on the right track.

+1
source

v002 Movie Player (Beta) provides a Rate input as a replacement for the built-in Movie Loader patch. I got very smooth video speed changes with this.

v002 movie player

(I added the Playhead Seconds entry, if anyone else finds this useful, I will post it.)

0
source

Source: https://habr.com/ru/post/1277049/


All Articles