Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exoplayer can't play some MP4 video, issue same as 5162 #5392

Closed
xiaoxixi615 opened this issue Jan 16, 2019 · 3 comments
Closed

Exoplayer can't play some MP4 video, issue same as 5162 #5392

xiaoxixi615 opened this issue Jan 16, 2019 · 3 comments
Assignees

Comments

@xiaoxixi615
Copy link

xiaoxixi615 commented Jan 16, 2019

We really need to see the MP4 or at least the whole moov box. You can attach it here or send it to [email protected] with subject line "Issue #5162".

Originally posted by @andrewlewis in #5162 (comment)

I got the similar issue when playing a .mkv file, exoplayer selected the MP4Extractor, but couldn't play the file. I found that in AtomParsers.java, when invoking the following snippet, the "fixedSampleSize" and
"sampleCount" both were 0, and I dumped the profile, and attached it. It can be played on PC normally.
Please help to take a look, thanks.

public StszSampleSizeBox(Atom.LeafAtom stszAtom) {
  data = stszAtom.data;
  data.setPosition(Atom.FULL_HEADER_SIZE);
  fixedSampleSize = data.readUnsignedIntToInt();
  sampleCount = data.readUnsignedIntToInt();
}
@xiaoxixi615
Copy link
Author

xiaoxixi615 commented Jan 16, 2019

@andrewlewis
I have shared the video file via google drive, as it has a large size(1.4G).
sony.txt

seems the stsz sample_count invalid, please have a look ,thanks
[stsz] size=12+8
sample_size = 0
sample_count = 0

@andrewlewis
Copy link
Collaborator

@xiaoxixi615 It looks like the file is a fragmented MP4 (not MKV) and it appears to play fine in the demo app on the dev branch (including the fix to remove assertions in #5162). Could you clarify what's actionable for us here? Or can this be closed?

@xiaoxixi615
Copy link
Author

Thanks for your quick reply, the video can now be played with exoplayer, Please help to close this issue.

@google google locked and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants