# HEVC Main 10 hardware transcoding issues

**URL:** <https://forums.plex.tv/t/hevc-main-10-hardware-transcoding-issues/712952>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [April 30, 2021, 8:55am UTC](https://forums.plex.tv/t/hevc-main-10-hardware-transcoding-issues/712952 "2021-04-30T08:55:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mackatini](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mackatini](https://forums.plex.tv/u/mackatini)\
**Post date:** [April 30, 2021, 8:55am UTC](https://forums.plex.tv/t/hevc-main-10-hardware-transcoding-issues/712952/1 "2021-04-30T08:55:05Z")

</div>

Server Version#: 1.23.0.4438  
Player Version#: 4.56.4

I’ve posted a couple of other threads about hardware transcoding issues using a Skylake I5 CPU with very little response except to say that HEVC Main-10 Decoding is not supported on Gen-6 Intel CPU’s which I need to challenge.

Firstly, because I have had the same problem with EMBY on the same hardware and after logging a support ticket, they identified the issue and have since corrected it. EMBY is now transcoding all my HEVC Main-10 content perfectly.

Secondly, I’ve found technical articles and support sites that suggest support was added in newer drivers and is indeed capable of HEVC Main-10 transcoding. See here: [HD Graphics 520 - Intel - WikiChip](https://en.wikichip.org/wiki/intel/hd_graphics/520)

 ![image](https://global.discourse-cdn.com/plex/original/3X/8/b/8ba19396d6a0fddf8fee1392be0bf251ee8d6044.png)

Thirdly, using PLEX, a large percentage of my HEVC Main-10 content does transcode correctly without issue. Just not all of it. Surely, if it was simply not capable, it just wouldn’t work? I’ve established the content is not the problem as it works just fine on EMBY using the same hardware, and on PLEX using newer hardware.

I know this is not high on the agenda for the devs, but I would really appreciate it if someone could give it some time.

Links to my other threads are below. All the logs and examples are in there.

> [@PMS not hardware transcoding all HEVC videos](https://forums.plex.tv/t/pms-not-hardware-transcoding-all-hevc-videos/695940/2):
>
> This is codename “Skylake”. Skylake has only hardware support for 8 bit color HEVC.

> [@Plex not HW transcoding for some videos](https://forums.plex.tv/t/plex-not-hw-transcoding-for-some-videos/667466/2):
>
> Also no idea if it’s relevant or not, but my users have their quality set to 2Mbps 720p but my dashboard almost always says they’re streaming 2Mbps but in either SD or 480p

---

<div class="post-metadata">

**Author:** ![mackatini](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mackatini](https://forums.plex.tv/u/mackatini)\
**Post date:** [May 3, 2021, 7:03am UTC](https://forums.plex.tv/t/hevc-main-10-hardware-transcoding-issues/712952/2 "2021-05-03T07:03:19Z")

</div>

I have noticed the issue seems to be mainly with 1080x800 content.  
I manually changed the height from 800 to 816 with MKVMerge, scanned the library and the movie then played fine.

I’ve tried this with about 5 titles now that were all failing and it’s like magic, they just work.

**here is the Plex Transcoder Command line that fails.**

“C:\Program Files (x86)\Plex\Plex Media Server\Plex Transcoder.exe” -codec:0 hevc -codec:1 eac3\_mf -analyzeduration 20000000 -probesize 20000000 -i “E:\Media\Movies\Ava (2020)\Ava (2020).mkv” -filter\_complex [0:0]scale=w=1920:h=800[0];[0]format=pix\_fmts=yuv420p|nv12[1] -map [1] -codec:0 libx264 -crf:0 16 -maxrate:0 8149k -bufsize:0 16298k -r:0 23.975999999999999 -preset:0 veryfast -x264opts:0 subme=0:me\_range=4:rc\_lookahead=10:me=dia:no\_chroma\_me:8x8dct=0:partitions=none -force\_key\_frames:0 expr:gte(t,n\_forced\*1) -filter\_complex “[0:1] aresample=async=1:ocl=‘stereo’:rematrix\_maxval=0.000000dB:osr=48000[2]” -map [2] -metadata:s:1 language=eng -codec:1 aac\_mf -b:1 256k -segment\_format mpegts -f ssegment -individual\_header\_trailer 0 -segment\_time 1 -segment\_start\_number 0 -segment\_copyts 1 -segment\_time\_delta 0.0625 -segment\_list [http://127.0.0.1:32400/video/:/transcode/session/jlvx1ahn65mnxbxkok2wnwqf/e0b5744f-55c6-4bd5-aff1-84258ae3f9bb/seglist?X-Plex-Http-Pipeline=infinite](http://127.0.0.1:32400/video/:/transcode/session/jlvx1ahn65mnxbxkok2wnwqf/e0b5744f-55c6-4bd5-aff1-84258ae3f9bb/seglist?X-Plex-Http-Pipeline=infinite) -segment\_list\_type csv -segment\_list\_size 5 -segment\_list\_separate\_stream\_times 1 -segment\_list\_unfinished 1 -max\_delay 5000000 -avoid\_negative\_ts disabled -map\_metadata -1 -map\_chapters -1 media-%05d.ts -start\_at\_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel\_plex error -progressurl [http://127.0.0.1:32400/video/:/transcode/session/jlvx1ahn65mnxbxkok2wnwqf/e0b5744f-55c6-4bd5-aff1-84258ae3f9bb/progress](http://127.0.0.1:32400/video/:/transcode/session/jlvx1ahn65mnxbxkok2wnwqf/e0b5744f-55c6-4bd5-aff1-84258ae3f9bb/progress)

**And here is the command line that works perfectly on the same content after changing the display height to 816.**

“C:\Program Files (x86)\Plex\Plex Media Server\Plex Transcoder.exe” -codec:0 hevc -hwaccel:0 dxva2 -hwaccel\_fallback\_threshold:0 10 -hwaccel\_output\_format:0 dxva2\_vld -codec:1 eac3\_mf -analyzeduration 20000000 -probesize 20000000 -i “E:\Media\Movies\Ava (2020)\Ava (2020).mkv” -filter\_complex [0:0]hwmap=derive\_device=qsv[0];[0]scale\_qsv=w=1920:h=816:format=nv12[1] -map [1] -codec:0 h264\_qsv -b:0 7637k -maxrate:0 10183k -bufsize:0 20366k -forced\_idr:0 1 -r:0 23.975999999999999 -force\_key\_frames:0 expr:gte(t,n\_forced\*1) -filter\_complex “[0:1] aresample=async=1:ocl=‘stereo’:rematrix\_maxval=0.000000dB:osr=48000[2]” -map [2] -metadata:s:1 language=eng -codec:1 aac\_mf -b:1 256k -segment\_format mpegts -f ssegment -individual\_header\_trailer 0 -segment\_time 1 -segment\_start\_number 0 -segment\_copyts 1 -segment\_time\_delta 0.0625 -segment\_list [http://127.0.0.1:32400/video/:/transcode/session/0397yrzd9plec4c8mr0ifhyi/ed40e8ea-7992-4a36-8b26-31f56dfd88a4/seglist?X-Plex-Http-Pipeline=infinite](http://127.0.0.1:32400/video/:/transcode/session/0397yrzd9plec4c8mr0ifhyi/ed40e8ea-7992-4a36-8b26-31f56dfd88a4/seglist?X-Plex-Http-Pipeline=infinite) -segment\_list\_type csv -segment\_list\_size 5 -segment\_list\_separate\_stream\_times 1 -segment\_list\_unfinished 1 -max\_delay 5000000 -avoid\_negative\_ts disabled -map\_metadata -1 -map\_chapters -1 media-%05d.ts -start\_at\_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel\_plex error -progressurl [http://127.0.0.1:32400/video/:/transcode/session/0397yrzd9plec4c8mr0ifhyi/ed40e8ea-7992-4a36-8b26-31f56dfd88a4/progress](http://127.0.0.1:32400/video/:/transcode/session/0397yrzd9plec4c8mr0ifhyi/ed40e8ea-7992-4a36-8b26-31f56dfd88a4/progress)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 1, 2021, 7:04am UTC](https://forums.plex.tv/t/hevc-main-10-hardware-transcoding-issues/712952/3 "2021-08-01T07:04:06Z")

</div>

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