Movatterモバイル変換


[0]ホーム

URL:


Navigation

Welcome to pyaaf’s documentation!

Python Bindings for theAdvanced Authoring Format (AAF).

Basic Demo

importaaff=aaf.open("path/to/file.aaf","r")# get the main compositionmain_compostion=f.storage.toplevel_mobs()[0]# print the name of the compositionprintmain_compostion.name# AAFObjects have properties that can be accessed like a dictionary# print out the creation timeprintmain_compostion['CreationTime'].value# video, audio and other track types are stored in slots# on a mob object.forslotinmain_compostion.slots():segment=slot.segmentprintsegment

Installing

The lastest release can be downloadedhere.

Building From Source

First you need to download the AAF-devel-libs for your platform

http://sourceforge.net/projects/aaf/files/AAF-devel-libs/1.1.6

If your platform isn’t there then you’ll need to download the full AAF SDKand build it yourself.

Note

On Windows the prebuild AAF-devel-libs need theMicrosoft Visual C++ 2010 Redistributable Package (x86,x64).

For Python <= 3.2 you will need theVisual C++ Compiler for Python 2.7 or Visual Studio 2008.

For Python >= 3.3 you will need theWindows 7 SDK or Visual Studio 2010.To setup the Windows SDK for python I’d recommend followingthis guide here.

To build inplace and test.

$ git clone https://github.com/markreidvfx/pyaaf.git$ cd pyaaf$ export AAF_ROOT=path/to/root/of/AAF-devel-libs$ python setup.py build_ext --inplace$ nosetest

API Reference

Contents:

Further Reading

AAF SDK Reference Manual

aafobjectspec-v1.1.pdf

aafeditprotocol.pdf

aafstoredformatspec-v1.0.1.pdf

aafcontainerspec-v1.0.1.pdf

Indices and tables

Table Of Contents

Next topic

aaf.storage

This Page

Quick search

Enter search terms or a module, class or function name.

Navigation

© Copyright 2013, Mark Reid. Created usingSphinx 1.2.2.

[8]ページ先頭

©2009-2025 Movatter.jp