videoio_registry_getBackendName
import { videoio_registry_getBackendName } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSapi
FUNCTIONvideoio_registry_getBackendName
RETURN TYPEstring
This section contains API description how to query/configure available Video I/O backends.
Runtime configuration options:
- enable debug mode:
OPENCV_VIDEOIO_DEBUG=1 - change backend priority:
OPENCV_VIDEOIO_PRIORITY_<backend>=9999 - disable backend:
OPENCV_VIDEOIO_PRIORITY_<backend>=0 - specify list of backends with high priority (>100000):
OPENCV_VIDEOIO_PRIORITY_LIST=FFMPEG,GSTREAMER
Returns backend API name or "UnknownVideoAPI(xxx)"
videoio_registry_getBackendName(api: number): string;apibackend ID (#VideoCaptureAPIs)
Returns
The string result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.