Skip to content

unexpected EOF for some fmp4 files #174

Description

@threadedstream

I'm muxing mpeg-ts from fmp4, and for some fmp4 files mp4 demuxer returns unexpected EOF error.
It happens inside ReadPacket when calling

if _, err := io.ReadFull(demuxer.reader, sample); err != nil {
            return nil, err
}

I wonder if it's a normal behaviour for some fmp4 files or is there a bug in offset calculations?

P.S
I can't provide "faulty" fmp4 files for security reasons

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions