But that takes a lot of CPU. And I have to run three such pipelines. Any other way around to capture frames from gstreamer appsink but not pushing stuff on CPU ?
Instead of using custom video sink, why not using the those sinks provided by Nvidia, I also notice that CPU is couple times high than “NVMM” memory based method, but even we pass the video data to GPU, we still need CPU cycles to finish this if use non-NVMM memory, unless finding a way to connect Nvida’s omx based decoder with your custom GPU buffer.
For high CPU loading, would you please describe your detailed pipeline? From your code, it seems that openCV is called. that may cause high cpu loading.
‘nvvidconv’ is hardware-accelerated and it will not eat CPU too much.
@jachen seems quite an old post but building on the same progress, what is the workaround if one is using opencv?
I used filesink into a /dev/stdout and read from it as numpy, it reduces cpu usage, but its also slow!
This is my pipeline for VideoCapture :
Hello, saransh661:
Please initialize a new thread in proper board for your question.
You can try deep-stream in recent SDK, and it may get better performance.