예제 #1
0
    def test_master_mobs(self):

        test_file = main_test_file

        f = aaf.open(test_file)

        header = f.header

        dictionary = f.dictionary
        storage = f.storage

        print(storage.count_mobs())

        for mob in storage.master_mobs():
            #mob.count_properties()
            print(mob)
예제 #2
0
    def test_master_mobs(self):

        test_file = main_test_file

        f = aaf.open(test_file)

        header = f.header

        dictionary = f.dictionary
        storage = f.storage

        print storage.count_mobs()

        for mob in storage.master_mobs():
            #mob.count_properties()
            print mob
예제 #3
0
파일: qt_aafmodel.py 프로젝트: wjt/pyaaf
    if not args:
        parser.error("not enough arguments")

    file_path = args[0]

    f = aaf.open(file_path)

    #root = axfile
    header = f.header
    storage = f.storage
    root = storage
    if options.compmobs:
        root = list(storage.composition_mobs())

    if options.mastermobs:
        root = list(storage.master_mobs())

    #if options.sourcemobs:
    # root = list(storage.GetSourceMobs())

    if options.dictionary:
        root = f.dictionary

    if options.all:
        root = f
    #print mobs

    app = QtGui.QApplication(sys.argv)

    model = AAFModel(root)
예제 #4
0
파일: qt_aafmodel.py 프로젝트: wjt/pyaaf
    if not args:
        parser.error("not enough arguments")
        
    file_path = args[0]
    
    f = aaf.open(file_path)
        
        #root = axfile
    header = f.header
    storage = f.storage
    root = storage
    if options.compmobs:
        root = list(storage.composition_mobs())
        
    if options.mastermobs:
        root = list(storage.master_mobs())
        
    #if options.sourcemobs:
       # root = list(storage.GetSourceMobs())
        
    if options.dictionary:
        root = f.dictionary
        
    if options.all:
        root = f
    #print mobs

    app = QtGui.QApplication(sys.argv)
    
    model = AAFModel(root)