Issue when playing raw H265
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I have a raw H265 file (Annex.B, dumped from a stream). I was able to get it to work by implementing a custom `Ac3Reader`(with sniff changed to true, and the reader being `H265Reader`). However, it seems like the stream has no timecode (or framerate readings, idk), so the result was that ExoPlayer played all frames at once.
The video should be about 1 minute long (924 frames in total, MediaInfo on my macOS detects the frame rate to be 10.0, which is correct), but ExoPlayer is playing them all in less than a second. I tried fiddling with playback speed, but as you can guess, there was not a single difference.
The logcat showed the following output from MediaCodec:
```
0xb4000077249822c0 OMX.qcom.video.decoder.hevc 352x288 inputFps=360 outputFps=364 renderFps=4
0xb4000077249822c0 OMX.qcom.video.decoder.hevc 352x288 inputFps=0 outputFps=0 renderFps=0
0xb4000077249822c0 OMX.qcom.video.decoder.hevc 352x288 inputFps=0 outputFps=0 renderFps=0
0xb4000077249822c0 OMX.qcom.video.decoder.hevc 352x288 inputFps=0 outputFps=0 renderFps=0
```
Contributor guide
Assessment
This issue has not been assessed yet.