-
Notifications
You must be signed in to change notification settings - Fork 6k
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
"ParserException: searched too many bytes" with specific MP3 files #4954
Comments
Given that this seems to be a regression since 2.8.4 it might be a bug, but to investigate we need to be able to reproduce the issue. If you can find some minimal input that reproduces the issue and can be shared please send it to [email protected]. |
@andrewlewis - content is received to look at this now (in case you didn't notice :)). |
It looks like the file has about 150 KB of non-MP3 data at the end. On 2.8.4 we handled the I'm not sure how common it is to have a lot of non-MP3 data after the audio stream like this, and I haven't seen it before. If it is common we should probably add some special handling so it's not treated as an error. If your app needs to handle these particular streams you could handle |
I think we can tell from the |
Issue: #4954 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218357113
Issue: #4954 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218357113
Issue description
When playing MP3 files located on the device's storage with
SimpleExoPlayer
, some will trigger a source error when played to completion:At the time of writing, I reproduced the bug only with specific files (all tracks from the same album).
Are my files corrupted, or is this a real ExoPlayer issue ? It doesn't happen with ExoPlayer 2.8.4.
Reproduction steps
SimpleExoPlayer
with the following codeWait until the song is played to completion. You can also seek near the end of the song and wait for it to complete.
The player moves to the
ERROR
state and a "source error" is printed to the logcat.Link to test content
This happens for every track from the album "Breakin' Outta Hell" of Airbourne, but might happen with other media.
Since this media is protected by law I can't share it here, but maybe I could share only the few last seconds of the song in order to reproduce the bug. Tell me if you need it.
Version of ExoPlayer being used
2.9.0 (doesn't happen with 2.8.4)
Device(s) and version(s) of Android being used
Google Nexus 5X - Android API 27
The issue happens every time with the specified files.
A full bug report captured from the device
Tell me if that's needed.
The text was updated successfully, but these errors were encountered: