Skip to content

Getting streamParseBytesFailure error while playing some local M4A files #118

@kushalpandya

Description

@kushalpandya

Summary

I have some M4A files that AudioPlayer reports in log as 🕵️ detected an non-optimized mp4, while the file playback starts fine but towards the end of playback, it stops with the following error;

streamParseBytesFailure(It is not possible to produce output packets because the streamed audio file's packet table or other defining information is not present or appears after the audio data.)

Note that the files involved aren't corrupt as it can be played in AVAudioPlayer just fine, so it is likely the way AudioPlayer tries to correct/restructure it via performMp4Restructure, may be the file doesn't actually need restructuring?

I can provide the file to test it out in case it helps.

I'm not sure if this is related to #97.

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