
Video
| Setting | Kind | Starts at | Range and notes |
|---|---|---|---|
Filesource | video file | none | – |
Fitfit | choice | Fill | Fill, Whole, Stretch |
Playback speedrate | number | 1× | 0.25 to 2× |
From a script
Every setting above can be changed by the scene's logic, by its key. Say the layer is called Video:
scene.set("Video", "rate", 2);scene.animate("Video", "opacity", 0.5, 2);import { scene } from "motion";scene.set("Video", "rate", 2);scene.animate("Video", "opacity", 0.5, 2);◆On Scene Start
ƒSet Layer SettingTarget is Layer
TargetVideo
Parameter Namerate
Parameter Value2
What every layer has
Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.