4K HDR HEVC HW transcoding is broken on 1.22.1.4200

Server Version#: 1.22.1.4200-c073686f2 amd64
Player Version#: 7.14.1 on Apple tvOS 14.4

I was watching 4K media when Plex client complained that the server was not powerful enough for playback. The PMS dashboard confirmed that no hardware transcoding was occurring.

I restarted playback and for a brief moment, the (hw) indicator flashed and then disappeared. I restarted again while running intel_gpu_top and saw video engine usage for a brief moment, before returning to zero.

I turned off HDR Tone Mapping and hardware transcoding began working again. Google helped me find this thread, which suggests that I am not the only person with this issue.

I downgraded to 1.22.0.4163 per the comments on the aforementioned thread, re-enabled HDR Tone Mapping, and hardware transcoding works like a charm (as it did before).

@ChuckPa asked for a new thread, so here it is.

4 Likes

@cxhamilton

Thanks for coming over here.

May I have the DEBUG logs please which capture the start of playback?

Watching 2160p media and running into issues is usually related to the player.
Specifically , it is a function of what the player can’t do – which means PMS has to do conversions. That’s where we run into playback performance problems.

We need to see what the player is asking for, what it tells us it’s capable of, and then what the final determination was.

In most cases, image-based subtitles are the root cause (subtitle burning cannot be performed in hardware — thanks Intel)

Please recreate the problem ,
Play 20 seconds then stop
Wait 20 seconds,
Download the logs ZIP file
Attach it please.

[INFO] 2021-03-21 14:02:43,403 : Unpacking plexmediaserver (1.22.1.4200-c073686f2) over (1.22.0.4163-d8c4875dd) ...
[INFO] 2021-03-21 14:02:43,403 : Setting up plexmediaserver (1.22.1.4200-c073686f2) ...
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install: PlexMediaServer-1.22.1.4200-c073686f2 - Installation starting.
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install: 
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install: Now installing based on:
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Installation Type:   Update
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Process Control:     systemd
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Plex User:           plex
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Plex Group:          plex
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Video Group:         render
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Temp Directory:      /tmp 
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Config file used:    /etc/systemd/system/plexmediaserver.service.d/override.conf
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Intel QSV Hardware:  Found
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Nvidia GPU card:     Not Found
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:  
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   OpenCL library:      Installed
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:   Beignet package:     Installed
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install:  
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install: Completing final configuration.
[INFO] 2021-03-21 14:02:43,403 : PlexMediaServer install: Starting Plex Media Server.
[INFO] 2021-03-21 14:02:43,404 : PlexMediaServer install: PlexMediaServer-1.22.1.4200-c073686f2 - Installation successful.  Errors: 0, Warnings: 0
[INFO] 2021-03-21 14:02:43,404 : Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
[INFO] 2021-03-21 14:02:43,404 : Processing triggers for mime-support (3.64ubuntu1) ...

Plex Media Server Logs_2021-03-21_14-05-05.zip (55.6 KB)

Thanks for making this thread, @cxhamilton, I was planning on it.

Here are my logs, and in the most recent you should see the below pattern:
Plex Media Server Logs_2021-03-21_13-04-32.zip (3.1 MB)

Server: Version 1.22.0.4163-d8c4875dd
Player: Plex for Windows Version 1.29.1.1974-a65b3ef3

Here it is working:

Then I stop Plex, and upgrade to 1.22.1.4200-c073686f2:

sudo dpkg -i plexmediaserver_1.22.1.4200-c073686f2_amd64.deb
(Reading database ... 189364 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.22.1.4200-c073686f2_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.22.1.4200-c073686f2) over (1.22.0.4163-d8c4875dd) ...
Setting up plexmediaserver (1.22.1.4200-c073686f2) ...
PlexMediaServer install: PlexMediaServer-1.22.1.4200-c073686f2 - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         render
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /tmp
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Intel QSV Hardware:  Found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install:
PlexMediaServer install:   OpenCL library:      Installed
PlexMediaServer install:   Beignet package:     Installed
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: PlexMediaServer-1.22.1.4200-c073686f2 - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...

No longer hw transcoding, CPU usage goes way up and my NUC fan goes to jet engine mode:

As soon as I downgrade, it works again:

@riiviin

Your logs are showing me something else.

Both of these are in Plex Media Server.log

