Skip to content

Reading AVID aaf #16

Description

@drummer3333

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 maj@1.0.0/tv.amwa.maj.io.aaf.AAFReader.read(AAFReader.java:100)
	at maj@1.0.0/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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions