Kvazaar 编码器 - 读取 ROI 文件失败

Kvazaar encoder - Reading ROI file failed

尝试此命令时:

kvazaar -i video.yuv --input-res 1280x720 -o video_tiled.hevc --roi roi.txt --slices tiles

我收到这个错误:

Reading ROI file failed.
invalid argument: roi=roi.txt

有什么想法吗? 谢谢!

您的 roi.txt 文件必须不完整且不符合指定大小。

关于 roi.txt 文件:

(...) the first two values are the width and height, followed by width*height delta QP values in raster order.

这里是 link 给出错误的源代码:[ https://github.com/ultravideo/kvazaar/blob/f8c5bb18a4604175f20dea673d14ca66257ac0c0/src/cfg.c#L1103 ]