Hi,
I have read all the OMX docs, including the H264 Encoder User Guide and cannot find a solution to this.
Is there a way to get the OMX VENC component to handle changes to the size of the input video frames dyamically?
The input/output port configuration cannot be changed once the component is in an executing state.
Input video is captured at 1080p. So the VENC buffers and input/output ports are configured for 1080p and this works fine. However, the input might then be re-scaled to 720p or D1 by the DEI component. This is given to the VENC component but the video comes out corrupted.
I have tried setting the VENC dynamic params as follows but this does not work:
tDynParams.videoDynamicParams.h264EncDynamicParams.videnc2DynamicParams.inputWidth = 1280;
tDynParams.videoDynamicParams.h264EncDynamicParams.videnc2DynamicParams.inputHeight = 720;
tDynParams.videoDynamicParams.h264EncDynamicParams.videnc2DynamicParams.captureWidth = 1280;
Is there any way to get the VENC to handle size changes? I have access to the overlay code if there are any changes needed in there?
Thanks,
Steven
