0

While trying this command:

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

I get this error:

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

Any ideas? Thanks!

Ahresse
  • 497
  • 4
  • 17
Sophie
  • 3
  • 5

1 Answers1

0

Your roi.txt file must be incomplete and inadequate to the specified size.

About the roi.txt file:

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

Here is a link to the source code giving the error: [ https://github.com/ultravideo/kvazaar/blob/f8c5bb18a4604175f20dea673d14ca66257ac0c0/src/cfg.c#L1103 ]

Ahresse
  • 497
  • 4
  • 17