maj icon indicating copy to clipboard operation
maj copied to clipboard

Reading AVID aaf

Open drummer3333 opened this issue 5 years ago • 0 comments

I'm trying to generate AAF files to check in into AVID Interplay, I have a sample file and want to analyse the structure of that file. But when I execute the following code:

MediaEngine.initializeAAF();
AvidFactory.registerAvidExtensions();
Preface preface = AAFFactory.readPreface("test.aaf");

I only get the exception:

Exception in thread "main" java.io.IOException: Invalid header signature; read 0x01010502342B0E06, expected 0xE11AB1A1E011CFD0
	at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:125)
	at [email protected]/tv.amwa.maj.io.aaf.AAFReader.read(AAFReader.java:100)
	at [email protected]/tv.amwa.maj.io.aaf.AAFFactory.readPreface(AAFFactory.java:111)

Interplay can Import that file without errors. Any ideas whats wrong with that file? (I'm not sure if I can Upload the file, Its from a Customer).

drummer3333 avatar Feb 12 '20 18:02 drummer3333