Skip to content

AS_02::IAB::MXFReader does not work properly #134

@izwb003

Description

@izwb003

I am trying to use the as-02 extension of asdcplib to read IAB frames in IMF IAB. My implementation is similar to this:

AS_02::IAB::MXFReader reader(fileReader);
reader.OpenRead(inputFileName);
AS_02::IAB::MXFReader::Frame frame;
reader.ReadFrame(0, frame);

Then strange thing happens. (const char*)frame.second just gives me something strange. It contains some disorganized byte sequences, and obviously not the content of a IAB frame.

An earlier version, like commit d417531, works fine. Did I make any mistakes?

Also here is a little question: Why I have to pass a Kumu::IFileReaderFactory when constructing MXFReader? Is it necessary? If not, can we still provide a construction method that doesn't require it like earlier versions to simplify usage? Thank you.

Best Regards.

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