Announcing the HEVC (H.265) hardware encoding forum preview! This is a feature that has received a lot of votes over the years and we couldn’t be more excited to start getting some feedback leading up to the general release. If you are wondering what value this provides, HEVC encoding offers a better quality video at the same bit rate, allowing for a higher quality video over the same bandwidth usage for streaming from your Plex Media Server! Additionally, this encoding preserves HDR metadata, which means no tone mapping is required!
This feature is being released as a forum preview for feedback prior to general release. We will be updating the download links below as new builds are issued. Finally, please provide feedback by directly replying to this thread, and exclusively about these changes, off topic posts may be silently removed by forum admins.
Please note the following: HEVC encoding is limited to hardware encoding only, and thus requires a Plex Pass. It can be used for streaming transcoding, DVR recordings (if Tuner settings setup and configured to transcode, see here for more info), and media optimizations. HEVC encoding is supported on macOS, Linux, Windows, and the Shield when using HW encoding with Apple, Intel, or Nvidia devices (device support for 10 bit HEVC encoding is required).
Known Issues:
HDR metadata is not properly forwarded on mac servers
HDR metadata is not properly forwarded on shield servers
Tone mapping is not applied in the case where a client supports HEVC but not HDR
DVR recordings result in a large bitrate/filesize
DOVI files do not play on android clients
DOVI files do not play on android devices when using automatically adjust quality
Cannot play HEVC transcodes of liveTV on apple devices
Old player on apple devices cannot play HEVC transcodes
Android downloads HEVC files when not supported by the device
How it Works:
If your selected transcoding device supports HEVC encoding (see the requirements defined above) you will see these two new preferences. Please note that “Enable HEVC video Encoding” must be enabled before you will see “Enable HEVC Optimization”.
Once you enable the preference you will be able to see HEVC indicated as the target codec for transcodes on your server dashboard. If your dashboard still indicates h.264 please check that your client supports HEVC playback.
The server builds listed below are pre-alpha releases and have not been fully tested so we always advise caution. Make sure you have recent database backups and preferably run these builds independently from your main media server if possible and create new libraries to test pre-release software.
It does not look like this release is properly passing on HDR metadata HEVC transcodes. I’m seeing a washed out picture on iOS with the 8.41 beta when transcoding UHD media to 1080p HEVC.
Server is running on Mac Mini M2 Pro. Let me know if you need logs/etc.
This is iOS Client 8.41 (9333)… looks like it is a client side issue as disabling HEVC and reverting to H264 transcode has the same issue. Want me to log that back in the AppleTV/iOS beta thread?
Found an issue with playback on Android with Automatically Adjust Quality enabled. In this case, I end up getting a pretty garbled screen. When I disable “Automatically Adjust Quality”, HEVC playback works as expected, though with the data stream being SDR rather than preserving HDR metadata.
Disabled HEVC video Encoding, and x264 encoding worked with “Automatically Adjust Quality” enabled.
Android client 10.22.0.1536 (f4d056a4). Example of the garbling:
Interestingly, my Dolby Vision test file (found at Downloads Page - Demolandia ) does appear to safely tone map to SDR. It is profile 4 in TS container.
Turns out I was wrong about that, and it’s probably an issue with the reporting tool (Tautulli) reporting SDR. When I went in and manually ran ffprobe on the transcode session, I see Main 10, bt2020, and DOVI side data.