Re: .otio samples/unittests


Joshua Minor
 

Yep, it looks like we didn't update the example code since adding checks to prevent accidental instancing. Your fix is correct.

---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Sep 4, 2019, at 4:54 AM, Gonzalo Garramuño <ggarra13@...> wrote:


El 3/9/19 a las 20:33, Gonzalo Garramuño via Lists.Aswf.Io escribió:

El 2/9/19 a las 20:29, Joshua Minor escribió:
Look at the sample fcp xml and AAF files too. otioconvert will turn them into .otio for you. They have more complex examples than the EDLs.

-josh

I am having trouble flattening most of the .aaf examples.

OpenTimelineIO/examples/flatten_video_tracks.py utf8.aaf test.otio

results in a stacktrace with wrong parents in the audio track.
I solved the above by doing copy.deepcopy(audio_tracks).

--
Gonzalo Garramuño





Join otio-discussion@lists.aswf.io to automatically receive all group messages.