Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.08 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.08 KB

Narakeet video sizing example

This example shows how to automatically resize video clips to fit the output format in Narakeet.

Check out the outcome in result.mp4.

Try it out

Upload the script directory to a Narakeet project. The main script file is source.md.

How it works

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)

Available sizing properties

Check out Scene videos for more information on scene video sizing options