AcademySoftwareFoundation / OpenTimelineIO

Open Source API and interchange format for editorial timeline information.
http://opentimeline.io
Apache License 2.0
1.44k stars 279 forks source link

Premiere: xml track name removed when converted to otio #1660

Open imkindofabigdeal opened 1 year ago

imkindofabigdeal commented 1 year ago

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

imkindofabigdeal commented 1 month ago

Hey folks, this still seems to be an issue. Any fix incoming? I know the adapters were split out.

Jameclarke commented 1 month ago

Custom Track Names will be available in the Premiere Pro native OTIO export.