I am working on getting image from pipline on AGX Orin. I used four elements: nvv4l2camerasrc, nvvidconv, nvegltransform, nveglglessink and I can get some video on widget. I use “probe” way to get image from pipline, but whichever pad I probe, the mapinfo.size is 64.
Am I do something wrong? Please tell me , thanks.
Thank you for your reply. I found a solution in other posts. The pointer of mapinfo.data is no longer pointing to the data directly, but a nvbufsurface. I can get the yuv data from nvbufsurface.surlist.data.
It will be great if you can help me another question:
The emample your colleagues offer shows I can the rgba data by transfroming the yuv nvbufsurface.
But the process of transformimg a nvbufsurface to another cost a lot time, even though using GPU.
Can that be little faster?
The attachment is the code I use. May that be helpful. nv_probe.txt (4.5 KB)