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:nknuelle wrote: Wed Oct 09, 2019 12:12 pm HRESULT c:\dev\aaf\examples2\axlib\axinit.cpp:63 0x8007007e The specified module could not be found.
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?nknuelle wrote: Wed Oct 09, 2019 12:12 pm I generated some AAFs with your tool. There seems to be a problem with UNC paths if only 1 file is given. If I add a second file as argument it works, but ignores the first one.. ?
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)