Hey all,
I’ve noticed that HEVC seems to be quite flaky across Android when it comes to Direct Playing HEVC encoded files - I encoded a series of files at the same time with the same lib x265, and same audio streams - some of them direct stream fine, others do not.
I have 2x Fire TV (4K HEVC ones), 4k Bravia TV (Android with HEVC and 10bit Support) and an Xbox One (which as we know, has HEVC support)
Across the 3 android devices (since the Fire TV is Android based) all fail, at the same videos (perhaps this is a Profile issue for Android on Plex?) while the Xbox plays them all fine - the Android’s claim they either can’t play or have “lost connection” with the server (which they haven’t as I can just go play another file that I know works).
So, my file meta data for example;
`
Media
Duration 1:26:44
Video Profile main
Audio Profile ma
Video Frame Rate 24p
Container MKV
Aspect Ratio 2.35
Height 800
Width 1920
Bitrate 8552 kbps
Video Resolution 1080p
Part
Size 5.18 GB
Duration 1:26:44
Video Profile main
Audio Profile ma
Container MKV
File The Simpsons Movie (2007).mkv
Duration 1:26:44
Height 800
Width 1920
Bitrate 5480 kbps
Ref Frames 1
Profile main
Pixel Format yuv420p
Level 12.0
Frame Rate Mode cfr
Frame Rate 23.976 fps
Color Space bt709
Color Range tv
Chroma Subsampling 4:2:0
Bit Depth 8
Codec HEVC
Title Surround
Language English
Duration 1:26:44
Bitrate 1536 kbps
Profile ma
Bit Depth 24
Codec DCA
Sampling Rate 48000 Hz
Bitrate Mode VBR
Audio Channel Layout 5.1(side)
Channels 5.1
Title Surround
Language English
Duration 1:26:44
Bitrate 1509 kbps
Profile dts
Bit Depth 24
Codec DCA
Sampling Rate 48000 Hz
Bitrate Mode CBR
Audio Channel Layout 5.1(side)
Channels 5.1
Title Stereo
Language English
Duration 1:26:44
Profile lc
Codec AAC
Sampling Rate 48000 Hz
Channels Stereo
`
Interestingly, in Plex’s media server log it writes;
Nov 13, 2016 00:36:34.876 [0x7f53733ff700] DEBUG - We're going to try to auto-select an audio stream for account 1. Nov 13, 2016 00:36:34.877 [0x7f53733ff700] DEBUG - Selecting best audio stream for part ID 17235 (autoselect: 0 language: en) Nov 13, 2016 00:36:34.877 [0x7f53733ff700] DEBUG - Audio Stream: 38854, Subtitle Stream: -1 Nov 13, 2016 00:36:34.878 [0x7f53733ff700] DEBUG - It took 0.0 sec to serialize a list with 1 elements. Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: received PLEX_PROTOCOL_ANY from client, selected protocol hls Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: analyzing media item 17217 Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: The Simpsons Movie (2007): Direct Play is disabled Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: The Simpsons Movie (2007): media must be transcoded in order to use the hls protocol Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: The Simpsons Movie (2007): no direct play video profile exists for http/mkv/hevc Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: The Simpsons Movie (2007): no direct play video profile exists for http/mkv/hevc/dca Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: The Simpsons Movie (2007): no direct play video profile exists for http/mkv/hevc/dca Nov 13, 2016 00:36:34.881 [0x7f53733ff700] DEBUG - MDE: The Simpsons Movie (2007): no direct play video profile exists for http/mkv/hevc/aac Nov 13, 2016 00:36:34.882 [0x7f53733ff700] DEBUG - MDE: The Simpsons Movie (2007): selected media 0 / 17217
I’m not entirely sure if that is relevant but it is complaining about a lack of profile - what would be the suggested next steps? As a note, I’m not seeing this issue with h264 files that have the same DTS audio tracks.