Skip to content

Preserving markers on round trip from AAF -> OTIO -> AAF - #75

Open
danneufeldt wants to merge 1 commit into
OpenTimelineIO:mainfrom
danneufeldt:lei-marker-preservation
Open

Preserving markers on round trip from AAF -> OTIO -> AAF#75
danneufeldt wants to merge 1 commit into
OpenTimelineIO:mainfrom
danneufeldt:lei-marker-preservation

Conversation

@danneufeldt

Copy link
Copy Markdown

Fixes #74

Add support for writing markers back into an AAF based on markers in an otio timeline. These markers can originate from an AAF during a round trip operation, or be authored originally using the otio API. This PR adds to aaf_writer.py a marker color lookup dictionary, utility functions for getting an appropriate color from a marker, iterating markers within a track, and computing the position a marker should have on a track, as well as a transcribe_markers function responsible for creating markers in an aaf2.AAFFile based on the markers in an otio timeline. It also modified advanced_authoring_format.py to include calculation of the track and slot numbers needed to bind the markers to clips on the track and calls the transcribe_markers function on the AAFFileTranscriber object. No new tests are added at this time, but I'm hoping to add some after getting permission to contribute AAFs generated at our facility.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 5, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: danneufeldt / name: Dan Neufeldt (fd2fa06)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AAF -> JSON -> AAF, Markers missing on roundtrip.

1 participant