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

MP4 Parser issue after update to 2.18.0 #10381

Closed
1 task
Tolriq opened this issue Jun 27, 2022 · 7 comments
Closed
1 task

MP4 Parser issue after update to 2.18.0 #10381

Tolriq opened this issue Jun 27, 2022 · 7 comments
Assignees
Labels

Comments

@Tolriq
Copy link
Contributor

Tolriq commented Jun 27, 2022

ExoPlayer Version

2.18.0

Devices that reproduce the issue

All

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps

Play the media that I'll send by mail after;

Expected result

IT plays on 2.17.1 and previous versions

Actual result

Parser error:

playerFailed [eventTime=9.03, mediaPos=0.00, window=0, period=0, errorCode=ERROR_CODE_IO_UNSPECIFIED
  com.google.android.exoplayer2.ExoPlaybackException: Source error
	  at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:632)
	  at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:608)
	  at android.os.Handler.dispatchMessage(Handler.java:102)
	  at android.os.Looper.loopOnce(Looper.java:201)
	  at android.os.Looper.loop(Looper.java:288)
	  at android.os.HandlerThread.run(HandlerThread.java:67)
  Caused by: com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected IllegalStateException: Top bit not zero: -44491104
	  at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:433)
	  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	  at java.lang.Thread.run(Thread.java:920)
  Caused by: java.lang.IllegalStateException: Top bit not zero: -44491104
	  at com.google.android.exoplayer2.util.ParsableByteArray.readUnsignedIntToInt(ParsableByteArray.java:371)
	  at com.google.android.exoplayer2.extractor.mp4.AtomParsers.parseEsdsFromParent(AtomParsers.java:1686)
	  at com.google.android.exoplayer2.extractor.mp4.AtomParsers.parseAudioSampleEntry(AtomParsers.java:1516)
	  at com.google.android.exoplayer2.extractor.mp4.AtomParsers.parseStsd(AtomParsers.java:987)
	  at com.google.android.exoplayer2.extractor.mp4.AtomParsers.parseTrak(AtomParsers.java:311)
	  at com.google.android.exoplayer2.extractor.mp4.AtomParsers.parseTraks(AtomParsers.java:132)
	  at com.google.android.exoplayer2.extractor.mp4.Mp4Extractor.processMoovAtom(Mp4Extractor.java:515)
	  at com.google.android.exoplayer2.extractor.mp4.Mp4Extractor.processAtomEnded(Mp4Extractor.java:474)
	  at com.google.android.exoplayer2.extractor.mp4.Mp4Extractor.readAtomPayload(Mp4Extractor.java:456)
	  at com.google.android.exoplayer2.extractor.mp4.Mp4Extractor.read(Mp4Extractor.java:254)
	  at com.google.android.exoplayer2.source.BundledExtractorsAdapter.read(BundledExtractorsAdapter.java:127)
	  at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1042)
	  at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
	  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
	  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
	  at java.lang.Thread.run(Thread.java:920) 
]

Media

Will send by mail

Bug Report

  • You will email the zip file produced by adb bugreport to [email protected] after filing this issue.
@Tolriq
Copy link
Contributor Author

Tolriq commented Jun 30, 2022

Did you get the file?

@rohitjoins
Copy link
Contributor

Cannot access the file as it needs access to Google drive.

@Tolriq
Copy link
Contributor Author

Tolriq commented Jun 30, 2022

@rohitjoins I think I've fixed the perms to allow anyone. Else I'll put the file elsewhere.

@rohitjoins
Copy link
Contributor

Was able to access the file and reproduce the issue on the demo app version 2.18.0. We're looking into this.

@rohitjoins
Copy link
Contributor

A fix for this bug has been released in the dev-v2 branch.

@Tolriq
Copy link
Contributor Author

Tolriq commented Jul 7, 2022

@rohitjoins thanks. Do you have an eta for next release? I'm in beta with current version and just need to know if I should revert or wait for fix before release. No need for precise date.

@rohitjoins
Copy link
Contributor

@Tolriq release is done with the fix.

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

No branches or pull requests

2 participants