AcademySoftwareFoundation / AcademySoftwareFoundation/OpenTimelineIO

Premiere: xml track name removed when converted to otio

Open
#1,660 2 comments 0 reactions 1 assignee Claimed by @reinecke View on GitHub
Adapters bug
Dominant language
C++
Stars
2k
Forks
351
Avg merge
1d 12h
Merged PRs (30d)
1

Description

Hi Folks, I'm exporting a very basic sequence from premiere, 2 video tracks as an xml, named, in premiere, track01 and track02.

And then converting the xml to otio. The issue I'm having is that the track name seems to get stripped out by the xml adapter.

Steps to reproduce.

timeline = otio.adapters.read_from_file("/path/to/file/sequence.xml")
otio.adapters.write_to_file(timeline, "/path/to/file/sequence.otio")

timelineOTIO = otio.adapters.read_from_file("/path/to/file/sequence.otio")

for track in timelineOTIO.video_tracks():
print("{}".format(track.name))

for track in timelineOTIO.video_tracks():
print("{}".format(track.kind))
video
video

In the xml I can see the track name in the tag MZ.TrackName
track TL.SQTrackShy="0" TL.SQTrackExpandedHeight="73" TL.SQTrackExpanded="0" MZ.TrackTargeted="0" MZ.TrackName="track01">

The track01 and track02 names are not present in the otio file.

Is there some step that I'm missing, or is this not functionally possilbe atm?

Many thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.