This example shows how to automatically resize video clips to fit the output format in Narakeet.
Check out the outcome in result.mp4
.
Upload the script
directory to a Narakeet project. The main script file is source.md
.
When adding a video to a scene, Narakeet will automatically resize it to fit the target video format. You can control resizing by adding an option to the square brackets when setting the video. For example, to shrink and pad a larger video to fit the smaller target size, use the contain
option:
![contain](birds.mp4)
Alternatively, you can provide a video
stage direction in brackets, and add the size
option in subproperties. When adding subproperties, indent them with two spaces or a tab. (Technically, stage directions are in YAML format).
(video:
file: birds.mp4
size: contain)
Check out Scene videos for more information on scene video sizing options