This section contains API description how to query/configure available Video I/O backends.
Runtime configuration options:
OPENCV_VIDEOIO_DEBUG=1
OPENCV_VIDEOIO_PRIORITY_<backend>=9999
OPENCV_VIDEOIO_PRIORITY_<backend>=0
OPENCV_VIDEOIO_PRIORITY_LIST=FFMPEG,GSTREAMER
CV_EXPORTS_W cv::String cv::videoio_registry::getBackendName | ( | VideoCaptureAPIs | api | ) |
Returns backend API name or "UnknownVideoAPI(xxx)".
api | backend ID (VideoCaptureAPIs) |
CV_EXPORTS_W std::vector< VideoCaptureAPIs > cv::videoio_registry::getBackends | ( | ) |
Returns list of all available backends.
CV_EXPORTS_W std::string cv::videoio_registry::getCameraBackendPluginVersion | ( | VideoCaptureAPIs | api, |
CV_OUT int & | version_ABI, | ||
CV_OUT int & | version_API | ||
) |
Returns description and ABI/API version of videoio plugin's camera interface.
CV_EXPORTS_W std::vector< VideoCaptureAPIs > cv::videoio_registry::getCameraBackends | ( | ) |
Returns list of available backends which works via cv::VideoCapture(int index)
CV_EXPORTS_W std::string cv::videoio_registry::getStreamBackendPluginVersion | ( | VideoCaptureAPIs | api, |
CV_OUT int & | version_ABI, | ||
CV_OUT int & | version_API | ||
) |
Returns description and ABI/API version of videoio plugin's stream capture interface.
CV_EXPORTS_W std::vector< VideoCaptureAPIs > cv::videoio_registry::getStreamBackends | ( | ) |
Returns list of available backends which works via cv::VideoCapture(filename)
CV_EXPORTS_W std::string cv::videoio_registry::getWriterBackendPluginVersion | ( | VideoCaptureAPIs | api, |
CV_OUT int & | version_ABI, | ||
CV_OUT int & | version_API | ||
) |
Returns description and ABI/API version of videoio plugin's writer interface.
CV_EXPORTS_W std::vector< VideoCaptureAPIs > cv::videoio_registry::getWriterBackends | ( | ) |
Returns list of available backends which works via cv::VideoWriter()
CV_EXPORTS_W bool cv::videoio_registry::hasBackend | ( | VideoCaptureAPIs | api | ) |
Returns true if backend is available.
CV_EXPORTS_W bool cv::videoio_registry::isBackendBuiltIn | ( | VideoCaptureAPIs | api | ) |
Returns true if backend is built in (false if backend is used as plugin)