flatten_video_tracks.py missing videos in hiero.xml


Gonzalo Garramuño
 

I ran:

examples/flatten_video_tracks.py tests/sample_data/hiero.xml flatten.otio

However, when the otio file is opened, it contains only 3 clips from the original 5.  If the stack is flattened, my guess is that there should be 5 clips (some shortened).  The missing clips are out-b (loop)-HD.mp4 and brokchrd (loop)-HD.mp4.  Is there a reason for the missing clips I am missing?

--
Gonzalo Garramuño


Joshua Minor
 

I don't see a file called hiero.xml Do you mean hiero_xml_export.xml? That one has 2 clips (and some gaps) and flatten does nothing to it because it is already just one video track.

> otiostat tests/sample_data/hiero_xml_export.xml
parsed: True
top level object: Timeline.1
number of tracks: 1
Tracks are the same length: True
deepest nesting: 4
number of clips: 2
total duration: RationalTime(1324, 24)
total duration in timecode: 00:00:55:04
top level rate: 24.0
clips with cdl data: 0
Tracks with non standard types: 0


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

On Oct 16, 2019, at 3:27 PM, Gonzalo Garramuño <ggarra13@...> wrote:

I ran:

examples/flatten_video_tracks.py tests/sample_data/hiero.xml flatten.otio

However, when the otio file is opened, it contains only 3 clips from the original 5.  If the stack is flattened, my guess is that there should be 5 clips (some shortened).  The missing clips are out-b (loop)-HD.mp4 and brokchrd (loop)-HD.mp4.  Is there a reason for the missing clips I am missing?

--
Gonzalo Garramuño






Gonzalo Garramuño
 

El 16/10/19 a las 22:09, Joshua Minor escribió:
I don't see a file called hiero.xml Do you mean hiero_xml_export.xml? That one has 2 clips (and some gaps) and flatten does nothing to it because it is already just one video track.

 otiostat tests/sample_data/hiero_xml_export.xml

No, I mean this:

otiostat tests/sample_data/hiero.xml
parsed: True
top level object: Timeline.1
number of tracks: 3
There was a system error: track 1 is not the same duration as the other tracks. Track RationalTime(962.0, 24.0) duration, vs: RationalTime(2677.0, 24.0)
deepest nesting: 4
number of clips: 5
total duration: RationalTime(2677.0, 24.0)
total duration in timecode: 00:01:51:13
top level rate: 24.0
clips with cdl data: 0
Tracks with non standard types: 0

--

Gonzalo Garramuño


Gonzalo Garramuño
 

El 16/10/19 a las 22:20, Gonzalo Garramuño via Lists.Aswf.Io escribió:

El 16/10/19 a las 22:09, Joshua Minor escribió:
I don't see a file called hiero.xml Do you mean hiero_xml_export.xml? That one has 2 clips (and some gaps) and flatten does nothing to it because it is already just one video track.

 otiostat tests/sample_data/hiero_xml_export.xml
Find the hiero.xml file attached.

--
Gonzalo Garramuño


Gonzalo Garramuño
 

El 17/10/19 a las 12:22, Gonzalo Garramuño via Lists.Aswf.Io escribió:

El 16/10/19 a las 22:20, Gonzalo Garramuño via Lists.Aswf.Io escribió:

El 16/10/19 a las 22:09, Joshua Minor escribió:
I don't see a file called hiero.xml Do you mean hiero_xml_export.xml? That one has 2 clips (and some gaps) and flatten does nothing to it because it is already just one video track.

 otiostat tests/sample_data/hiero_xml_export.xml
Find the hiero.xml file attached.
Sorry.  The file is multitrack.otio.  I had converted myself.  If I try it on the original file, the flatten works fine.

I apologize for taking your valuable time with this silly thing.

--
Gonzalo Garramuño