Hello, I am not sure if this is the best forum for this question, but I would like to ask for tips and suggestions on using the ROI feature in the 01_video_encode sample application on the Jetson AGX Xavier.
I am encoding a 1920x1080 video as follows:
./video_encode traffic.yuv 1920 1080 H264 out.h264 --input-metadata --eroi -roi roi.txt -br 1000000
And the format of the roi.txt file is:
1 -5 0 0 256 256
…repeated for N frames…
From what I understand, a negative Qpdelta should improve the quality inside the ROI. I can see that the ROI setting is having some effect, but at -5 it is a subtle improvement. Reducing it further does show a nice improvement in the stationary parts of the video within the ROI, but in areas with motion there are a lot of bothersome artifacts.
I don’t have a lot of experience with all these encoder settings, so do I need to adjust some other properties in order to get good results with the ROI?