This example shows how to automatically apply transitions to video clips.
Check out the outcome in result.mp4
.
Upload the script
directory to a Video Puppet project. The main script file is source.md
.
To set transitions between scenes for the whole video, add the transition property in the script header. The following header will set a half-second wipe transition between the scenes.
---
size: 720p
transition:
type: wipe
duration: 0.5
---
You can also use a shortcut with the transition name and duration in a single line. For example, the following header will set a two second crossfade transition:
---
size: 720p
transition: crossfade 2
---
To set a transition for an individual scene, add it using the transition
stage direction
![](london.jpg)
(transition: crossfade 2)
Note that the transition property combines the previous scene with the current scene, so any transition on the first scene is ignored.
crossfade
: fade the last frame of the scene into the first frame of the next scenewipe
: horizontal overlay from the left