Running renderers of different threads during playback
@microkatz is already working on this.
Since Oct 14, 2024.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
[REQUIRED] Use case description
https://github.com/google/ExoPlayer/issues/5796#issuecomment-517748828
ExoPlayer currently do audio and video render one after the other. Running renderers of different threads during playback, to improve rendering performance.
We have enabled experimental asynchronous MediaCodec queueing when playing an 8K(HEVC + AAC) content. It's still found the video frames dropping. We invested that MediaCodec decode video and audio quickly in asynchronous mode, but the decoded audio frame consumed slowly during playback(because of the ExoPlayerInternalThread not switched with sufficient frequency), it causes the video frame drops for A/V sync.
Proposed solution
Running renderers in parallel during playback , rather than one after the other.
Alternatives considered
N/A
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.