Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rendering notes #1679

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/tutorials/otio-timeline-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ clips, gaps, and transitions. This document is meant to clarify how these
objects nest within each other, and how they work together to represent an
audio/video timeline.

## Rendering

Rendering of the image tracks in a timeline is done in painter order. The layers
in a stack are iterated from the bottom (the first entry in the stack) towards
the top (the final entry in the stack). Images in a stack overlay lower images
with no blending.
meshula marked this conversation as resolved.
Show resolved Hide resolved
meshula marked this conversation as resolved.
Show resolved Hide resolved

meshula marked this conversation as resolved.
Show resolved Hide resolved
Within a track, clips may overlap via a transition. In that case, the
contribution of track is the linear blend of the elements joined by the
transition.

If there are effects on a clip, OpenTimelineIO does not say anything about the
impact of the effect and deviation from the base behavior is application
specific.

Rendering of the audio tracks is additive. It is strongly advised, but not
required, that the summed audio is summed as floating point, and that it is
processed through a compression filter in order to prevent clipping and
distortion.

## Simple Cut List

Let’s start with a simple cut list of a few clips. This is stored as a
Expand Down