Hey team, I met a couple of you during Siggraph, I believe Tim was one of them. I have a few updates to this codebase that I'd like to push through, but I'll start with an issue report as recommended in the contribution guidelines.
An issue I've run into using OTIO with Avid generated AAFs is that Markers are stripped out when making a round trip like AAF -> OTIO -> AAF.
This can be reproduced using an AAF with markers on the timeline simply with code like this:
`
import opentimelineio as otio
original_filename = "/tmp/original.aaf"
json_filename = "/tmp/original.json"
output_aaf = "/tmp/output.aaf"
output_json = "/tmp/output.json"
timeline = otio.adapters.read_from_file(original_filename)
timeline.to_json_file(json_filename)
otio.adapters.write_to_file(timeline, output_aaf)
timeline2 = otio.adapters.read_from_file(output_aaf)
timeline2.to_json_file(output_json)
`
If you compare original.json to output.json, you can see the markers are gone, and this also holds true for the AAF when loaded into the Avid. I'll be creating a pull request for a fix that seems to resolve this issue reasonably well.
Hey team, I met a couple of you during Siggraph, I believe Tim was one of them. I have a few updates to this codebase that I'd like to push through, but I'll start with an issue report as recommended in the contribution guidelines.
An issue I've run into using OTIO with Avid generated AAFs is that Markers are stripped out when making a round trip like AAF -> OTIO -> AAF.
This can be reproduced using an AAF with markers on the timeline simply with code like this:
`
import opentimelineio as otio
original_filename = "/tmp/original.aaf"
json_filename = "/tmp/original.json"
output_aaf = "/tmp/output.aaf"
output_json = "/tmp/output.json"
timeline = otio.adapters.read_from_file(original_filename)
timeline.to_json_file(json_filename)
otio.adapters.write_to_file(timeline, output_aaf)
timeline2 = otio.adapters.read_from_file(output_aaf)
timeline2.to_json_file(output_json)
`
If you compare original.json to output.json, you can see the markers are gone, and this also holds true for the AAF when loaded into the Avid. I'll be creating a pull request for a fix that seems to resolve this issue reasonably well.