Jellyfin Forum
Transcoding to Shield When DirectStream avaiable - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Transcoding to Shield When DirectStream avaiable (/t-transcoding-to-shield-when-directstream-avaiable)

Pages: 1 2 3


Transcoding to Shield When DirectStream avaiable - bjaurelio - 2024-06-03

Hello,

My Shield is no longer directly playing videos from my server. These are rips I did of the 4k discs. My most recent movies are from finally getting around to picking up the Iron Man trilogy in 4K. I tried watching Iron Man tonight, and I noticed that all my HDR movies are transcoding into SDR. I have no idea why. The transcoding log shows Direct Play is available. Why is Jellyfin transcoding? Log is copied and pasted below.

Code:
{"Protocol":0,"Id":"e78ff0174b31f00d0903d51801e6f63d","Path":"/Videos/4K Movies/Iron Man (2008).mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":13036948209,"Name":"Iron Man (2008)","IsRemote":false,"ETag":"768ae744704644ccdf98df6d23c23af2","RunTimeTicks":75603200000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"hevc","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt2020nc","ColorTransfer":"smpte2084","ColorPrimaries":"bt2020","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":2,"VideoRangeType":2,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"4K HEVC HDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":13795128,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1600,"Width":3840,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":186,"IsAnamorphic":false},{"Codec":"truehd","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Surround 7.1","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"Surround 7.1 - English - TRUEHD - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"7.1","BitRate":null,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Surround 7.1","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"Surround 7.1 - English - Dolby Digital - 5.1","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":14435128,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/Videos/4K Movies/Iron Man (2008).mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -b:v 13795128 -maxrate 13795128 -bufsize 27590256 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,procamp_vaapi=b=0:c=1,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 6 -ab 128000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/4070034f5eab015dc43bb93b0398e46f%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/4070034f5eab015dc43bb93b0398e46f.m3u8"


ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec    60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter    9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample  4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[matroska,webm @ 0x558500eed400] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (1000000000) options
Input #0, matroska,webm, from 'file:/Videos/4K Movies/Iron Man (2008).mkv':
  Metadata:
    title          : IRON MAN
    creation_time  : 2024-05-22T04:16:38.000000Z
    ENCODER        : Lavf61.1.100
  Duration: 02:06:00.32, start: 0.000000, bitrate: 13795 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 544.169000
      Metadata:
        title          : Chapter 1
    Chapter #0:1: start 544.169000, end 1078.452000
      Metadata:
        title          : Chapter 2
    Chapter #0:2: start 1078.452000, end 1607.940000
      Metadata:
        title          : Chapter 3
    Chapter #0:3: start 1607.940000, end 2099.848000
      Metadata:
        title          : Chapter 4
    Chapter #0:4: start 2099.848000, end 2593.382000
      Metadata:
        title          : Chapter 5
    Chapter #0:5: start 2593.382000, end 3156.362000
      Metadata:
        title          : Chapter 6
    Chapter #0:6: start 3156.362000, end 3562.684000
      Metadata:
        title          : Chapter 7
    Chapter #0:7: start 3562.684000, end 4050.213000
      Metadata:
        title          : Chapter 8
    Chapter #0:8: start 4050.213000, end 4302.089000
      Metadata:
        title          : Chapter 9
    Chapter #0:9: start 4302.089000, end 4709.205000
      Metadata:
        title          : Chapter 10
    Chapter #0:10: start 4709.205000, end 5078.574000
      Metadata:
        title          : Chapter 11
    Chapter #0:11: start 5078.574000, end 5698.234000
      Metadata:
        title          : Chapter 12
    Chapter #0:12: start 5698.234000, end 6267.219000
      Metadata:
        title          : Chapter 13
    Chapter #0:13: start 6267.219000, end 6809.511000
      Metadata:
        title          : Chapter 14
    Chapter #0:14: start 6809.511000, end 7560.303000
      Metadata:
        title          : Chapter 15
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1600 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 02:06:00.303000000
    Side data:
      Content Light Level Metadata, MaxCLL=826, MaxFALL=819
      Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title          : Surround 7.1
      DURATION        : 02:06:00.304000000
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title          : Surround 7.1
      DURATION        : 02:06:00.320000000
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      DURATION        : 01:27:44.676000000
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_qsv))
  Stream #0:1 -> #0:1 (truehd (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
