I ran the above command.
The number of frames in the video is 591.
In test.cfg
1 30 0 0 500 500
… for 50 frames
0 0 0 0 0 0
… for rest of the frame
It was expected that only the first 50 frames would be ROI_encoded.
And from then on, it was expected to be encoded the same as the other parts.
However, when i checked the results, the ROI encoding performed with 1 30 0 0 500 500 remained even after that.
How can i prevent ROI encoding from being preserved?
I did as you said, even after i cleared that code and ran it, the ROI remained.
So, by initializing the QPdelta of the ROI to 0 at the end of test.cfg like 1 0 0 0 500 500, i was able to solve the problem.
Do i have to reset QPdelta to 0 every time to initialize ROI encoding?