markreidvfx/pyaaf

IAAFSelector Member Functions

Closed this issue · 4 comments

Hello,

I was wondering if you could add the rest of the functions for AAF Selector Class?

Thanks
Matt

I just added the rest of methods in c615afe

Thank You!

On Apr 25, 2015, at 5:38 PM, Mark Reid notifications@github.com wrote:

I just added the rest of methods in c615afe


Reply to this email directly or view it on GitHub.

I'm having trouble making a SourceClip the selected segment. Basically I am trying to make a "group clip" with two SourceClips. In the Avid you can make multi-cam group clips. One as the Selected and the other as the alternative.

Here is the Error I am getting what trying to append the selector to a sequence.

ERROR: test_create_sequence (main.TestCreateSequence)

Traceback (most recent call last):
File "/Users/admin/Downloads/pyaaf-master/tests/test_create_sequence.py", line 123, in test_create_sequence
sequence2.append(selector1)
File "aaf/component/Sequence.pyx", line 127, in aaf.component.Sequence.append (/Users/admin/Downloads/pyaaf-dev/build/cython/aaf/component.cpp:8056)
File "aaf/util.pyx", line 23, in aaf.util.error_check (/Users/admin/Downloads/pyaaf-dev/build/cython/aaf/util.cpp:1588)
RuntimeError: failed with [-2146303535]: unexpected exception - reference implementation unexpected c++ exception (programming error)

the error code doesn't really help too much, I see you just modifying the create sequence test, can you post the code so I can see if I can replicate it? you might want to try setting the selector.media_kind = "picture" before adding to to the sequence