-
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
Some audio tracks cannot be selected #8347
Comments
I can reproduce. Playing the HLS playlist will only show one audio track and incorrectly detect one subtitle format:
but playing directly the first item will show both audio tracks:
@christosts or @AquilesCanta how are the tracks retrieved in HLS? The playlist (full version in email):
Format of the first item
|
I believe this is happening due to #2014: audio tracks of the same type are multiplexed in the TS files and ExoPlayer does not support that. If you follow the comments thread on #2014 you'll see that the suggested way is to split the playlist the content in a master playlist with alternate audio renditions (eg here and here) or see customization efforts from other users reported on the same issue. Aside: the audio tracks are encoded as mpeg-L2 which is not supported by the Android platform (maybe some devices support the codec but that is not the expected case). To play such audio with ExoPlayer on multiple devices, you need to use the ffmpeg extension. I see the extension is bundled in your app, judging by the the log output, so you may be aware of this. However, according to the log, the FfmpegAudioRenderer did not pick up the track and audio was played with MediaCodec. That probably means that ffmpeg was not built with |
Hello,
In some cases not all audio tracks are visible or cannot be selected for some reason.
I sent a mail with an example that has 2 audio tracks (English, Russian) and 2 subtitles tracks (Hebrew, Russian). They are perfectly visible and selectable in VLC.
However, in ExoPlayer 2.12.2 I can only see 1 audio track (English) and 2 subtitle tracks (Hebrew and another one with unknown language)
Here is a log print:
The original stream is an m3u8 stream, but when I tried to play the individual *.ts files within - the audio tracks are visible and selectable
Thanks!
The text was updated successfully, but these errors were encountered: