mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-18 14:54:19 +08:00
avfilter: add scale_vt for videotoolbox pix_fmt
For example, ./ffmpeg -hwaccel videotoolbox \ -hwaccel_output_format videotoolbox_vld \ -i ios-265.mov \ -c:v hevc_videotoolbox \ -profile:v main \ -b:v 3M \ -vf scale_vt=w=iw/2:h=ih/2:color_matrix=bt709:color_primaries=bt709:color_transfer=bt709 \ -c:a copy \ -tag:v hvc1 \ /tmp/test.mp4 Input: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 3840x2160 Output: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709, progressive), 1920x1080 Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
@@ -427,6 +427,7 @@ extern const AVFilter ff_vf_scale_cuda;
|
||||
extern const AVFilter ff_vf_scale_npp;
|
||||
extern const AVFilter ff_vf_scale_qsv;
|
||||
extern const AVFilter ff_vf_scale_vaapi;
|
||||
extern const AVFilter ff_vf_scale_vt;
|
||||
extern const AVFilter ff_vf_scale_vulkan;
|
||||
extern const AVFilter ff_vf_scale2ref;
|
||||
extern const AVFilter ff_vf_scale2ref_npp;
|
||||
|
Reference in New Issue
Block a user