Skip to content

fix #839 - FCP XML outputs not recognized by Resolve #1287

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

Merged
Merged
Changes from all commits
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
4 changes: 4 additions & 0 deletions src/py-opentimelineio/opentimelineio/adapters/fcp_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -1956,6 +1956,10 @@ def _add_stack_elements_to_sequence(stack, sequence_e, timeline_range, br_map):
video_e = _get_or_create_subelement(media_e, 'video')
audio_e = _get_or_create_subelement(media_e, 'audio')

# This is a fix for Davinci Resolve. After the "video" tag, it expects
# a <format> tag, even if empty. See issue 839
_get_or_create_subelement(video_e, "format")

# XXX: Due to the way that backreferences are created later on, the XML
# is assumed to have its video tracks serialized before its audio
# tracks. Because the order that they are added to the media is
Expand Down