Mar 21, 2021 13:02:33.459 [0x7f6000ff9700] DEBUG - [Transcode] [FFMPEG] - Created surface 0.
Mar 21, 2021 13:02:33.459 [0x7f6000ff9700] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Mar 21, 2021 13:02:33.459 [0x7f6000ff9700] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Mar 21, 2021 13:02:33.460 [0x7f6000ff9700] DEBUG - [Transcode/JobRunner] Job running: EAE_ROOT='/tmp/pms-f5f35d73-af04-421b-b87e-ed6b7577c7bf/EasyAudioEncoder' EnableExtendedVaFormats='1' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/73e06c8-3759-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' NEOReadDebugKeys='1' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxu' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_output_format:0' 'vaapi' '-hwaccel_device:0' 'vaapi' '-codec:1' 'eac3_eae' '-eae_prefix:1' '7jsvulrel7k95cncxj03kebu_' '-ss' '3' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/mnt/htpcvol2/Movies/Wonder Woman 1984 (2020).mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=1920:h=1080:format=p010[1];[1]hwmap=derive_device=opencl[2];[2]tonemap_opencl=tonemap=mobius:format=nv12:m=bt709:p=bt709:r=tv[3];[3]hwmap=derive_device=vaapi:reverse=1[4];[4]hwupload[5]' '-map' '[5]' '-codec:0' 'h264_vaapi' '-b:0' '8184k' '-maxrate:0' '10912k' '-bufsize:0' '21824k' '-r:0' '23.975999999999999' '-filter_complex' '[0:1] aresample=async=1:ocl='\''5.1'\'':rematrix_maxval=0.000000dB:osr=48000[6]' '-map' '[6]' '-metadata:s:1' 'language=eng' '-codec:1' 'libopus' '-b:1' '444k' '-f' 'segment' '-segment_format' 'matroska' '-segment_format_options' 'live=1' '-segment_time' '1' '-segment_header_filename' 'header' '-segment_start_number' '0' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/seglist?X-Plex-Http-Pipeline=infinite' '-segment_list_type' 'csv' '-segment_list_unfinished' '1' '-segment_list_size' '5' '-segment_list_separate_stream_times' '1' '-avoid_negative_ts' 'disabled' '-map_metadata:g' '-1' '-map_metadata:c' '-1' '-map_chapters' '-1' 'chunk-%05d' '-start_at_zero' '-copyts' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress'
Mar 21, 2021 13:02:33.460 [0x7f6000ff9700] DEBUG - [Transcode/JobRunner] Jobs: Starting child process with pid 27738
Mar 21, 2021 13:02:33.465 [0x7f5faaffd700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=startup (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.465 [0x7f6003fff700] DEBUG - Completed: [127.0.0.1:53788] 204 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=startup (11 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-) 
Mar 21, 2021 13:02:33.481 [0x7f5faa7fc700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=startup (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.481 [0x7f60037fe700] DEBUG - Completed: [127.0.0.1:53788] 204 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=startup (11 live) 0ms 203 bytes (pipelined: 2) (range: bytes=0-) 
Mar 21, 2021 13:02:33.481 [0x7f5ff17fa700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=opening (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.482 [0x7f60037fe700] DEBUG - Completed: [127.0.0.1:53788] 204 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=opening (11 live) 0ms 203 bytes (pipelined: 3) (range: bytes=0-) 
Mar 21, 2021 13:02:33.483 [0x7f5fa9ffb700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=opened (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.483 [0x7f6003fff700] DEBUG - Completed: [127.0.0.1:53788] 204 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?status=opened (11 live) 0ms 203 bytes (pipelined: 4) (range: bytes=0-) 
Mar 21, 2021 13:02:33.484 [0x7f5faaffd700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/stream?index=0&id=0&codec=hevc&type=video (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.484 [0x7f6003fff700] DEBUG - Completed: [127.0.0.1:53788] 200 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/stream?index=0&id=0&codec=hevc&type=video (11 live) 0ms 195 bytes (pipelined: 5) (range: bytes=0-) 
Mar 21, 2021 13:02:33.484 [0x7f5faa7fc700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/stream?index=1&id=0&codec=eac3&type=audio (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.485 [0x7f6003fff700] DEBUG - Completed: [127.0.0.1:53788] 200 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/stream?index=1&id=0&codec=eac3&type=audio (11 live) 0ms 195 bytes (pipelined: 6) (range: bytes=0-) 
Mar 21, 2021 13:02:33.486 [0x7f5ff17fa700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&width=3840&height=2160&interlaced=0&sar=1:1&level=150&frameRate=23.976&disp_default=1 (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.486 [0x7f60037fe700] DEBUG - Completed: [127.0.0.1:53788] 200 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&width=3840&height=2160&interlaced=0&sar=1:1&level=150&frameRate=23.976&disp_default=1 (11 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
Mar 21, 2021 13:02:33.486 [0x7f5fa9ffb700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=1&id=0&codec=eac3&type=audio&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&disp_default=1 (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.487 [0x7f60037fe700] DEBUG - Completed: [127.0.0.1:53788] 200 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=1&id=0&codec=eac3&type=audio&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&disp_default=1 (11 live) 0ms 195 bytes (pipelined: 8) (range: bytes=0-) 
Mar 21, 2021 13:02:33.487 [0x7f5faaffd700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=2&id=0&codec=subrip&type=subtitle&language=eng (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.487 [0x7f60037fe700] DEBUG - Completed: [127.0.0.1:53788] 200 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=2&id=0&codec=subrip&type=subtitle&language=eng (11 live) 0ms 195 bytes (pipelined: 9) (range: bytes=0-) 
Mar 21, 2021 13:02:33.487 [0x7f5faa7fc700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=3&id=0&codec=subrip&type=subtitle&language=spa (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.487 [0x7f60037fe700] DEBUG - Completed: [127.0.0.1:53788] 200 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress/streamDetail?index=3&id=0&codec=subrip&type=subtitle&language=spa (11 live) 0ms 195 bytes (pipelined: 10) (range: bytes=0-) 
Mar 21, 2021 13:02:33.496 [0x7f5ff17fa700] DEBUG - Request: [127.0.0.1:53788 (Loopback)] PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?duration=9066.112000 (11 live) Signed-in Token (riiviin) (range: bytes=0-) 
Mar 21, 2021 13:02:33.496 [0x7f6000ff9700] DEBUG - [Transcode] Started session successfully: 7jsvulrel7k95cncxj03kebu
Mar 21, 2021 13:02:33.497 [0x7f6003fff700] DEBUG - Completed: [127.0.0.1:53788] 204 PUT /video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress?duration=9066.112000 (11 live) 0ms 203 bytes (pipelined: 11) (range: bytes=0-) 
Mar 21, 2021 13:02:33.499 [0x7f6003fff700] DEBUG - Auth: authenticated user 1 as riiviin
Mar 21, 2021 13:02:33.499 [0x7f5fa9ffb700] DEBUG - Request: [192.168.1.210:53771 (Subnet)] GET /status/sessions (11 live) TLS GZIP Signed-in Token (riiviin)
Mar 21, 2021 13:02:33.499 [0x7f5fa9ffb700] DEBUG - [Now] Adding 1 sessions.
Mar 21, 2021 13:02:33.500 [0x7f6003fff700] DEBUG - Completed: [192.168.1.210:53771] 200 GET /status/sessions (11 live) TLS GZIP 1ms 2850 bytes (pipelined: 21)
Mar 21, 2021 13:02:33.633 [0x7f5faaffd700] ERROR - [Transcoder] [AVHWDeviceContext @ 0xdc3f40] No matching devices found.
Mar 21, 2021 13:02:33.634 [0x7f5faa7fc700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0xdc12c0] Failed to created derived device context: -19.
Mar 21, 2021 13:02:33.634 [0x7f5ff17fa700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0xdc12c0] Failed to configure output pad on Parsed_hwmap_2
Mar 21, 2021 13:02:33.634 [0x7f5fa9ffb700] ERROR - [Transcoder] Error reinitializing filters!
Mar 21, 2021 13:02:33.634 [0x7f5faaffd700] ERROR - [Transcoder] Failed to inject frame into filter network: No such device
Mar 21, 2021 13:02:33.634 [0x7f5faa7fc700] ERROR - [Transcoder] Error while processing the decoded data for stream #0:0
Mar 21, 2021 13:02:33.681 [0x7f6013fff700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 27738 is 1 (failure)
Mar 21, 2021 13:02:33.681 [0x7f6002ffd700] DEBUG - Streaming Resource: Changing client to use software decoding
Mar 21, 2021 13:02:33.681 [0x7f6002ffd700] DEBUG - Found session GUID of 7jsvulrel7k95cncxj03kebu in session start.
Mar 21, 2021 13:02:33.681 [0x7f6002ffd700] DEBUG - TranscodeUniversalRequest: using profile Plex Desktop
Mar 21, 2021 13:02:33.682 [0x7f6002ffd700] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/46924?includeBandwidths=1&offset=3&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=yyctpz74sebgmympmfh8n5m1
Mar 21, 2021 13:02:33.682 [0x7f6002ffd700] DEBUG - Auth: authenticated user 1 as riiviin
Mar 21, 2021 13:02:33.684 [0x7f6003fff700] DEBUG - Auth: authenticated user 1 as riiviin
Mar 21, 2021 13:02:33.684 [0x7f5ff17fa700] DEBUG - Request: [192.168.1.210:53771 (Subnet)] GET /status/sessions (10 live) TLS GZIP Signed-in Token (riiviin)
Mar 21, 2021 13:02:33.684 [0x7f5ff17fa700] DEBUG - [Now] Adding 1 sessions.
Mar 21, 2021 13:02:33.685 [0x7f6002ffd700] DEBUG - It took 0.000000 ms to retrieve 199 items.
Mar 21, 2021 13:02:33.685 [0x7f6002ffd700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Mar 21, 2021 13:02:33.685 [0x7f6002ffd700] DEBUG - Selecting best audio stream for part ID 174363 (autoselect: 0 language: en)
Mar 21, 2021 13:02:33.685 [0x7f6002ffd700] DEBUG - We're going to try to auto-select a subtitle.
Mar 21, 2021 13:02:33.685 [0x7f6002ffd700] DEBUG - Audio Stream: 378460, Subtitle Stream: -1
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Selected protocol http; container: mkv
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: analyzing media item 80557
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): Direct Play is disabled
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): no direct play video profile exists for http/mkv/hevc
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): no direct play video profile exists for http/mkv/hevc/eac3
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): selected media 0 / 80557
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Streaming Resource: Calculated bandwidth of 29096kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 12000kbps
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Scaled up video bitrate to 80635Kbps based on 4.500000x fudge factor.
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Scaled up video bitrate to 80635Kbps based on 4.500000x fudge factor.
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Streaming Resource: Reducing playback quality for 11428kbps stream bitrate: video resolution to 1920x1080, audio channels to 6, quality to 32, disable video DS as 26942kbps is > the 10912kbps available, disable audio DS as 768kbps is > the 444kbps available
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Scaled up video bitrate to 80635Kbps based on 4.500000x fudge factor.
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Scaled maximum bitrate for resolution reduction to 20158Kbps.
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Selected protocol http; container: mkv
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: analyzing media item 80557
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): Direct Play is disabled
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): no direct play video profile exists for http/mkv/hevc
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): no direct play video profile exists for http/mkv/hevc/eac3
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Wonder Woman 1984 - video.width limitation applies: 3840 > 1920
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): Direct Streaming is disabled, so video stream will be transcoded
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): no remuxable profile found, so video stream will be transcoded
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Scaled up video bitrate to 80635Kbps based on 4.500000x fudge factor.
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - Scaled maximum bitrate for resolution reduction to 20158Kbps.
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): Audio Direct Streaming is disabled, so video's audio stream will be transcoded
Mar 21, 2021 13:02:33.686 [0x7f6002ffd700] DEBUG - MDE: Cannot direct stream audio stream due to profile or setting limitations
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - MDE: Wonder Woman 1984 (2020): selected media 0 / 80557
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Streaming Resource: Reached Decision id=46924 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=80557 part=(id=174363 decision=transcode container=mkv protocol=http streams=(Video=(id=378459 decision=transcode bitrate=10912 encoder=libx264 width=1920 height=1080) Audio=(id=378460 decision=transcode bitrate=444 encoder=libopus channels=6 rate=48000))))
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Transcode Session: Going to restart at offset 3.000000 with segment number -1
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Killing job.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Signalling job ID 27738 with 9
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Job was already killed, not killing again.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Stopping transcode session 7jsvulrel7k95cncxj03kebu
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Starting a transcode session 7jsvulrel7k95cncxj03kebu at offset 3.0 (state=3)
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [Universal] Using local file path instead of URL: /mnt/htpcvol2/Movies/Wonder Woman 1984 (2020).mkv
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x41524742 -> bgra.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x42475241 -> argb.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x41424752 -> rgba.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x52474241 -> abgr.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x58524742 -> bgr0.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x42475258 -> 0rgb.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x58424752 -> rgb0.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x52474258 -> 0bgr.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x30335241 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x30334241 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x30335258 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x30334258 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x36314752 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x50424752 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x50524742 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x56555941 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x30303859 -> gray.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x3231564e -> nv12.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x3132564e -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x32595559 -> yuyv422.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x59565955 -> uyvy422.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x32315659 -> yuv420p.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x30323449 -> yuv420p.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x50313134 -> yuv411p.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x48323234 -> yuv422p.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x56323234 -> yuv440p.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x50343434 -> yuv444p.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x33434d49 -> unknown.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Format 0x30313050 -> p010le.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Created surface 0.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [FFMPEG] - Direct mapping possible.
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: 
Mar 21, 2021 13:02:33.687 [0x7f6002ffd700] DEBUG - [JobRunner] Job running: EAE_ROOT='/tmp/pms-f5f35d73-af04-421b-b87e-ed6b7577c7bf/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/73e06c8-3759-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxu' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-codec:1' 'eac3_eae' '-eae_prefix:1' '7jsvulrel7k95cncxj03kebu_' '-ss' '3' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/mnt/htpcvol2/Movies/Wonder Woman 1984 (2020).mkv' '-filter_complex' '[0:0]scale=w=1920:h=1080[0];[0]format=p010,tonemap=mobius[1];[1]format=pix_fmts=yuv420p|nv12[2]' '-map' '[2]' '-codec:0' 'libx264' '-crf:0' '21' '-maxrate:0' '10912k' '-bufsize:0' '21824k' '-r:0' '23.975999999999999' '-preset:0' 'veryfast' '-x264opts:0' 'subme=0:me_range=4:rc_lookahead=10:me=hex:8x8dct=0:partitions=none' '-filter_complex' '[0:1] aresample=async=1:ocl='\''5.1'\'':rematrix_maxval=0.000000dB:osr=48000[3]' '-map' '[3]' '-metadata:s:1' 'language=eng' '-codec:1' 'libopus' '-b:1' '444k' '-f' 'segment' '-segment_format' 'matroska' '-segment_format_options' 'live=1' '-segment_time' '1' '-segment_header_filename' 'header' '-segment_start_number' '0' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/seglist?X-Plex-Http-Pipeline=infinite' '-segment_list_type' 'csv' '-segment_list_unfinished' '1' '-segment_list_size' '5' '-segment_list_separate_stream_times' '1' '-avoid_negative_ts' 'disabled' '-map_metadata:g' '-1' '-map_metadata:c' '-1' '-map_chapters' '-1' 'chunk-%05d' '-start_at_zero' '-copyts' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/7jsvulrel7k95cncxj03kebu/a9094946-4535-4ea8-a1d1-20f4cd17d4e6/progress'

What’s the difference between these two playbacks ?

The one thing I see which I know is an issue is the CPU itself.

Mar 21, 2021 13:01:27.892 [0x7f6018efb700] INFO - Plex Media Server v1.22.1.4200-c073686f2 - Ubuntu PC x86_64 - build: linux-x86_64 debian - GMT -05:00
Mar 21, 2021 13:01:27.893 [0x7f6018efb700] INFO - Linux version: 20.04.2 LTS (Focal Fossa), language: en-US
Mar 21, 2021 13:01:27.893 [0x7f6018efb700] INFO - Processor Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
Mar 21, 2021 13:01:27.893 [0x7f6018efb700] INFO - /usr/lib/plexmediaserver/Plex Media Server

HW transcoding for -10xxx CPUs is not fully functional.
That’s what I’m working on providing now.

Are you using Beignet or Intel Compute Runtime?

@cxhamilton

You have the same class CPU and it’s demonstrating the same characteristic.

Mar 21, 2021 14:04:20.857 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Format 0x50313134 -> yuv411p.
Mar 21, 2021 14:04:20.857 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Mar 21, 2021 14:04:20.857 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Format 0x56323234 -> yuv440p.
Mar 21, 2021 14:04:20.857 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Format 0x50343434 -> yuv444p.
Mar 21, 2021 14:04:20.857 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Format 0x33434d49 -> unknown.
Mar 21, 2021 14:04:20.857 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Mar 21, 2021 14:04:20.858 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Created surface 0.
Mar 21, 2021 14:04:20.858 [0x7f9234ff9700] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Mar 21, 2021 14:04:20.859 [0x7f9234ff9700] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Mar 21, 2021 14:04:20.859 [0x7f9234ff9700] DEBUG - [Transcode/JobRunner] Job running: EnableExtendedVaFormats='1' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/73e06c8-3759-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' NEOReadDebugKeys='1' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxZ' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_output_format:0' 'vaapi' '-hwaccel_device:0' 'vaapi' '-ss' '7655' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/drive/media/Movies/Zack Snyder'\''s Justice League (2021)/Zack Snyder'\''s Justice League (2021).mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=1440:h=1080:format=p010[1];[1]hwmap=derive_device=opencl[2];[2]tonemap_opencl=tonemap=mobius:format=nv12:m=bt709:p=bt709:r=tv[3];[3]hwmap=derive_device=vaapi:reverse=1[4];[4]hwupload[5]' '-map' '[5]' '-metadata:s:0' 'language=eng' '-codec:0' 'h264_vaapi' '-b:0' '3141k' '-maxrate:0' '4188k' '-bufsize:0' '8376k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-map' '0:1' '-metadata:s:1' 'language=eng' '-codec:1' 'copy' '-copypriorss:1' '0' '-segment_format' 'mpegts' '-f' 'ssegment' '-individual_header_trailer' '0' '-segment_time' '1' '-segment_start_number' '7655' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/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' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress'
Mar 21, 2021 14:04:20.860 [0x7f9234ff9700] DEBUG - [Transcode/JobRunner] Jobs: Starting child process with pid 460754
Mar 21, 2021 14:04:20.863 [0x7f92557fa700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=startup (19 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:20.863 [0x7f925d821700] DEBUG - Completed: [127.0.0.1:36416] 204 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=startup (19 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-) 
Mar 21, 2021 14:04:20.871 [0x7f92177fe700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=startup (19 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:20.871 [0x7f925e022700] DEBUG - Completed: [127.0.0.1:36416] 204 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=startup (19 live) 0ms 203 bytes (pipelined: 2) (range: bytes=0-) 
Mar 21, 2021 14:04:20.871 [0x7f91d57fa700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=opening (19 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:20.872 [0x7f925e022700] DEBUG - Completed: [127.0.0.1:36416] 204 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=opening (19 live) 0ms 203 bytes (pipelined: 3) (range: bytes=0-) 
Mar 21, 2021 14:04:20.905 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:20.905 [0x7f9217fff700] DEBUG - Request: [10.0.0.43:57436 (Subnet)] GET /:/timeline?bufferedTime=0&col=0&context=topshelf&duration=14528064&key=%2Flibrary%2Fmetadata%2F16563&location=lan&playQueueItemID=59507&playbackTime=57&ratingKey=16563&state=buffering&time=7655600 (19 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:20.907 [0x7f9217fff700] DEBUG - Client [7F241881-1585-46DA-8A48-6328487A6A73] reporting timeline state buffering, progress of 7655600/14528064ms for guid=, playbackTime=57ms ratingKey=16563 url=, key=/library/metadata/16563, containerKey=, metadataId=16563, source=
Mar 21, 2021 14:04:20.910 [0x7f9217fff700] DEBUG - Play progress on 16563 'Zack Snyder's Justice League' - got played 7655600 ms by account 1!
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - Selecting best audio stream for part ID 35461 (autoselect: 1 language: en)
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - We're going to try to auto-select a subtitle.
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - Audio Stream: 101056, Subtitle Stream: -1
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - [Now] User is cxhamilton (ID: 1)
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - [Now] Device is tvOS (Family Room).
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - [Now] Profile is tvOS
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - [Now] Updated play state for /library/metadata/16563.
Mar 21, 2021 14:04:20.916 [0x7f9217fff700] DEBUG - Statistics: (7F241881-1585-46DA-8A48-6328487A6A73) Reporting active playback in state 2 of type 1 (scrobble: 0) for account 1
Mar 21, 2021 14:04:20.920 [0x7f925e022700] DEBUG - Completed: [10.0.0.43:57436] 200 GET /:/timeline?bufferedTime=0&col=0&context=topshelf&duration=14528064&key=%2Flibrary%2Fmetadata%2F16563&location=lan&playQueueItemID=59507&playbackTime=57&ratingKey=16563&state=buffering&time=7655600 (19 live) TLS GZIP 14ms 740 bytes (pipelined: 9)
Mar 21, 2021 14:04:20.938 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:20.939 [0x7f92557fa700] DEBUG - Request: [10.0.0.20:51268 (Subnet)] GET /status/sessions (19 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:20.939 [0x7f92557fa700] DEBUG - [Now] Adding 1 sessions.
Mar 21, 2021 14:04:20.941 [0x7f925d821700] DEBUG - Completed: [10.0.0.20:51268] 200 GET /status/sessions (19 live) TLS GZIP 3ms 4406 bytes (pipelined: 11)
Mar 21, 2021 14:04:20.942 [0x7f925e022700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:20.942 [0x7f92177fe700] DEBUG - Request: [10.0.0.20:51269 (Subnet)] GET /status/sessions (19 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:20.942 [0x7f92177fe700] DEBUG - [Now] Adding 1 sessions.
Mar 21, 2021 14:04:20.946 [0x7f925e022700] DEBUG - Completed: [10.0.0.20:51269] 200 GET /status/sessions (19 live) TLS GZIP 3ms 4406 bytes (pipelined: 6)
Mar 21, 2021 14:04:21.025 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.025 [0x7f91d57fa700] DEBUG - Request: [10.0.0.43:57436 (Subnet)] GET /:/timeline?bufferedTime=0&col=0&context=topshelf&duration=14528064&key=%2Flibrary%2Fmetadata%2F16563&location=lan&playQueueItemID=59507&playbackTime=57&ratingKey=16563&state=buffering&time=7655600 (19 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.027 [0x7f91d57fa700] DEBUG - Client [7F241881-1585-46DA-8A48-6328487A6A73] reporting timeline state buffering, progress of 7655600/14528064ms for guid=, playbackTime=57ms ratingKey=16563 url=, key=/library/metadata/16563, containerKey=, metadataId=16563, source=
Mar 21, 2021 14:04:21.030 [0x7f91d57fa700] DEBUG - Play progress on 16563 'Zack Snyder's Justice League' - got played 7655600 ms by account 1!
Mar 21, 2021 14:04:21.030 [0x7f91d57fa700] DEBUG - [Now] User is cxhamilton (ID: 1)
Mar 21, 2021 14:04:21.030 [0x7f91d57fa700] DEBUG - [Now] Device is tvOS (Family Room).
Mar 21, 2021 14:04:21.030 [0x7f91d57fa700] DEBUG - [Now] Profile is tvOS
Mar 21, 2021 14:04:21.030 [0x7f91d57fa700] DEBUG - [Now] Updated play state for /library/metadata/16563.
Mar 21, 2021 14:04:21.031 [0x7f91d57fa700] DEBUG - Statistics: (7F241881-1585-46DA-8A48-6328487A6A73) Reporting active playback in state 2 of type 1 (scrobble: 0) for account 1
Mar 21, 2021 14:04:21.035 [0x7f925e022700] DEBUG - Completed: [10.0.0.43:57436] 200 GET /:/timeline?bufferedTime=0&col=0&context=topshelf&duration=14528064&key=%2Flibrary%2Fmetadata%2F16563&location=lan&playQueueItemID=59507&playbackTime=57&ratingKey=16563&state=buffering&time=7655600 (19 live) TLS GZIP 10ms 740 bytes (pipelined: 10)
Mar 21, 2021 14:04:21.069 [0x7f925e022700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.069 [0x7f9217fff700] DEBUG - Request: [10.0.0.20:51268 (Subnet)] GET /statistics/bandwidth?timespan=6 (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.069 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.069 [0x7f92557fa700] DEBUG - Request: [10.0.0.20:51269 (Subnet)] GET /statistics/resources?timespan=6 (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.072 [0x7f925d821700] DEBUG - Completed: [10.0.0.20:51268] 200 GET /statistics/bandwidth?timespan=6 (18 live) TLS GZIP 3ms 1046 bytes (pipelined: 12)
Mar 21, 2021 14:04:21.072 [0x7f925e022700] DEBUG - Completed: [10.0.0.20:51269] 200 GET /statistics/resources?timespan=6 (18 live) TLS GZIP 2ms 600 bytes (pipelined: 7)
Mar 21, 2021 14:04:21.102 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.102 [0x7f92177fe700] DEBUG - Request: [10.0.0.43:57437 (Subnet)] GET /:/timeline?bufferedTime=0&col=0&context=topshelf&duration=14528064&key=%2Flibrary%2Fmetadata%2F16563&location=lan&playQueueItemID=59507&playbackTime=57&ratingKey=16563&state=buffering&time=7655600 (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.104 [0x7f92177fe700] DEBUG - Client [7F241881-1585-46DA-8A48-6328487A6A73] reporting timeline state buffering, progress of 7655600/14528064ms for guid=, playbackTime=57ms ratingKey=16563 url=, key=/library/metadata/16563, containerKey=, metadataId=16563, source=
Mar 21, 2021 14:04:21.107 [0x7f92177fe700] DEBUG - Play progress on 16563 'Zack Snyder's Justice League' - got played 7655600 ms by account 1!
Mar 21, 2021 14:04:21.107 [0x7f92177fe700] DEBUG - [Now] User is cxhamilton (ID: 1)
Mar 21, 2021 14:04:21.107 [0x7f92177fe700] DEBUG - [Now] Device is tvOS (Family Room).
Mar 21, 2021 14:04:21.107 [0x7f92177fe700] DEBUG - [Now] Profile is tvOS
Mar 21, 2021 14:04:21.107 [0x7f92177fe700] DEBUG - [Now] Updated play state for /library/metadata/16563.
Mar 21, 2021 14:04:21.107 [0x7f92177fe700] DEBUG - Statistics: (7F241881-1585-46DA-8A48-6328487A6A73) Reporting active playback in state 2 of type 1 (scrobble: 0) for account 1
Mar 21, 2021 14:04:21.112 [0x7f925e022700] DEBUG - Completed: [10.0.0.43:57437] 200 GET /:/timeline?bufferedTime=0&col=0&context=topshelf&duration=14528064&key=%2Flibrary%2Fmetadata%2F16563&location=lan&playQueueItemID=59507&playbackTime=57&ratingKey=16563&state=buffering&time=7655600 (18 live) TLS GZIP 10ms 740 bytes (pipelined: 4)
Mar 21, 2021 14:04:21.425 [0x7f91f57fa700] DEBUG - HTTP 200 response from POST http://127.0.0.1:32600/devices/discover
Mar 21, 2021 14:04:21.425 [0x7f91f57fa700] DEBUG - Activity: registered new activity b6a95ba3-1323-478f-8a3a-a6912bf8612c - "Processing subscriptions"
Mar 21, 2021 14:04:21.425 [0x7f9236ffd700] DEBUG - Grabber: Cleaning up orphaned grabs.
Mar 21, 2021 14:04:21.426 [0x7f9236ffd700] DEBUG - Grabber: Cleaned up 0 decrepit directories in 0.0 sec.
Mar 21, 2021 14:04:21.426 [0x7f9236ffd700] DEBUG - Activity: registered new activity 148153a1-43fa-4519-971e-90b6ff353ca0 - "Processing subscriptions"
Mar 21, 2021 14:04:21.426 [0x7f9236ffd700] DEBUG - Subscription: Scheduling subscriptions.
Mar 21, 2021 14:04:21.427 [0x7f9236ffd700] DEBUG - Subscription: Initialized 0 schedulers.
Mar 21, 2021 14:04:21.427 [0x7f9236ffd700] DEBUG - Subscription: Starting with 0 grabs, scheduled 0 active ones preemptively.
Mar 21, 2021 14:04:21.427 [0x7f9236ffd700] DEBUG - Subscription: Scheduled all subscriptions in 0 ms.
Mar 21, 2021 14:04:21.427 [0x7f9236ffd700] DEBUG - Activity: Ended activity 148153a1-43fa-4519-971e-90b6ff353ca0.
Mar 21, 2021 14:04:21.427 [0x7f9236ffd700] DEBUG - Subscription: There are 0 active grabs at the end.
Mar 21, 2021 14:04:21.427 [0x7f9236ffd700] DEBUG - Activity: Ended activity b6a95ba3-1323-478f-8a3a-a6912bf8612c.
Mar 21, 2021 14:04:21.427 [0x7f9236ffd700] DEBUG - Subscription: Refreshed all content in 1 ms.
Mar 21, 2021 14:04:21.441 [0x7f925e022700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.441 [0x7f92177fe700] DEBUG - Request: [10.0.0.43:57437 (Subnet)] GET /media/subscriptions/scheduled (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.442 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.442 [0x7f9217fff700] DEBUG - Request: [10.0.0.43:57438 (Subnet)] GET /media/subscriptions?includeGrabs=1 (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.442 [0x7f925e022700] DEBUG - Completed: [10.0.0.43:57438] 200 GET /media/subscriptions?includeGrabs=1 (18 live) TLS GZIP 0ms 397 bytes (pipelined: 4)
Mar 21, 2021 14:04:21.442 [0x7f925d821700] DEBUG - Completed: [10.0.0.43:57437] 200 GET /media/subscriptions/scheduled (18 live) TLS GZIP 0ms 397 bytes (pipelined: 5)
Mar 21, 2021 14:04:21.526 [0x7f91d57fa700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=opened (18 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:21.526 [0x7f925e022700] DEBUG - Completed: [127.0.0.1:36416] 204 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?status=opened (18 live) 0ms 203 bytes (pipelined: 4) (range: bytes=0-) 
Mar 21, 2021 14:04:21.526 [0x7f92557fa700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/stream?index=0&id=0&codec=hevc&type=video (18 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:21.526 [0x7f925e022700] DEBUG - Completed: [127.0.0.1:36416] 200 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/stream?index=0&id=0&codec=hevc&type=video (18 live) 0ms 195 bytes (pipelined: 5) (range: bytes=0-) 
Mar 21, 2021 14:04:21.526 [0x7f9217fff700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/stream?index=1&id=0&codec=eac3&type=audio (18 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:21.527 [0x7f925e022700] DEBUG - Completed: [127.0.0.1:36416] 200 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/stream?index=1&id=0&codec=eac3&type=audio (18 live) 0ms 195 bytes (pipelined: 6) (range: bytes=0-) 
Mar 21, 2021 14:04:21.528 [0x7f92177fe700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&language=eng&width=2880&height=2160&interlaced=0&level=150&frameRate=23.976&disp_default=1 (18 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:21.528 [0x7f925d821700] DEBUG - Completed: [127.0.0.1:36416] 200 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&language=eng&width=2880&height=2160&interlaced=0&level=150&frameRate=23.976&disp_default=1 (18 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
Mar 21, 2021 14:04:21.528 [0x7f91d57fa700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/streamDetail?index=1&id=0&codec=eac3&type=audio&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&disp_default=1 (18 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:21.529 [0x7f925e022700] DEBUG - Completed: [127.0.0.1:36416] 200 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/streamDetail?index=1&id=0&codec=eac3&type=audio&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&disp_default=1 (18 live) 0ms 195 bytes (pipelined: 8) (range: bytes=0-) 
Mar 21, 2021 14:04:21.529 [0x7f92557fa700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/streamDetail?index=2&id=0&codec=subrip&type=subtitle&language=eng (18 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:21.529 [0x7f925e022700] DEBUG - Completed: [127.0.0.1:36416] 200 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress/streamDetail?index=2&id=0&codec=subrip&type=subtitle&language=eng (18 live) 0ms 195 bytes (pipelined: 9) (range: bytes=0-) 
Mar 21, 2021 14:04:21.705 [0x7f9217fff700] DEBUG - Request: [127.0.0.1:36416 (Loopback)] PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?duration=14528.064000 (18 live) Signed-in Token (cxhamilton) (range: bytes=0-) 
Mar 21, 2021 14:04:21.705 [0x7f9234ff9700] DEBUG - [Transcode] Started session successfully: A29CB01B-725E-4541-9AD6-1164181C6E48
Mar 21, 2021 14:04:21.705 [0x7f925d821700] DEBUG - Completed: [127.0.0.1:36416] 204 PUT /video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress?duration=14528.064000 (18 live) 0ms 203 bytes (pipelined: 10) (range: bytes=0-) 
Mar 21, 2021 14:04:21.705 [0x7f9234ff9700] DEBUG - [Transcode] HLS: Building an M3U8 for 14529 total seconds with 1 seconds/segment, target duration of 1.
Mar 21, 2021 14:04:21.713 [0x7f925e022700] DEBUG - Completed: [10.0.0.43:57440] 200 GET /video/:/transcode/universal/session/A29CB01B-725E-4541-9AD6-1164181C6E48/base/index.m3u8 (18 live) TLS GZIP 861ms 38138 bytes (pipelined: 2)
Mar 21, 2021 14:04:21.732 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.732 [0x7f92177fe700] DEBUG - Request: [10.0.0.20:51268 (Subnet)] GET /status/sessions (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.732 [0x7f92177fe700] DEBUG - [Now] Adding 1 sessions.
Mar 21, 2021 14:04:21.734 [0x7f925d821700] DEBUG - Completed: [10.0.0.20:51268] 200 GET /status/sessions (18 live) TLS GZIP 2ms 4414 bytes (pipelined: 13)
Mar 21, 2021 14:04:21.740 [0x7f925e022700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.741 [0x7f91d57fa700] DEBUG - Request: [10.0.0.20:51268 (Subnet)] GET /status/sessions (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.741 [0x7f91d57fa700] DEBUG - [Now] Adding 1 sessions.
Mar 21, 2021 14:04:21.743 [0x7f925e022700] DEBUG - Completed: [10.0.0.20:51268] 200 GET /status/sessions (18 live) TLS GZIP 2ms 4414 bytes (pipelined: 14)
Mar 21, 2021 14:04:21.795 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.795 [0x7f92557fa700] DEBUG - Request: [10.0.0.43:57437 (Subnet)] GET /transcode/sessions (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.795 [0x7f9217fff700] DEBUG - Request: [10.0.0.43:57440 (Subnet)] GET /video/:/transcode/universal/session/A29CB01B-725E-4541-9AD6-1164181C6E48/base/07655.ts (18 live) TLS Signed-in
Mar 21, 2021 14:04:21.795 [0x7f9217fff700] DEBUG - [Transcode/A29CB01B-725E-4541-9AD6-1164181C6E48] Asked for segment 7655 from session.
Mar 21, 2021 14:04:21.796 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.796 [0x7f925e022700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:21.796 [0x7f925d821700] DEBUG - Completed: [10.0.0.43:57437] 200 GET /transcode/sessions (18 live) TLS GZIP 1ms 665 bytes (pipelined: 6)
Mar 21, 2021 14:04:21.796 [0x7f92177fe700] DEBUG - Request: [10.0.0.43:57438 (Subnet)] GET /transcode/sessions (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.796 [0x7f91d57fa700] DEBUG - Request: [10.0.0.43:57439 (Subnet)] GET /transcode/sessions (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:21.797 [0x7f925d821700] DEBUG - Completed: [10.0.0.43:57438] 200 GET /transcode/sessions (18 live) TLS GZIP 1ms 665 bytes (pipelined: 5)
Mar 21, 2021 14:04:21.797 [0x7f925e022700] DEBUG - Completed: [10.0.0.43:57439] 200 GET /transcode/sessions (18 live) TLS GZIP 1ms 665 bytes (pipelined: 2)
Mar 21, 2021 14:04:22.076 [0x7f925d821700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:22.076 [0x7f9234ff9700] DEBUG - Request: [10.0.0.20:51268 (Subnet)] GET /statistics/bandwidth?timespan=6 (18 live) TLS GZIP Signed-in Token (cxhamilton)
Mar 21, 2021 14:04:22.077 [0x7f925d821700] DEBUG - Completed: [10.0.0.20:51268] 200 GET /statistics/bandwidth?timespan=6 (18 live) TLS GZIP 0ms 1055 bytes (pipelined: 15)
Mar 21, 2021 14:04:22.260 [0x7f92557fa700] ERROR - [Transcoder] [AVHWDeviceContext @ 0xfc9e80] No matching devices found.
Mar 21, 2021 14:04:22.260 [0x7f91d57fa700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0xfc3a80] Failed to created derived device context: -19.
Mar 21, 2021 14:04:22.260 [0x7f92177fe700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0xfc3a80] Failed to configure output pad on Parsed_hwmap_2
Mar 21, 2021 14:04:22.261 [0x7f9234ff9700] ERROR - [Transcoder] Error reinitializing filters!
Mar 21, 2021 14:04:22.261 [0x7f92557fa700] ERROR - [Transcoder] Failed to inject frame into filter network: No such device
Mar 21, 2021 14:04:22.261 [0x7f91d57fa700] ERROR - [Transcoder] Error while processing the decoded data for stream #0:0
Mar 21, 2021 14:04:22.309 [0x7f9265274700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 460754 is 1 (failure)
Mar 21, 2021 14:04:22.309 [0x7f9255ffb700] DEBUG - Streaming Resource: Changing client to use software decoding
Mar 21, 2021 14:04:22.310 [0x7f9255ffb700] DEBUG - TranscodeUniversalRequest: using augmented profile tvOS
Mar 21, 2021 14:04:22.310 [0x7f9255ffb700] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/16563?includeBandwidths=1&offset=-1&X-Plex-Client-Capabilities=audioDecoders%3dmp3%2caac%2cac3%7bbitrate%3a800000%26channels%3a8%7d&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=7F241881-1585-46DA-8A48-6328487A6A73
Mar 21, 2021 14:04:22.310 [0x7f9255ffb700] DEBUG - Auth: authenticated user 1 as cxhamilton
Mar 21, 2021 14:04:22.313 [0x7f9255ffb700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Mar 21, 2021 14:04:22.313 [0x7f9255ffb700] DEBUG - Selecting best audio stream for part ID 35461 (autoselect: 1 language: en)
Mar 21, 2021 14:04:22.313 [0x7f9255ffb700] DEBUG - We're going to try to auto-select a subtitle.
Mar 21, 2021 14:04:22.313 [0x7f9255ffb700] DEBUG - Audio Stream: 101056, Subtitle Stream: -1
Mar 21, 2021 14:04:22.313 [0x7f9255ffb700] DEBUG - Streaming Resource: Applying codec restriction restrict-transcode-target-codec(audioCodec=eac3&context=streaming&protocol=hls&type=videoProfile&videoCodec=h264) on 7F241881-1585-46DA-8A48-6328487A6A73
Mar 21, 2021 14:04:22.313 [0x7f9255ffb700] DEBUG - Scaled up video bitrate to 16753Kbps based on 4.500000x fudge factor.
Mar 21, 2021 14:04:22.313 [0x7f9255ffb700] DEBUG - Scaled maximum bitrate for resolution reduction to 4188Kbps.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] WARN - MDE: unable to find a working transcode profile for video stream
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Selected protocol hls; container: mp4
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: analyzing media item 35228
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Zack Snyder's Justice League (2021): Direct Play is disabled
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Zack Snyder's Justice League (2021): media must be transcoded in order to use the hls protocol
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Zack Snyder's Justice League (2021): no direct play video profile exists for http/mkv/hevc
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Zack Snyder's Justice League (2021): no direct play video profile exists for http/mkv/hevc/eac3
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Zack Snyder's Justice League - video.width limitation applies: 2880 > 1920
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Zack Snyder's Justice League (2021): no remuxable profile found, so video stream will be transcoded
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Scaled up video bitrate to 16753Kbps based on 4.500000x fudge factor.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Scaled maximum bitrate for resolution reduction to 4188Kbps.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - MDE: Zack Snyder's Justice League (2021): selected media 0 / 35228
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Streaming Resource: Reached Decision id=16563 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=35228 part=(id=35461 decision=transcode container=mpegts protocol=hls streams=(Video=(id=101055 decision=transcode bitrate=4188 encoder=libx264 width=1440 height=1080) Audio=(id=101056 decision=copy channels=6 rate=48000))))
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Transcode Session: Going to restart at offset 7655.000000 with segment number -1
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Killing job.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Signalling job ID 460754 with 9
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Job was already killed, not killing again.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Stopping transcode session A29CB01B-725E-4541-9AD6-1164181C6E48
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Starting a transcode session A29CB01B-725E-4541-9AD6-1164181C6E48 at offset 7655.0 (state=3)
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [Universal] Using local file path instead of URL: /drive/media/Movies/Zack Snyder's Justice League (2021)/Zack Snyder's Justice League (2021).mkv
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x41524742 -> bgra.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x42475241 -> argb.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x41424752 -> rgba.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x52474241 -> abgr.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x58524742 -> bgr0.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x42475258 -> 0rgb.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x58424752 -> rgb0.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x52474258 -> 0bgr.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x30335241 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x30334241 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x30335258 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x30334258 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x36314752 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x50424752 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x50524742 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x56555941 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x30303859 -> gray.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x3231564e -> nv12.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x3132564e -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x32595559 -> yuyv422.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x59565955 -> uyvy422.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x32315659 -> yuv420p.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x30323449 -> yuv420p.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x50313134 -> yuv411p.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x48323234 -> yuv422p.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x56323234 -> yuv440p.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x50343434 -> yuv444p.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x33434d49 -> unknown.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Format 0x30313050 -> p010le.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Created surface 0.
Mar 21, 2021 14:04:22.314 [0x7f9255ffb700] DEBUG - [FFMPEG] - Direct mapping possible.
Mar 21, 2021 14:04:22.315 [0x7f9255ffb700] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: 
Mar 21, 2021 14:04:22.315 [0x7f9255ffb700] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/73e06c8-3759-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxZ' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-ss' '7655' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/drive/media/Movies/Zack Snyder'\''s Justice League (2021)/Zack Snyder'\''s Justice League (2021).mkv' '-filter_complex' '[0:0]scale=w=1440:h=1080[0];[0]format=p010,tonemap=mobius[1];[1]format=pix_fmts=yuv420p|nv12[2]' '-map' '[2]' '-metadata:s:0' 'language=eng' '-codec:0' 'libx264' '-crf:0' '16' '-maxrate:0' '4188k' '-bufsize:0' '8376k' '-r:0' '23.975999999999999' '-preset:0' 'veryfast' '-x264opts:0' 'subme=0:me_range=4:rc_lookahead=10:me=hex:8x8dct=0:partitions=none' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-map' '0:1' '-metadata:s:1' 'language=eng' '-codec:1' 'copy' '-copypriorss:1' '0' '-segment_format' 'mpegts' '-f' 'ssegment' '-individual_header_trailer' '0' '-segment_time' '1' '-segment_start_number' '7655' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/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' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/A29CB01B-725E-4541-9AD6-1164181C6E48/8249e426-86c6-421a-a0b5-53200f56d418/progress'
Mar 21, 2021 14:04:22.315 [0x7f9255ffb700] DEBUG - [JobRunner] Jobs: Starting child process with pid 460784
Mar 21, 2021 14:04:22.315 [0x7f9255ffb700] DEBUG - Started session successfully: A29CB01B-725E-4541-9AD6-1164181C6E48
Mar 21, 2021 14:04:22.317 [0x7f925e022700] DEBUG - Auth: authenticated user 1 as cxhamilton

Therefore I also ask: Beignet or Intel Compute Runtime.

I would like to ask both,

HW transcoding worked flawlessly in which version of PMS with these CPUs ?

@ChuckPa it has worked for me since I first saw a thread pointing to the Intel compute runtime packages on March 9th. Right now, it works on 1.22.0.4163-d8c4875dd and stops working as soon as 1.22.1.4200-c073686f2 is installed. It starts working as soon as I downgrade with no other changes to the server or player.

PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install:
PlexMediaServer install:   DEVELOPMENT  V7 draft
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         render
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /tmp
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Intel i915 Hardware: Found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install:
PlexMediaServer install:   Intel Gmmlib:        Installed
PlexMediaServer install:   Intel IGC Core:      Installed
PlexMediaServer install:   Intel IGC OpenCL:    Installed
PlexMediaServer install:   Intel OpenCL:        Installed
PlexMediaServer install:   Intel OCLoc:         Installed
PlexMediaServer install:   Intel Zero GPU:      Installed
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.
# Plex Media Server installation configuration info:  Sun 21 Mar 2021 02:16:57 PM CDT
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding="en_US.UTF-8"
ExistingVersion=12200
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=1
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
CPUSKU=10710
NeedBeignet=0
NeedIntelCompute=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelOCLoc=1
HaveIntelZeroGPU=1
HaveIntelCompute=1
HaveBeignetIcd=1
HaveOpenCL=1
HaveBeignet=1
Platform="NUC10i7FNH"
Processor="Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz"
Distro="Ubuntu 20.04.2 LTS"
Kernel="Linux nuc 5.8.0-45-generic #51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
Memory="31828 7628 1605"

@riiviin

Thank you. That’s something definitive I can work with.

Am I accurate in stating the PMS 1.22.1.4200 is “inconsistent” with hardware transcoding? (which is what your logs are showing)

@ChuckPa It seems to be specifically HDR to SDR tone mapping that is breaking somehow. I upgraded to 1.22.1.420 again, and hw transcoding seems to be working on a random selection of files both h.264 and HEVC. I found a 4K HEVC Main 10 non-HDR file in my library, and hw transcoding works as expected.

Happy to do any further testing that would be helpful.

1 Like

I’m sorry but that seems a bit of a contradiction.

“Main 10” == HDR (because HDR is 10 bit color)

Therefore, it’s either “Main 10” (HDR) or it’s SDR.

Help me understand please?

Apparently they exist. Plex reports it simply as 4K, not 4K HDR. If I direct play to my TV, HDR mode does NOT engage. It matches the pattern too. Hardware transcoding works for it, but not any 4K Main 10 HDR file. It’s Borat Subsequent Moviefilm, and it may be the only one I have like that.

Thanks.

I’ve put all the info together and reported to engineering.

@riiviin

May I have the <media> part part of the XML where it shows the streams in the file as PMS sees it and may I have either mediainfo output of the file or ffmpeg -i output for the streams?

@ChuckPa

I am not sure how to get the first thing you are asking for.

Here is the mediainfo:

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 31 min
Bit rate                                 : 17.9 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.090
Stream size                              : 18.9 GiB (96%)
Writing library                          : x265 3.4hy:[Linux][GCC 7.5.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=6 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=48 / keyint=48 / gop-lookahead=0 / bframes=3 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / 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 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=18000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / vbv-maxrate=27000 / vbv-bufsize=27000 / vbv-init=0.8 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) / cll=596,200 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / no-concatenation / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.01 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 596 cd/m2
Maximum Frame-Average Light Level        : 200 cd/m2

Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : A_EAC3
Duration                                 : 2 h 31 min
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 830 MiB (4%)
Title                                    : English
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Text #1
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 2 h 26 min
Bit rate                                 : 52 b/s
Count of elements                        : 3172
Stream size                              : 56.5 KiB (0%)
Title                                    : English [SDH]
Language                                 : English
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 2 h 27 min
Bit rate                                 : 47 b/s
Count of elements                        : 2933
Stream size                              : 50.9 KiB (0%)
Title                                    : Spanish [SDH]
Language                                 : Spanish
Default                                  : No
Forced                                   : No

To get what Plex sees:

  1. Hover over the poster
  2. See the ellipsis expose
  3. Click it
  4. Get Info (right corner)
  5. View XML (left corner on next page)
  6. In the browser tab. you will see raw XML language. <tag> ......... </tag> across multiple lines.
  7. Look from the first , copy form the first liine down through and stop with </media>
  8. To confirm, you’ll see the Genre and Actor info below that point. We don’t need that.
<Media id="80557" duration="9066112" bitrate="18687" width="3840" height="2160" aspectRatio="1.78" audioChannels="6" audioCodec="eac3" videoCodec="hevc" videoResolution="4k" container="mkv" videoFrameRate="24p" videoProfile="main 10">
<Part accessible="1" exists="1" id="174363" key="/library/parts/174363/1608920021/file.mkv" duration="9066112" file="/mnt/htpcvol2/Movies/Wonder Woman 1984 (2020).mkv" size="21180090476" container="mkv" deepAnalysisVersion="4" requiredBandwidths="27710,27531,27095,26394,25715,25183,22024,19724" videoProfile="main 10">
<Stream id="378459" streamType="1" default="1" codec="hevc" index="0" bitrate="17919" bitDepth="10" chromaSubsampling="4:2:0" codedHeight="2160" codedWidth="3840" colorPrimaries="bt2020" colorRange="tv" colorSpace="bt2020nc" colorTrc="smpte2084" frameRate="23.976" height="2160" level="150" profile="main 10" refFrames="1" requiredBandwidths="26942,26763,26327,25626,24946,24415,21256,18956" width="3840" displayTitle="4K (HEVC Main 10 HDR)" extendedDisplayTitle="4K (HEVC Main 10 HDR)"> </Stream>
<Stream id="378460" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" bitrate="768" language="English" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="768,768,768,768,768,768,768,768" samplingRate="48000" title="English" displayTitle="English (EAC3 5.1)" extendedDisplayTitle="English (EAC3 5.1)"> </Stream>
<Stream id="378461" streamType="3" codec="srt" index="2" bitrate="0" language="English" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="English [SDH]" displayTitle="English (SRT)" extendedDisplayTitle="English [SDH] (SRT)"> </Stream>
<Stream id="378462" streamType="3" codec="srt" index="3" bitrate="0" language="Español" languageCode="spa" requiredBandwidths="1,1,1,1,1,1,1,1" title="Spanish [SDH]" displayTitle="Español (SRT)" extendedDisplayTitle="Spanish [SDH] (Español SRT)"> </Stream>
</Part>
</Media>

Thank you. Perfect!

That s HEVC HDR… Notice the bt2020 ? That’s the name for 10 bit color.
8 bit colorspace is named bt709

Yes, just to be clear, my posts above with the pictures and the logs, mediainfo, and the xml media is all using Wonder Woman 1984, which is definitely HDR, as the test file.

edit:

If you are curious, here is the data from Borat that shows as Main 10 without HDR. This one uses hw transcoding with both server versions. I assume this is because there is no HDR to SDR transcoding.

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 36 min
Bit rate                                 : 28.2 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.142
Stream size                              : 18.9 GiB (98%)
Writing library                          : x265 3.4+26-ga82c6c7a7:[Windows][GCC 10.2.1][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=138213 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=40 / lookahead-slices=8 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=4 / tu-intra-depth=4 / limit-tu=4 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=4 / limit-refs=1 / no-limit-modes / me=1 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.30 / pbratio=1.20 / aq-mode=1 / aq-strength=0.80 / no-cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : A_EAC3
Duration                                 : 1 h 36 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 440 MiB (2%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Text #1
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 28 min
Bit rate                                 : 9 b/s
Count of elements                        : 263
Stream size                              : 6.41 KiB (0%)
Title                                    : Forced
Language                                 : English
Default                                  : Yes
Forced                                   : Yes

Text #2
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 35 min
Bit rate                                 : 86 b/s
Count of elements                        : 1953
Stream size                              : 60.7 KiB (0%)
Title                                    : SDH
Language                                 : English
Default                                  : No
Forced                                   : No
<Media id="76730" duration="5764672" bitrate="28835" width="3840" height="2160" aspectRatio="1.78" audioChannels="6" audioCodec="eac3" videoCodec="hevc" videoResolution="4k" container="mkv" videoFrameRate="24p" videoProfile="main 10">
<Part accessible="1" exists="1" id="166745" key="/library/parts/166745/1603603904/file.mkv" duration="5764672" file="/mnt/htpcvol1/Movies/Borat Subsequent Moviefilm (2020).mkv" size="20780972399" container="mkv" deepAnalysisVersion="4" requiredBandwidths="66057,58703,45208,42099,40889,40347,37713,37713" videoProfile="main 10">
<Stream id="322467" streamType="1" default="1" codec="hevc" index="0" bitrate="28193" bitDepth="10" chromaSubsampling="4:2:0" codedHeight="2160" codedWidth="3840" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" height="2160" level="153" profile="main 10" refFrames="1" requiredBandwidths="65415,58064,44565,41456,40246,39704,37118,37118" width="3840" displayTitle="4K (HEVC Main 10)" extendedDisplayTitle="4K (HEVC Main 10)"> </Stream>
<Stream id="322468" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" bitrate="640" language="English" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="640,640,640,640,640,640,640,640" samplingRate="48000" displayTitle="English (EAC3 5.1)" extendedDisplayTitle="English (EAC3 5.1)"> </Stream>
<Stream id="322469" streamType="3" selected="1" default="1" forced="1" codec="srt" index="2" bitrate="0" language="English" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="Forced" displayTitle="English Forced (SRT)" extendedDisplayTitle="Forced (English SRT)"> </Stream>
<Stream id="322470" streamType="3" codec="srt" index="3" bitrate="0" language="English" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="SDH" displayTitle="English (SRT)" extendedDisplayTitle="SDH (English SRT)"> </Stream>
</Part>
</Media>

Add me to this issue. I had just recently noticed that HW transcoding was not working for some reason (when it had been working previously). Based on this thread, I disabled HDR tone mapping, and HW transcoding starts working for 4k content again. Re-enable HDR tone mapping, and HW transcoding fails.

I have an i7-10700, so this isn’t just related to i10’s.

I’m running Version 1.22.0.4163, and I have not tried reverting to an older PMS version.