Description
When I play video files that include TrueHD 7.1 audio tracks, the "Auto" audio track selection (in StyledPlayerView
) often results in no audio playback (even though all individual audio tracks play just fine).
Sample files: matrix-sample.mkv or Dolby Cinema demo
Project for demonstration (basically just a StyledPlayerView
with EXTENSION_RENDERER_MODE_ON
- ffmpeg extension compiled with all available decoders). (Without EXTENSION_RENDERER_MODE_ON
, "Auto" works fine, as TrueHD tracks aren't made available.)
Steps to reproduce (always):
- Open a video file in the demo app (select it from file manager)
- Change audio track selection from "Auto" to any other track
- Set audio track back to "Auto"
- Hit play - audio doesn't play
"Auto" works, if I skip steps 2 and 3. Every single audio track plays on the device (when selected manually). It's just something with the initial vs manual "Auto".
- ExoPlayer version number: 2.13.1
- Android version: 10
- Android device: OnePlus 7
Bugreport: bugreport-OnePlus7-QKQ1.190716.003-2021-02-21-19-18-31.zip
I'm not noticing anything suspicious in logcat.
Activity