-
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
AAC initialization error due MPEG-TS parsing issue #7095
Comments
Thanks for reporting! |
I have the same problem on Xiaomi Redmi 7 and Xiaomi Mi 9 SE trying to playback .mp4 file from phone file system with my own ExoView app:.
When I playback the same file from the same place with the same ExoView application on other device Alcatel 1S 5028Y (Android 10) there is no problem. ExoPlayer version is 2.11.4. I can give you any additional info if you are interested. |
Any updates? |
I am also facing the same issue when trying to use MediaCodec to decode audio and stream it through the SynthesisCallback from android.
The code I have currently implemented works the majority of the times, except for the first time I try to play audio after starting my app. |
[REQUIRED] Issue description
I'm getting
IllegalStateException
whenOMX.google.aac.decoder
or ffmpeg decoder is initializing for specific MPEG-TS.Most probably track info is incorrectly parsed from MPEG-TS. Format looks incorrect (channels number?):
From MediaInfo:
Same stream and local file plays well in VLC and mplayer (using ffmpeg):
[REQUIRED] Reproduction steps
Play provided video in demo player
[REQUIRED] Link to test content
[REQUIRED] A full bug report captured from the device
This is not device-specific, but here it is:
[REQUIRED] Version of ExoPlayer being used
Init 7341500 [ExoPlayerLib/2.11.3] [once, MIBOX3, Xiaomi, 26]
[REQUIRED] Device(s) and version(s) of Android being used
Init 7341500 [ExoPlayerLib/2.11.3] [once, MIBOX3, Xiaomi, 26]
The text was updated successfully, but these errors were encountered: