question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MP4 Parser issue after update to 2.18.0

See original GitHub issue

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 dev.exoplayer@gmail.com after filing this issue.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
rohitjoinscommented, Jul 7, 2022

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

1reaction
rohitjoinscommented, Jul 22, 2022

@Tolriq release is done with the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exoplayer 2.17.1 Cannot resolve symbol ExoPlayerFacory ...
I am new to android dev and I am trying to make an app. ... /wp-content/uploads/20201217163353/Screenrecorder-2020-12-17-16-32-03-350.mp4"; ...
Read more >
RELEASENOTES.md - google/ExoPlayer - Sourcegraph
Update CMake version to `3.21.0+` to avoid a CMake bug causing ... MP4: Parse HDR static metadata from the `clli` and `mdcv` boxes....
Read more >
[Buildroot] [PATCH v3 5/5] imx-parser: bump version to 4.3.5
Previous message (by thread): [Buildroot] [PATCH v3 4/5] imx-codec: bump version to 4.3.5 ... MP4 PARSER 06.12.11 Fix crash issue when parse id3...
Read more >
ChangeSummary - Rivendell Wiki
Bug fix: Fixed a bug in rdrssd(8) that caused a podcast episode to be ... Functionality: Significant update to the Rivendell Web interfaces ......
Read more >
Releases - Pandoc
Update fonts MIME following IANA recommendation (Gabriel Lewertowski, #8127). ... Issue a CouldNotParseIncludeFile warning indicating that parsing failed at ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found