google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.71k stars 6.02k forks source link

Partially fragmented FMP4 file does not play correctly #7308

Closed Abu-Abdullah closed 4 years ago

Abu-Abdullah commented 4 years ago

Hi,

the following file is working with native MediaPlayer but not Exoplayer: http://maknoon.com/001.m4a

christosts commented 4 years ago

Assigning to @andrewlewis who is more experienced with media formats:

@andrewlewis this what I see:

ojw28 commented 4 years ago

@kim-vde - I think this will probably be fixed as part of [Internal ref: b/130115709].

The problem is that we think the file is FMP4 because it has an mvex atom in the moov box, but it actually declares all of the samples in the moov atom as well, and does not contain any moof atoms. It's therefore an extreme example of a "partially fragmented" MP4 files, where it claims to be fragmented but is in fact not fragmented at all.

kim-vde commented 4 years ago

@ojw28 Ok. I'll try to fix this when working on [Internal ref: b/130115709]. Thanks for investigating.

@Abu-Abdullah We plan to fix the bug mentioned by Olly in the following months. Thanks for reporting your issue.