### Pre Vulkan /home/hts/scrips/ffmpeg -y -fflags +genpts-fastseek \ -threads 1 -loglevel verbose -nostdin -hide_banner \ -init_hw_device cuda=cuda -filter_hw_device cuda \ -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 2 \ -vsync 1 -filter_threads 2 -filter_complex_threads 2 \ -reinit_filter 1 -probesize 550000 -refs 6 -f mpegts \ -i $INPUT \ -filter_complex \ "[0:v:0]yadif_cuda,hwdownload,format=nv12,hwupload_cuda,split=1[s0]; \ [s0]scale_npp=w=1920:h=1080:interp_algo=lanczos[v0]" \ -map "[v0]" -c:v:0 hevc_nvenc -preset llhp -tune ull -profile:v main10 \ -map 0:a -c:a libfdk_aac -ac 2 -ar 48000 -b:a 128k \ -f mpegts $OUTPUT ### Vulkan /home/hts/scrips/ffmpeg -y -fflags +genpts-fastseek \ -threads 1 -loglevel verbose -nostdin -hide_banner \ -init_hw_device cuda=cuda -filter_hw_device cuda \ -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 2 \ -vsync 1 -filter_threads 2 -filter_complex_threads 2 \ -reinit_filter 1 -probesize 550000 -refs 6 -f mpegts \ -i $INPUT -filter_complex \ "[0:v]hwupload=derive_device=vulkan,split=1[s0]; \ [s0]scale_vulkan=w=1920:h=1080:scaler=0,hwupload=derive_device=cuda[v0]" \ -map "[v0]" -c:v:0 hevc_nvenc -preset llhp -tune ull -profile:v main10 \ -map 0:a -c:a libfdk_aac -ac 2 -ar 48000 -b:a 128k \ -f mpegts $OUTPUT