Playback isssue on Android TV with HEVC

Server Version#: 1.25.5.5492 (Windows)
Player Version#: (Windows) 1.40.1.2823-6f60f3a7
(Android) 7.27
(Android TV) 8.29.1.30697 (420a2e38)
[In all cases I’ve also made sure that the subtitles are set to none for playback options before I try to play the file on Mobile and Android TV]

I can play a video fine on a Windows machine with the Plex application.
I can play the video but NO audio with both the original and optimized for TV versions on the Android App.
On three different Android TV devices (MiBox 3, Nvidia Shield 2019, and Sony TV). I can’t play the file or the optimized for TV version.
Error I get on the Android TV devices:
“An error occurred while attempting to play this video. Please check your connection and try again.”

Media Info for the original file:

Summary

Format : Matroska
Format version : Version 4
File size : 110 MiB
Duration : 23 min 40 s
Overall bit rate : 649 kb/s
Writing application : mkvmerge v9.8.0 (‘Kuglblids’) 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
Attachments : OpenSans-Semibold.ttf

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 23 min 39 s
Bit rate : 458 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Original frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.021
Stream size : 77.5 MiB (71%)
Writing library : x265 1.6+174-4cccf22b00ee188a:[Windows][GCC 4.9.2][64 bit] 16bpp:Compiling by KG7x [x265.ru]
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / no-open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / weightp / no-weightb / aq-mode=1 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.30 / rdoq-level=0 / psy-rdoq=0.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / rc=crf / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / vbv-maxrate=25000 / vbv-bufsize=25000 / crf-max=0.0 / ipratio=1.40 / pbratio=1.30
Language : English
Default : Yes
Forced : No

Audio #1
ID : 2
Format : AAC Main
Format/Info : Advanced Audio Codec
Codec ID : A_AAC-1
Duration : 23 min 40 s
Bit rate : 93.2 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 15.8 MiB (14%)
Language : Japanese
Default : No
Forced : No

Audio #2
ID : 3
Format : AAC Main
Format/Info : Advanced Audio Codec
Codec ID : A_AAC-1
Duration : 23 min 39 s
Bit rate : 93.3 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 15.8 MiB (14%)
Language : English
Default : Yes
Forced : No

Text
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Duration : 23 min 4 s
Bit rate : 188 b/s
Count of elements : 470
Compression mode : Lossless
Stream size : 31.8 KiB (0%)
Language : English
Default : Yes
Forced : No

Media Info for the optimized for TV version:

Summary

Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 213 MiB
Duration : 23 min 40 s
Overall bit rate mode : Variable
Overall bit rate : 1 255 kb/s
Writing application : Lavf58.65.101

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 23 min 39 s
Bit rate mode : Variable
Bit rate : 1 058 kb/s
Maximum bit rate : 2 061 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (23976/1000) FPS
Original frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.048
Stream size : 179 MiB (84%)
Language : English
Codec configuration box : avcC

Audio #1
ID : 2
Format : AAC Main
Format/Info : Advanced Audio Codec
Codec ID : mp4a-40-1
Duration : 23 min 40 s
Bit rate mode : Constant
Bit rate : 93.2 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 15.8 MiB (7%)
Language : Japanese
Default : No
Alternate group : 1

Audio #2
ID : 3
Format : AAC Main
Format/Info : Advanced Audio Codec
Codec ID : mp4a-40-1
Duration : 23 min 39 s
Bit rate mode : Constant
Bit rate : 93.3 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 15.8 MiB (7%)
Language : English
Default : Yes
Alternate group : 1

Anything else I should try?

Please provide the android log from one fo these devices after reproducing the error.

On my iPhone or my Android (since it could play the video), I’d go to Playback Settings > Quality > Convert Automatically, then it would correctly transcode the audio (was set to Original).

On my Android TV devices, if I was quick enough I could select HD > Manual > pick any option there. Under Auto it wasn’t correctly trying to transcode, which I believe is why the optimized version wasn’t working.

I was able to fix the issue overall by manually reencoding the audio and then muxing it back in with the original video.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.