All (28!) image based subtitle tracks are parsed to Bitmap objects, even when none are selected for playback, resulting in stuttery video playback
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Is there a limitation on the number of tracks in a video, or a way to deal with a video with excessive tracks?
Playing an mkv video file which has 7 audio tracks and 28 subtitle tracks over http , Exoplayer pauses for 5 seconds, plays for 10 seconds, pauses for 5 seconds, etc. This happens with a ONN google TV device and an Amazon Fire stick 4K. It does not happen with the Android Studio emulator or a NVidia Shield. It seems there is not enough CPU power in some devices to bypass all the extra tracks. If I use mkvmerge on the video file to remove extra tracks and leave only 1 audio and 1 subtitle track, it plays perfectly on those devices.
This also happens with the Demo player from github.
Sample file is here https://drive.google.com/file/d/19dgchCfQUuOOVJgR4-9Le2YG0sc5mgvf/view?usp=sharing
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.