I would like to jump frame to pull rtsp network camera stream by cv::VideoCapture using following url.
std::string url = rtspsrc location=rtsp:\** latency=0 ! rtph264depay ! h264parse ! nvv4l2decoder enable-max-performance=1 ! nvvidconv ! video/x-raw,width=1920,height=1080,format=BGRx ! videoconvert ! appsink drop=true sync=false
I found high CPU occupancy by this way, and the reason was “drop=true”. I think all the images from rtsp stream still was pulled all, but they were dropped in buffers of appsink.
Do you have some solutions to reducing CPU occupancy?