SVT-HEVC
SVT-HEVC copied to clipboard
Weird output with 4k resolution
libsvthevc is giving weird output in 4k resolution when cropping borders. No issues without crop and downscaled to 1080p resolution with crop.
command used : ffmpegsvt -y -hide_banner -loglevel error -stats -noautorotate -fflags +igndts -i "input.mkv" -map_metadata -1 -map_chapters -1 -map 0:0 -map 0:8 -map 0:9 -vf "crop=3840:1604:0:278" -pix_fmt yuv420p10le -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -g 240 -profile:v main10 -c:v libsvt_hevc -preset 6 -profile 2 -rc 0 -qp 22 -sc_detection 1 -umv 1 -tile_col_cnt 1 -tile_row_cnt 4 -tile_slice_mode 1 -vid_info 1 -la_depth 60 -c:a eac3 -b:a 448k -c:s copy "out.mkv"
Hi @puligclone, I will try to reproduce it tomorrow. The error seems related to tile. Is it necessary to enable tile in your use case? If not, could you try it again without -umv 1 -tile_col_cnt 1 -tile_row_cnt 4 -tile_slice_mode 1?
Hi @puligclone, I will try to reproduce it tomorrow. The error seems related to tile. Is it necessary to enable tile in your use case? If not, could you try it again without
-umv 1 -tile_col_cnt 1 -tile_row_cnt 4 -tile_slice_mode 1?
Tried without these parameters but still giving same wierd output
Thank you @puligclone for reporting the issue.
This issue only shows up for 10bits and resolution is not multiple-of-8.
It can be simplified as ./ffmpeg -y -i "4k_10bits.mp4" -vf "crop=3840:1604:0:278" -pix_fmt yuv420p10le -c:v libsvt_hevc "out_10bits.mkv".
Will work on a fix.
Thanks. Please try to add option to pass these parameters also with ffmpeg version.
-max-cll -max-fall -use-master-display -master-display