Mark Reid
Mark Reid
AAFObjects have dump() method you can use
You can redirect stdout to a file with a pipe. `python dump.py file.aaf > output.txt` There is also some other ways people do it, like this https://stackoverflow.com/questions/4675728/redirect-stdout-to-a-file-in-python It won't be...
Looks like a new Type Definition got added ,something called a TypeDefinitionGenericCharacter. First time I've seen that, looks like it was added the SDK in 2018 on that avid2018 branch....
The updated data model is now in the [dev](https://github.com/markreidvfx/pyaaf2/tree/dev) branch, this should fix this issue.
`import_audio_essence` reads the number of audio channels from the wav file, verify that your wav file is mono. You probably need to downmix it mono first, that can be done...
Are you able to provide a sample MXF file? MXFdump from [bmx-libmxf](https://sourceforge.net/p/bmxlib/libmxf/ci/master/tree/) might help find the metadata.
Do you have any sample code/aaf you could share? You could convert the extracted wav file with ffmpeg, it should be able to do it lossesly.
here is an example that might help from another project https://github.com/markreidvfx/pyavb/blob/master/examples/avb2aaf.py#L21
maybe this will help https://github.com/markreidvfx/pyaaf2/issues/9 The tape name that shows up in avid is the name of the SourceMob with a TapeDescriptor, and is not a User Comment. Changing SourceMob.name...
Its possible, but could be tricky to get right. The best way is to output a AAF from Media Composer with a retime on it and match the same structure....