Output #0, hls, to '/config/transcodes/4070034f5eab015dc43bb93b0398e46f.m3u8':
  Metadata:
    encoder        : Lavf60.3.100
  Stream #0:0: Video: hevc (hvc1 / 0x31637668), qsv(tv, bt709, progressive), 3840x1600 [SAR 1:1 DAR 12:5], q=2-31, 13795 kb/s, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder        : Lavc60.3.100 hevc_qsv
    Side data:
      cpb: bitrate max/min/avg: 13795128/0/13795128 buffer size: 27590256 vbv_delay: N/A
      Content Light Level Metadata, MaxCLL=826, MaxFALL=819
      Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
  Stream #0:1: Audio: aac, 48000 Hz, 5.1, s16, 128 kb/s (default)
    Metadata:
      encoder        : Lavc60.3.100 libfdk_aac
frame=    0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=  0x   
frame=  21 fps=0.0 q=-0.0 size=N/A time=00:00:01.17 bitrate=N/A speed=2.16x   
frame=  52 fps= 50 q=-0.0 size=N/A time=00:00:02.47 bitrate=N/A speed=2.37x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f0.ts' for writing
frame=  80 fps= 51 q=-0.0 size=N/A time=00:00:03.66 bitrate=N/A speed=2.36x   
frame=  109 fps= 53 q=-0.0 size=N/A time=00:00:04.84 bitrate=N/A speed=2.35x   
frame=  136 fps= 53 q=-0.0 size=N/A time=00:00:06.01 bitrate=N/A speed=2.35x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f1.ts' for writing
frame=  165 fps= 54 q=-0.0 size=N/A time=00:00:07.18 bitrate=N/A speed=2.35x   
frame=  193 fps= 54 q=-0.0 size=N/A time=00:00:08.34 bitrate=N/A speed=2.33x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f2.ts' for writing
frame=  220 fps= 54 q=-0.0 size=N/A time=00:00:09.51 bitrate=N/A speed=2.33x   
frame=  249 fps= 54 q=-0.0 size=N/A time=00:00:10.68 bitrate=N/A speed=2.32x   
frame=  276 fps= 54 q=-0.0 size=N/A time=00:00:11.81 bitrate=N/A speed=2.31x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f3.ts' for writing
frame=  304 fps= 54 q=-0.0 size=N/A time=00:00:12.97 bitrate=N/A speed=2.31x   
frame=  332 fps= 54 q=-0.0 size=N/A time=00:00:14.14 bitrate=N/A speed=2.31x   
frame=  360 fps= 54 q=-0.0 size=N/A time=00:00:15.31 bitrate=N/A speed=2.31x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f4.ts' for writing
frame=  389 fps= 54 q=-0.0 size=N/A time=00:00:16.53 bitrate=N/A speed=2.31x   
frame=  419 fps= 55 q=-0.0 size=N/A time=00:00:17.77 bitrate=N/A speed=2.32x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f5.ts' for writing
frame=  450 fps= 55 q=-0.0 size=N/A time=00:00:19.07 bitrate=N/A speed=2.34x   
frame=  480 fps= 55 q=-0.0 size=N/A time=00:00:20.33 bitrate=N/A speed=2.34x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f6.ts' for writing
frame=  510 fps= 56 q=-0.0 size=N/A time=00:00:21.56 bitrate=N/A speed=2.35x   
frame=  542 fps= 56 q=-0.0 size=N/A time=00:00:22.91 bitrate=N/A speed=2.37x   
frame=  570 fps= 56 q=-0.0 size=N/A time=00:00:24.06 bitrate=N/A speed=2.36x   
[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f7.ts' for writing


[q] command received. Exiting.

[hls @ 0x558501e4cd40] Opening '/config/transcodes/4070034f5eab015dc43bb93b0398e46f8.ts' for writing
frame=  605 fps= 56 q=-0.0 Lsize=N/A time=00:00:25.23 bitrate=N/A speed=2.34x   
video:43225kB audio:398kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown



RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-03

Which model Shield? And what kind of HDR is this? HDR10? HLG? Doesn't look like Dolby Vision. Can you share the main jellyfin log? It has the transcode reason. Also, can you turn on debug logging? That will also include the compatibility profile reported by the client.


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-03

I had Jellyfin 10.18.13 installed on my Openmediavault server (7.1.1-1 "Sandworm"), and Jellyfin for Android TV (don't know the version number, just that it was the previous) installed on my Nvidia Shield TV (2019).
This worked fine with all my content (transcoding disabled as not needed).
On updating the App to the current version (0.16.11) I got the notification to update the Jellyfin server to 10.19.0 before the next App update, which I did (first 10.19.3).
Now the App is unable to correctly play my Dolby Vision content (DV is not displayed on my TV and colour is all wrong). The files even have HDR10 fallback that is also not detected. The files all worked before the updates.
I have since updated to 10.19.4, and still the same issue.
The files all play fine via Kodi v21.0 when Kodi accesses the OMV server.
HDR only files are unaffected.
Since seeing your reply DeadPirate, I checked the logs, and now there are now "FFmpeg.Transcode" logs that were not there before.
I now cannot find the setting I had originally set to disable transcoding.


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-03

Update...
Found the settings (forgot they were under users).
For some reason, updating JF to 10.19 re-enable transcode settings for all users.
Deselected the "Allow transcoding" options. Now the files will not play at all, and I get an error that it cannot play the file, but no log.


RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-03

Can one of you submit a github issue here?

https://github.com/jellyfin/jellyfin-androidtv/issues?q=is%3Aissue+hdr+is%3Aopen

It sounds like the compatibility profile the client is sending to the server has changed. Something it should be able to play is now being reported as incompatible, triggering a transcode.

One thing I would ask that you do is enable debug logging on the SERVER. One of the logs produced when debugging is enabled is the compatibility profile reported by the client.


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-03

How do I create the logging.json file required to activate debugging within OMV7 please?


RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-03

In the container path /config/config is where you would create the logging.json file. Wherever that translates to for the host path.


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-03

Sorry, I am a newbie to the whole NAS/Server thing.
I have built a few PCs in my time, and due to an issue with my routers so called USB3 port being limited to USB2 speeds, decided to try building this with hardware leftover from PC upgrades.
How do I create the config file within Docker Compose?


RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-04

In your docker compose, you defined where on your host system the container writes for /config, right? On the host OS go to that folder, in /config is another config folder. Create logging.json there.


RE: Transcoding to Shield When DirectStream avaiable - bjaurelio - 2024-06-04

(2024-06-03, 03:18 AM)TheDreadPirate Wrote: Which model Shield?  And what kind of HDR is this?  HDR10?  HLG?  Doesn't look like Dolby Vision.  Can you share the main jellyfin log?  It has the transcode reason.  Also, can you turn on debug logging?  That will also include the compatibility profile reported by the client.

I'm using the Shield Pro. This movie is HDR10. The main log does not seem to have a transcode reason. How do I enable debug logging? I'm running Jellyfin in a docker container on my unraid server. The relevant portion of the main log for playback of one of the movies I tried last night is pasted below. 

I did find that after restarting the Shield, some movies were properly playing with HDR or DV, but a few were still transcoding to SDR. The movies that were properly playing after the restart did not have entries in the main log, which I assume means they were being directly played.

Code:
[2024-06-02 22:12:32.018 -05:00] [INF] [101] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "bjaurelio". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-06-02 22:12:32.042 -05:00] [INF] [101] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "bjaurelio". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-06-02 22:12:42.119 -05:00] [INF] [105] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.11" playing "Interstellar". Stopped at "8844" ms
[2024-06-02 22:12:52.579 -05:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "bjaurelio". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-06-02 22:12:52.611 -05:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "bjaurelio". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-06-02 22:12:52.878 -05:00] [INF] [105] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:\"/Videos/4K Movies/Iron Man (2008).mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -b:v 13795128 -maxrate 13795128 -bufsize 27590256 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,procamp_vaapi=b=0:c=1,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv\" -codec:a:0 libfdk_aac -ac 6 -ab 128000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/config/transcodes/bf7e8dd7c4c2b843c042877121a51db2%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/transcodes/bf7e8dd7c4c2b843c042877121a51db2.m3u8\""
[2024-06-02 22:13:05.916 -05:00] [INF] [105] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/config/transcodes/bf7e8dd7c4c2b843c042877121a51db2.m3u8"
[2024-06-02 22:13:06.369 -05:00] [INF] [105] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-06-02 22:13:06.369 -05:00] [INF] [105] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/config/transcodes/bf7e8dd7c4c2b843c042877121a51db2.m3u8"
[2024-06-02 22:13:07.887 -05:00] [INF] [142] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.11" playing "Iron Man". Stopped at "5490" ms
[2024-06-02 22:13:30.742 -05:00] [INF] [43] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "bjaurelio". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-06-02 22:13:30.767 -05:00] [INF] [43] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "bjaurelio". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-06-02 22:13:48.513 -05:00] [INF] [142] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.11" playing "Avengers: Endgame". Stopped at "16462" ms