I have a transcoder pipeline where connections are made as shown below by updating sample applications provided as part of tegra_multimedia_api(on TX2 L4T 27.1),
<File Read -> NvVideoDecoder -> NvVideoConverter -> NvVideoEncoder -> File Write>
I am trying to overlay custom data on the YUV at converters output and then encode the data. I have verified the overlay by dumping the YUV frames after the overlay logic and it seems fine for all the frames.
However, encoding the same and playing the encoded file shows corruption in the overlaid region.
Any idea why such a behavior could happen?
Is this because the memory allocated by the converter is cached? If so can we invalidate the Cache settings for the buffers?