I guess that means that the aafsdk dlls are not in the same folder. Please download and extract the whole zip file that i linked, not only one single .exe from it. You need at least those 4 dlls in the same folder as aaf2dot.exe:
AAFPGAPI.dll
AAFCOAPI.dll
AAFINTP.dll
AAFPersonnelExtension.dll
Interesting, could you please run it with "-debug 1" and add 2 files, then send me the whole output?
Also i added some error handling and updated the Version on my first thread here. The source code is included in the "source" folder. Basically all this does is some additional file finding etc... but in the end it all comes down to these 3 lines:
Code: Select all
with aaf2.open(os.path.join(args.odir,args.oname), 'w') as f:
for _file in args.files:
f.content.link_external_mxf(_file)