2023-10-30, 11:16 PM
(This post was last modified: 2023-10-31, 12:41 AM by TheDreadPirate. Edited 2 times in total.)
Got it working.
Tone mapping is handled with these parameters in the video filters section.
zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p
I have not tested if the scaler can be before the tone mapping (fewer pixels to tone map?).
Tone mapping is handled with these parameters in the video filters section.
zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p
I have not tested if the scaler can be before the tone mapping (fewer pixels to tone map?).
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg
-init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915
-init_hw_device qsv=qs@va
-filter_hw_device qs
-hwaccel qsv
-hwaccel_output_format qsv
-i 'Dungeons and Dragons - Honor Among Thieves.mkv'
-map 0:v
-map 0:a
-map 0:s
-map_chapters 0
-c:v hevc_qsv
-preset slower
-profile:v main
-pix_fmt nv12
-c:a copy
-c:s copy
-ss 0.000000
-to 8048.160000
-global_quality:v 18
-vf zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p,scale_qsv=w=1920:h=-1
'Dungeons and Dragons - Honor Among Thieves-chapter-0-15.mkv'