Код: Выделить всё
...
// in_pipeline is a std::string instance loaded from a YAML config
cv::VideoCapture cap(in_pipeline, cv::CAP_GSTREAMER); //
Подробнее здесь: [url]https://stackoverflow.com/questions/79675214/opencv-gstreamer-fail-to-capture-rtsp-video-using-mmpvideodec-on-radxa-zero-3w[/url]
Мобильная версия