2024-08-28, 06:55 PM
(This post was last modified: 2024-08-28, 07:47 PM by RxBrad. Edited 1 time in total.)
I don't seem to be able to play transcoded Dolby Vision files on my Nvidia Shield. Direct Play DoVi works great, as does HDR10 Direct & Transcoded.
But for whatever reason, Transcoded Dolby Vision comes through as a 1-2 frames/sec slideshow (even though the Jellyfin logs show it transcoding at greater than 1X speed).
EDIT: I checked this same video on a CCwGTV 4K, and it transcoded just fine. Cleared data on the Android TV Jellyfin client on both the Chromecast & Shield so I was working with a clean slate. The Nvidia Shield TV Pro 2019 continued to be unable to play transcoded DoVi, while the Chromecast played it just fine.
Example Problem File:
Log:
But for whatever reason, Transcoded Dolby Vision comes through as a 1-2 frames/sec slideshow (even though the Jellyfin logs show it transcoding at greater than 1X speed).
EDIT: I checked this same video on a CCwGTV 4K, and it transcoded just fine. Cleared data on the Android TV Jellyfin client on both the Chromecast & Shield so I was working with a clean slate. The Nvidia Shield TV Pro 2019 continued to be unable to play transcoded DoVi, while the Chromecast played it just fine.
Example Problem File:
Log:
Code:
{"Protocol":0,"Id":"df81c17766f2174612d7f40c840db2f8","Path":"/mnt/Movies/Ant-Man (2015)/Ant-Man (2015) x265 10bit EAC3 7.1 DV HDR10 Bluray-2160p.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":14751826810,"Name":"Ant-Man (2015) x265 10bit EAC3 7.1 DV HDR10 Bluray-2160p","IsRemote":false,"ETag":"1bfb84771c9cd61edbb25bd656b1a929","RunTimeTicks":70263680000,"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":"hvc1","Language":"und","ColorRange":null,"ColorSpace":"bt2020nc","ColorTransfer":"smpte2084","ColorPrimaries":"bt2020","DvVersionMajor":1,"DvVersionMinor":0,"DvProfile":8,"DvLevel":6,"RpuPresentFlag":1,"ElPresentFlag":0,"BlPresentFlag":1,"DvBlSignalCompatibilityId":6,"Comment":null,"TimeBase":"1/23976","CodecTimeBase":null,"Title":null,"VideoRange":2,"VideoRangeType":5,"VideoDoViTitle":"DV Profile 8.6","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":16025457,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":2076,"Width":3840,"AverageFrameRate":23.976,"RealFrameRate":23.976,"Profile":"Main 10","Type":1,"AspectRatio":"1.85:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":153,"IsAnamorphic":false},{"Codec":"eac3","CodecTag":"ec-3","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/48000","CodecTimeBase":null,"Title":"E-AC-3 7.1","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"E-AC-3 7.1 - English - Dolby Digital\u002B - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"7.1","BitRate":768000,"BitDepth":null,"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}],"MediaAttachments":[],"Formats":[],"Bitrate":16795962,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:11:24.000 -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:"/mnt/Movies/Ant-Man (2015)/Ant-Man (2015) x265 10bit EAC3 7.1 DV HDR10 Bluray-2160p.mp4" -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 -async_depth 1 -preset veryfast -b:v 6732000 -maxrate 6732000 -bufsize 13464000 -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,scale_vaapi=w=1920:h=1038:extra_hw_frames=24,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv" -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 228 -hls_segment_filename "/cache/transcoding/3c214d75f5076e119dc8dee826ce119a%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcoding/3c214d75f5076e119dc8dee826ce119a.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-libxml2 --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.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/mnt/Movies/Ant-Man (2015)/Ant-Man (2015) x265 10bit EAC3 7.1 DV HDR10 Bluray-2160p.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2023-04-14T00:20:12.000000Z
encoder : GPAC-2.3-DEV-rev119-g33f36c8a6-master
Duration: 01:57:06.37, start: 0.000000, bitrate: 16795 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 128.502000
Metadata:
title : The Pym Particle
Chapter #0:1: start 128.502000, end 519.852000
Metadata:
title : Scott Released From Prison
Chapter #0:2: start 519.852000, end 924.507000
Metadata:
title : Tales To Astonish
Chapter #0:3: start 924.507000, end 1199.407000
Metadata:
title : Be The Person She Already Thinks You Are
Chapter #0:4: start 1199.407000, end 1669.877000
Metadata:
title : The Vault
Chapter #0:5: start 1669.877000, end 1986.902000
Metadata:
title : Trial By Water
Chapter #0:6: start 1986.902000, end 2333.623000
Metadata:
title : A Second Chance
Chapter #0:7: start 2333.623000, end 2676.132000
Metadata:
title : Sugar?
Chapter #0:8: start 2676.132000, end 2962.126000
Metadata:
title : Become The Hero
Chapter #0:9: start 2962.126000, end 3463.919000
Metadata:
title : Meeting The Team
Chapter #0:10: start 3463.919000, end 3648.478000
Metadata:
title : Revisiting The Past
Chapter #0:11: start 3648.478000, end 3991.196000
Metadata:
title : Hi, I'm Scott
Chapter #0:12: start 3991.196000, end 5000.954000
Metadata:
title : In The System
Chapter #0:13: start 5000.954000, end 5660.196000
Metadata:
title : Disintegration
Chapter #0:14: start 5660.196000, end 6453.906000
Metadata:
title : End Of The Line
Chapter #0:15: start 6453.906000, end 7026.368000
Metadata:
title : Epilogue
Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2076, 16025 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn (default)
Metadata:
creation_time : 2023-03-22T17:56:49.000000Z
vendor_id : [0][0][0][0]
Side data:
DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 6
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
Content Light Level Metadata, MaxCLL=577, MaxFALL=512
Stream #0:1[0x2](eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 7.1, fltp, 768 kb/s (default)
Metadata:
creation_time : 2023-04-14T00:22:33.000000Z
handler_name : E-AC-3 7.1
vendor_id : [0][0][0][0]
Side data:
audio service type: main
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_qsv))
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
Output #0, hls, to '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a.m3u8':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: hevc (hvc1 / 0x31637668), qsv(tv, bt709, progressive), 1920x1038, q=2-31, 6732 kb/s, 23.98 fps, 90k tbn (default)
Metadata:
encoder : Lavc60.3.100 hevc_qsv
Side data:
cpb: bitrate max/min/avg: 6732000/0/6732000 buffer size: 13464000 vbv_delay: N/A
DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 6
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
Content Light Level Metadata, MaxCLL=577, MaxFALL=512
Stream #0:1: Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 7.1, fltp, 768 kb/s (default)
Side data:
audio service type: main
frame= 0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
frame= 17 fps=0.0 q=-0.0 size=N/A time=00:00:00.89 bitrate=N/A speed=1.21x
frame= 36 fps= 29 q=-0.0 size=N/A time=00:00:01.82 bitrate=N/A speed=1.47x
frame= 55 fps= 31 q=-0.0 size=N/A time=00:00:02.27 bitrate=N/A speed= 1.3x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a228.ts' for writing
frame= 74 fps= 33 q=-0.0 size=N/A time=00:00:03.20 bitrate=N/A speed=1.42x
frame= 94 fps= 34 q=-0.0 size=N/A time=00:00:04.12 bitrate=N/A speed=1.49x
frame= 113 fps= 34 q=-0.0 size=N/A time=00:00:05.02 bitrate=N/A speed=1.53x
frame= 131 fps= 35 q=-0.0 size=N/A time=00:00:05.50 bitrate=N/A speed=1.45x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a229.ts' for writing
frame= 151 fps= 35 q=-0.0 size=N/A time=00:00:06.40 bitrate=N/A speed=1.49x
frame= 169 fps= 35 q=-0.0 size=N/A time=00:00:07.32 bitrate=N/A speed=1.53x
frame= 188 fps= 35 q=-0.0 size=N/A time=00:00:07.77 bitrate=N/A speed=1.47x
frame= 207 fps= 36 q=-0.0 size=N/A time=00:00:08.70 bitrate=N/A speed= 1.5x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a230.ts' for writing
frame= 227 fps= 36 q=-0.0 size=N/A time=00:00:09.63 bitrate=N/A speed=1.53x
frame= 248 fps= 36 q=-0.0 size=N/A time=00:00:10.52 bitrate=N/A speed=1.54x
frame= 269 fps= 37 q=-0.0 size=N/A time=00:00:11.45 bitrate=N/A speed=1.56x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a231.ts' for writing
frame= 290 fps= 37 q=-0.0 size=N/A time=00:00:12.38 bitrate=N/A speed=1.57x
frame= 311 fps= 37 q=-0.0 size=N/A time=00:00:13.28 bitrate=N/A speed=1.59x
frame= 332 fps= 37 q=-0.0 size=N/A time=00:00:13.79 bitrate=N/A speed=1.55x
frame= 353 fps= 38 q=-0.0 size=N/A time=00:00:14.65 bitrate=N/A speed=1.56x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a232.ts' for writing
frame= 374 fps= 38 q=-0.0 size=N/A time=00:00:15.58 bitrate=N/A speed=1.57x
frame= 395 fps= 38 q=-0.0 size=N/A time=00:00:16.51 bitrate=N/A speed=1.59x
frame= 415 fps= 38 q=-0.0 size=N/A time=00:00:17.40 bitrate=N/A speed=1.59x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a233.ts' for writing
frame= 435 fps= 38 q=-0.0 size=N/A time=00:00:18.33 bitrate=N/A speed= 1.6x
frame= 455 fps= 38 q=-0.0 size=N/A time=00:00:19.26 bitrate=N/A speed=1.61x
frame= 476 fps= 38 q=-0.0 size=N/A time=00:00:20.19 bitrate=N/A speed=1.62x
frame= 495 fps= 38 q=-0.0 size=N/A time=00:00:20.64 bitrate=N/A speed=1.59x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a234.ts' for writing
frame= 514 fps= 38 q=-0.0 size=N/A time=00:00:21.56 bitrate=N/A speed= 1.6x
frame= 534 fps= 38 q=-0.0 size=N/A time=00:00:22.46 bitrate=N/A speed= 1.6x
frame= 553 fps= 38 q=-0.0 size=N/A time=00:00:23.39 bitrate=N/A speed=1.61x
frame= 573 fps= 38 q=-0.0 size=N/A time=00:00:23.87 bitrate=N/A speed=1.59x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a235.ts' for writing
frame= 594 fps= 38 q=-0.0 size=N/A time=00:00:24.76 bitrate=N/A speed=1.59x
frame= 614 fps= 38 q=-0.0 size=N/A time=00:00:25.69 bitrate=N/A speed= 1.6x
frame= 633 fps= 38 q=-0.0 size=N/A time=00:00:26.59 bitrate=N/A speed= 1.6x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a236.ts' for writing
frame= 657 fps= 38 q=-0.0 size=N/A time=00:00:27.52 bitrate=N/A speed=1.61x
frame= 684 fps= 39 q=-0.0 size=N/A time=00:00:28.48 bitrate=N/A speed=1.61x
frame= 711 fps= 39 q=-0.0 size=N/A time=00:00:29.82 bitrate=N/A speed=1.64x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a237.ts' for writing
frame= 737 fps= 39 q=-0.0 size=N/A time=00:00:30.72 bitrate=N/A speed=1.64x
frame= 761 fps= 40 q=-0.0 size=N/A time=00:00:31.68 bitrate=N/A speed=1.65x
frame= 786 fps= 40 q=-0.0 size=N/A time=00:00:33.02 bitrate=N/A speed=1.68x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a238.ts' for writing
frame= 811 fps= 40 q=-0.0 size=N/A time=00:00:33.95 bitrate=N/A speed=1.68x
frame= 837 fps= 40 q=-0.0 size=N/A time=00:00:34.84 bitrate=N/A speed=1.68x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a239.ts' for writing
frame= 865 fps= 41 q=-0.0 size=N/A time=00:00:36.22 bitrate=N/A speed=1.71x
frame= 893 fps= 41 q=-0.0 size=N/A time=00:00:37.60 bitrate=N/A speed=1.73x
frame= 922 fps= 41 q=-0.0 size=N/A time=00:00:38.52 bitrate=N/A speed=1.73x
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a240.ts' for writing
frame= 950 fps= 42 q=-0.0 size=N/A time=00:00:39.90 bitrate=N/A speed=1.75x
[q] command received. Exiting.
[hls @ 0x55db257de440] Opening '/cache/transcoding/3c214d75f5076e119dc8dee826ce119a241.ts' for writing
frame= 973 fps= 42 q=-0.0 Lsize=N/A time=00:00:40.35 bitrate=N/A speed=1.75x
video:33929kB audio:3993kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown