From a11bcf4a08c25ef1ee7bb6738ca899c82f7e72b3 Mon Sep 17 00:00:00 2001 From: Kaur Kuut Date: Sun, 6 Apr 2025 15:49:15 +0300 Subject: [PATCH] Use correct `p010le` pixel format with NVENC. --- video_formats/nvenc_h264-mp4.json | 2 +- video_formats/nvenc_hevc-mp4.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/video_formats/nvenc_h264-mp4.json b/video_formats/nvenc_h264-mp4.json index 20d9719..1c39913 100644 --- a/video_formats/nvenc_h264-mp4.json +++ b/video_formats/nvenc_h264-mp4.json @@ -2,7 +2,7 @@ "main_pass": [ "-n", "-c:v", "h264_nvenc", - "-pix_fmt", ["pix_fmt", ["yuv420p", "yuv420p10le"]], + "-pix_fmt", ["pix_fmt", ["yuv420p", "p010le"]], "-vf", "scale=out_color_matrix=bt709", "-color_range", "tv", "-colorspace", "bt709", "-color_primaries", "bt709", "-color_trc", "bt709" ], diff --git a/video_formats/nvenc_hevc-mp4.json b/video_formats/nvenc_hevc-mp4.json index eabb278..2ec6f41 100644 --- a/video_formats/nvenc_hevc-mp4.json +++ b/video_formats/nvenc_hevc-mp4.json @@ -3,7 +3,7 @@ [ "-n", "-c:v", "hevc_nvenc", "-vtag", "hvc1", - "-pix_fmt", ["pix_fmt", ["yuv420p", "yuv420p10le"]], + "-pix_fmt", ["pix_fmt", ["yuv420p", "p010le"]], "-vf", "scale=out_color_matrix=bt709", "-color_range", "tv", "-colorspace", "bt709", "-color_primaries", "bt709", "-color_trc", "bt709" ],