Skip to content

Cannot init device:/dev/video1 #346

@lyd107

Description

@lyd107

Describe the bug
A clear and concise description of what the bug is.

I have met this error when I run the shell code, I successfully compiled.

neardi@LPA3588:~/v4l2rtspserver$ ./v4l2rtspserver -H 480 -W 640 -F 30 -P 8554 /dev/video1
log level:500

[NOTICE] (main.cpp:249)                	Version: 0.3.11-4-g410c0d4-dirty live555 version:2024.08.01
[NOTICE] (V4l2RTSPServer.cpp:37)       	Create V4L2 Source.../dev/video1--driver--:rkcif

[ERROR]  (V4l2Device.cpp:146)          	Mandatory capability not available for device:/dev/video1
VIDIOC_STREAMOFF: Bad file descriptor
VIDIOC_REQBUFS: Bad file descriptor
[ERROR]  (V4l2Device.cpp:83)           	Cannot init device:/dev/video1

camera info : AHD camera
pc info : RK3588

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