Skip to content

Problem with running CPP samples #34

Open
@mhcybo

Description

@mhcybo

I am trying cpp samples of Linux-tiscamera-Programming-Samples repository and and have different types of errors.
Specifically for /cpp/Save an image using OpenCV/ project, after making and running I get these errors:

ERROR tcam-libtcam V4l2Device.cpp:306:release_buffers: Error while calling VIDIOC_REQBUFS to empty buffer queue. Device or resource busy
ERROR tcam-libtcam V4l2Device.cpp:114:set_video_format: Error while calling VIDIOC_REQBUFS to empty buffer queue. Device or resource busy
ERROR tcam-libtcam V4l2Device.cpp:146:set_video_format: Error while setting format 'Device or resource busy'
ERROR tcammainsrc gsttcammainsrc.cpp:351:gst_tcam_mainsrc_set_caps: Unable to set format in device

I am using a DFK 33UX183 camera and with a Nvidia Jetson (with Ubuntu and Jetpack) system.
I can access to camera frames using gst-launch-1.0 tcamsrc... command in the terminal, but in those cpp codes it's not working.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions