• Zhao Zhili's avatar
    avfilter: add scale_vt for videotoolbox pix_fmt · c2c96c4c
    Zhao Zhili authored
    
    
    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: default avatarZhao Zhili <zhilizhao@tencent.com>
    c2c96c4c
To find the state of this project's repository at the time of any of these versions, check out the tags.