Skip to content

libv4l2: error getting capabilities: Inappropriate ioctl for device #77

@shivSD

Description

@shivSD

I know this issue is related to opencv configuration while building. this is happening only on darknet/yolo. Highly appreciate if you can share the opencv configuration (cmake command and output)

Failed to query video capabilities: Inappropriate ioctl for device
libv4l2: error getting capabilities: Inappropriate ioctl for device
VIDEOIO ERROR: V4L: device ../../ Unable to query number of channels
Couldn't connect to webcam.

I have installed FFMPEG (from source), GStreamer & opencv with LIBV4L = ON.

-- Video I/O:
-- DC1394: YES (ver 2.2.4)
-- FFMPEG: YES
-- avcodec: YES (ver 56.60.100)
-- avformat: YES (ver 56.40.101)
-- avutil: YES (ver 54.31.100)
-- swscale: YES (ver 3.1.101)
-- avresample: YES (ver 2.1.0)
-- GStreamer: YES
-- v4l/v4l2: linux/videodev2.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions