So X265 HEVC codec is not supported

When I play mp4 encoded with HEVC, the screen is black. Obviously this codec is not supported. How come HEVC, providing stunning picture quality at such low bit rates is not supported ?
The following is what MediaInfo is showing for a 1h33mins movie:

Video
Format : V_MPEGH/ISO/HEVC
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1h 33mn
Bit rate : 354 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps

It is

Would you mind sharing the full set of media info?
Also
 what info do you get to see on the server dashboard‘s „Now Playing“ tile when the playback is failing?
Exemplary screenshot from the "now playing" section
https://support.plex.tv/articles/200871837-status-and-dashboard/

And last not least
 on what exact player/version and version of PMS are you experiencing this?

Please find below the details from media info:

General
Complete name                    : C:\Users\marius2du\Downloads\Columbo.S13E01.1995.Strange.Bedfellows.720p.BluRay.mkv
Format                           : Matroska
File size                        : 566 MiB
Duration                         : 1h 33mn
Overall bit rate                 : 846 Kbps
Encoded date                     : UTC 2024-01-16 20:16:11
Writing application              : mkvmerge v68.0.0 ('The Curtain') 32-bit
Writing library                  : libebml v1.4.2 + libmatroska v1.6.4

Video
Format                           : V_MPEGH/ISO/HEVC
Codec ID                         : V_MPEGH/ISO/HEVC
Duration                         : 1h 33mn
Bit rate                         : 354 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16/9
Frame rate                       : 23.976 fps

Audio
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 1h 33mn
Bit rate mode                    : Constant
Bit rate                         : 448 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz

Text
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text

Chapters
Language                         : English
1                                : 00:00:00.000 Chapter 1
2                                : 00:06:29.489 Chapter 2
3                                : 00:12:39.091 Chapter 3
4                                : 00:19:57.663 Chapter 4
5                                : 00:34:26.497 Chapter 5
6                                : 00:43:05.015 Chapter 6
7                                : 00:48:57.000 Chapter 7
8                                : 01:02:09.492 Chapter 8
9                                : 01:09:13.516 Chapter 9
10                               : 01:18:32.207 Chapter 10
11                               : 01:23:15.490 Chapter 11
12                               : 01:32:24.272 Chapter 12
13                               : 01:32:32.880 Chapter 13
14                               : 01:33:33.941 Chapter 14

This is shown in dashboard:
image

The PMS server version is 1.32.8.7639 .
Plex client is Firestick, with version 10.5.0.4996 .

[mod-edit: removed file sharing link — don’t post those!! https://forums.plex.tv/guidelines#heading---tidy]

Do you have the full technical details of the file (e.g. color space, codec details like encoding levels
).
You can get those from Mediainfo or the Get Info view inside Plex.

Looks like Plex is passing the video, audio and subtitles on to your tv as-is based on the configuration telling it the tv can play it.

General
Unique ID : 174691942796583466749063565579283035732 (0x836C71C211BC61EA164C6DBF42EF7654)
Complete name : C:\Users\marius2du\Downloads\Columbo.S13E01.1995.Strange.Bedfellows.720p.BluRay.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 566 MiB
Duration : 1 h 33 min
Overall bit rate : 846 kb/s
Encoded date : UTC 2024-01-16 20:16:11
Writing application : mkvmerge v68.0.0 (‘The Curtain’) 32-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.4

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : @L3.1@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 33 min
Bit rate : 396 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:4:4
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.018
Stream size : 265 MiB (47%)
Writing library : x265 2.3+23-97435a0870befe35:[Windows][GCC 6.3.0][64 bit] 10bit: KG7x [x265.ru]
Encoding settings : cpuid=1049087 / frame-threads=5 / numa-pools=8,8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=3 / input-res=1280x720 / interlace=0 / total-frames=134625 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=4 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=0.00 / psy-rdoq=0.00 / no-rd-refine / analysis-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=26.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=0.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / refine-level=5
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1 h 33 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 300 MiB (53%)
Language : English
Service kind : Complete Main
Default : Yes
Forced : No

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 31 min
Bit rate : 73 b/s
Count of elements : 1297
Stream size : 48.8 KiB (0%)
Language : English
Default : Yes
Forced : No

Menu
00:00:00.000 : en:Chapter 1
00:06:29.489 : en:Chapter 2
00:12:39.091 : en:Chapter 3
00:19:57.663 : en:Chapter 4
00:34:26.497 : en:Chapter 5
00:43:05.015 : en:Chapter 6
00:48:57.000 : en:Chapter 7
01:02:09.492 : en:Chapter 8
01:09:13.516 : en:Chapter 9
01:18:32.207 : en:Chapter 10
01:23:15.490 : en:Chapter 11
01:32:24.272 : en:Chapter 12
01:32:32.880 : en:Chapter 13
01:33:33.941 : en:Chapter 14

The clue might be in the last screenshot.
I have never seen the “HEVC Rext” codec description before. Apparently it is an extension to the regular HEVC specification to support different color subsampling and bit depths.
It is quite likely that the hardware decoder chippery of inexpensive playback devices has no support for these or was even never tested with such files.

Someone went a bit too fancy while encoding those files, and never verified if the result would play on anything else than a powerful computer.

2 Likes

It plays fine locally on Windows, with Media Player Classic, VLC, you name it 


But through Plex I am getting this:

I’ve seen this codec before. I can’t remember what it is I have that is using this codec unfortunately, and I didn’t have that specific extra notation in the filename so I can’t search it. Also I can’t use Plex’s own filters to find it. But I’m pretty sure the content I have that is Rext is still 4:2:0, and it played on my Shield Pro at least.

The 4:4:4 colorspace is likely the real issue.

The level is 3.1. That’s literally a measurement of processing/complexity for the video (and a low one at that). The playback device in this case is a Fire Stick. While the specific model of the Fire Stick is not mentioned if it didn’t support at least level 4.0 it would not be capable of playing Full HD (1080p) video. Since the issue is the device is playing the video as a black screen that means Plex is recognizing it as a Fire Stick that natively supports HEVC – so any model from 2016 onwards.

It is Fire TV Stick 3rd Gen, having latest Fire OS 7.6.6.4

AFAIK, the levels of H.264 and H.265 are different and cannot be directly compared.

As I said: fine on a computer. The FireTV is an embedded system with way lower overall computing power than any PC. To even be able to decode video, it requires the help of specialised chips which are commonly known to have restrictions when it comes to the number of possible codec variations, levels, bitrates, etc.pp.

The Rext spec was only released after the general HEVC spec was released. So it is very possible that the chip in the FireTV does support the base spec, but not the extended spec.

Also plays fine on smartphone, but not through Plex :

  1. The spec I am reading are Amazon’s specs for HEVC, from the link I provided.

Fire Stick - 3rd Gen (2020)

H.265 (HEVC). Hardware accelerated up to 1080p @ 60fps, 20 Mbps, Main 10 Profile Level 4.1, Color space 8-bit and 10-bit input with HDR10, HDR10+, and HLG.

  1. Amusingly, the specs are similar enough they can be directly compared.

AVC (h.264):

HEVC (h.265):

In both, level 3.1 tops out at 1280x720 at around 30 fps, and it’s necessary to use a decoder capable of meeting Level 4 performance to cover 1080p resolutions, which is why even the original (2014) Fire Stick supported h.264 @ Level 4.0.

A more interesting question is regarding why the Fire Stick is playing a black screen here.

I wish that sample on post 3 had not been taken down (or had been posted as a <30 sec clip to meet Fair Use rules). See, the Fire Stick can output 4:4:4 really, it’s in the settings. So now I wonder, if the Fire Stick were connected to a device capable of displaying 4:4:4, and set to that output mode in its settings, would we still get a black screen playing back that file?

Can I post 30 secs from the movie or not ?

We post samples to aid in troubleshooting often, not sure if there has been some change in policy around here. :man_shrugging: The most common problem is people who can’t figure out how to make short clips for samples, and instead post a link to the entire episode/movie they are having issues with.

Just make sure to load the sample into your Plex server and confirm it works (or doesn’t) as expected. Sometimes issues with media are caused by the method the file was originally created with, so people split or remux files and then the sample they post doesn’t have the issue.

No change
 just discouraging posting file sharing links/platforms.

https://support.plex.tv/articles/201035968-generating-sample-files-from-media/

[edit: @nx6, I’m sure you’re aware
 just sharing the link as reference for others]

I did a split with MKVToolnix, meaning there is no re-encoding, meta data should not be altered.
Here is the sample:

This plays back for me, but it doesn’t direct play. It’s being played transcoded. No black screen at least. This is on a Fire Stick 4K MAX (2021). Client 10.7.0.5386.

It looks like I misremembered the display options in the Fire Stick, or they changed the labeling. Options are RGB and YCbCr. I’ve tried both. Also checked my Shield Pro and it’s playing transcoded there, too. The 4:4:4 color space is probably the reason I maintain.

Note: The Fire Stick is connected to a PC monitor, so 4:4:4 is supported on HDMI, but I think Plex is making the transcoding decision because of the color format.

direct plays for me using windows plex app. and shield hooked to a sony.

The 4:4:4 colorspace is problematic for a lot of cases.

If transcoding is required, it will require one of the newer GPUs to do it in hardware.
My P2200 does not support 4:4:4 decode in HW.

If this were 4K, with DV, then maybe??? This encoding sounds like someone pushed just a bit too far when re-encoding them.