This example shows how to automatically adjust a scene duration with a video and audio track.
Check out the outcome in result.mp4
.
Upload the script
directory to a Narakeet project. The main script file is source.md
.
When specifying a video resource, you can include a synchronization option in square brackets. For example, this loops the video for the duration of the audio in the scene:
![loop](stopwatch.mp4)
Alternatively, you can provide a video
stage direction, and specify the sync
sub-property. When adding subproperties to a stage direction, indent them by two spaces or a tab. (Technically, a stage direction is in YAML format).
(video:
file: stopwatch.mp4
sync: loop)
Check out Scene videos for more information on scene video sizing options