Hi,
I’m trying to paint some circles in the image with opencv.
I get the stream with gstreamer and I try to process the image with opencv with the next one:
When I try to make something like this, I see how the video slows down and accumulate a lot of delay, I think the reason is the computing cost to transform the cuda mat to opencv mat, because if I remove that, the video works fine.
Anyone knows any solution to that?
Sorry for the delay in respondering, but I can’t work with that before.
I tried putting the nvpmodel-m0 and sudo jetson_clocks but I get the same results.
On the other hand, I have checked how many frames I get by second and I see that I have ~36 so I should see the video well and smooth, but I keep seeing how the video is continuously slow down and accumulating delay.
Maybe the problem is in the pipelines? I’m feel very lost with that problem.
Hi,
If your source is a video file, you may try this simple code:
It is RTSP source. For video file source, it should work by replace rtspsrc ! rtph264depay with filesrc. You may check if you observe the same accumulation in running it.