示例#1
0
    def test_comp_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.composition_mobs():
            print(mob)
示例#2
0
    def test_comp_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.composition_mobs():
            print mob
示例#3
0
文件: qt_aafmodel.py 项目: wjt/pyaaf
    (options, args) = parser.parse_args()

    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)
示例#4
0
文件: qt_aafmodel.py 项目: wjt/pyaaf
    
    (options, args) = parser.parse_args()
    
    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)