Skip to content

videoio_registry_getBackendName

videoiofunctionOpenCV 5.0.0
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
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

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;
api

backend 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.