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

Initial data track support #1362

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

redroy
Copy link

@redroy redroy commented Jul 26, 2022

Link the Issue(s) this Pull Request is related to.

Fixes #1361

Added track type 'Data'. Add support for reading AAF data tracks.

Our editors use markers on the Data Track to mark shot breaks and other significant events.

Added test AAFReaderTests.test_aaf_data_track_markers()

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 26, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@meshula meshula added TSC Slated for discussion at the next TSC meeting enhancement A request for something new. labels Jul 26, 2022
Signed-off-by: Roy Turner <[email protected]>
Signed-off-by: Roy Turner <[email protected]>
@@ -880,6 +880,8 @@ def _transcribe(item, parents, edit_rate, indent=0):
result.kind = otio.schema.TrackKind.Video
elif media_kind in ("SoundMasterTrack", "Sound"):
result.kind = otio.schema.TrackKind.Audio
elif media_kind == "Descriptive Metadata":
result.kind = otio.schema.TrackKind.Data
else:
Copy link
Contributor

@markreidvfx markreidvfx Jul 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Descriptive Metadata is not the media kind for the Data tracks your referring too. The media kind for the Data track is DataEssenceTrack.

@@ -1595,6 +1619,9 @@ def read_from_file(
if simplify:
result = _simplify(result)

# Make sure that any AAF Data tracks are marked as such
result = _update_kind_of_data_tracks(result)

Copy link
Contributor

@markreidvfx markreidvfx Jul 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AAF's store markers on special slots called EventMobSlots. The markers on these slots reference the slot(s) they are actually on by their DescribedSlots property. The_attach_markers function already does this resolving, so _update_kind_of_data_tracks should not be needed.

@apetrynet
Copy link
Contributor

I edited the description to activate the link to the ongoing discussion in issue #1361

@reinecke reinecke added the Adapters Relating to the adapters that live in the separate repos label Oct 27, 2023
@reinecke
Copy link
Collaborator

@redroy @timlehr May I close this PR and as you pick it up again you can open a new PR over at OpenTimelineIO/otio-aaf-adapter?

@redroy
Copy link
Author

redroy commented Oct 27, 2023 via email

@timlehr
Copy link
Contributor

timlehr commented Nov 3, 2023

@reinecke Yeah feel free to close this, I will make a new one with the changes we discussed in the last TSC zoom. Thank you @redroy for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Adapters Relating to the adapters that live in the separate repos enhancement A request for something new. TSC Slated for discussion at the next TSC meeting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Track type "Data", Add support for reading AAF data tracks.
7 participants