Hello,
I tried using the buffer present in NvMediaImageGetBits (pSrcBuff) to display using OpenCV.I am getting only a small portion of the output and not the entire image. I get the following error in Terminal:ERROR: _SaveThreadFunc: convRawToRgba failed for image 1 in saveThread 0
I think this stops the image from entirely getting processed. But since it is given as image 1 , I was assuming that atleast one entire frame would be displayed.
Kindly let me know how I can get the live feed using OpenCV in save.c
Thanks
In general, this kind of issue is due to incorrect format. Is that partial image in OpenCV mat has correct color?
Could you share your code to us? What kind of input format is your NvMediaImage?
HI, I seem to be getting an image. But is it possible to display an aggregate of 4 displays using opencv?(like how it is done in NvMedia)
Could you share more detail about “aggregate of 4 displays”? Do you mean 4 camera in one frame? I think it is done through the aggregator but not sw.
Hi , I was able to get it to display. I am facing some delay in the display.There is a delay of a second in the live feed . What would you suggest to do?
I am not sure what did you mean “a delay of a second in the live feed”. Could you describe your usecase? If this is not a problem related to original one, please file a new topic for it. Thanks.
Hi WayneWWW,
Could you kindly help me to solve this problem?
https://devtalk.nvidia.com/default/topic/1038495/segmentation-fault-when-nvmediaimagegetbits/#5277432