I have been trying to crop input frames before encoding them. The current pipeline I've build consists of decode -> VPP -> encode. According to the developpers guide, I understand that this is possible with such values:
VPP Input VPP output
W,H X,Y,W,H W,H X,Y,W,H
Cropping 720x480 16,16,688,448 720x480 16,16,688,448
In my case, I tried this set of values.
However, I get an error MFX_ERR_INCOMPATIBLE_VIDEO_PARAM -14.
I did try other combinations without sucess. Can anyone confirm that's the right way to perform cropping operations? If not, is there a better way to do it?