I’m working on a program that is migrating from OpenCV to Gstreamer, currently I have the pipeline and the frames obtained from a RTSP stream in Gstreamer. This frames are displayed in a loop on a window using OpenCV and I’m working in C++ on Windows.
My question is the following, which is the best approach to obtain the number of processed frames via Gstreamer or the rate at which Gstreamer is sending this info? How can I get that value and store it in a local variable?