Skip to content
Discussion options

You must be logged in to vote

Hi, welcome!

Yes, you are overlooking something: the power of python libraries. cmd.open() can be used to open also an OpenTimelineIO playlist.

As Pixar generously distributes the "opentimelineio" module through pip, you would need to, roughly do:

try:
    import opentimelineio as otio
except ImportError:
    print(f'''
Python's opentimelineio module not found!

Please run:
    pip install opentimelineio
''', file=sys.stderr)
    exit(1)
    
 timeline = otio.schema.Timeline()
 stack = otio.schema.Stack()
 track = otio.schema.Track()
 clip1 = otio.schema.Clip()  # Fill this with your clip media_reference info
 clip2 = otio.schema.Clip()
 
#
# Create a track on stack
#
 stack.append(track)…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ggarra13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants