Hi,
I have a C++ app which is getting streams from camera module 3 and streaming it over rtsp using opencv and gstreamer.
Here is the issue I have now.
I would love to ditch the opencv and just use gstreamer pipeline with libcamerasrc element to get the stream so I dont have to do the complicated work with frames and use hw encoder on raspberrypi to encode it. But I still want dynamically change the controls of the camera from my program (libcamerasrc doesn't have the controls I want). But the issue is that camera is acquired by gstreamer element and I am unable to send controls to it. I have looked into libcamerasrc element source code but that seems a bit too much for my skill as I dont have a lot of experience with gstreamer.
According the libcamera docs the camera is acquired for the whole time of capturing streams from it. So it seems like I basically have to implement the libcamerasrc myself if i want to control the camera as well, or am I missing something?
I have a C++ app which is getting streams from camera module 3 and streaming it over rtsp using opencv and gstreamer.
Here is the issue I have now.
I would love to ditch the opencv and just use gstreamer pipeline with libcamerasrc element to get the stream so I dont have to do the complicated work with frames and use hw encoder on raspberrypi to encode it. But I still want dynamically change the controls of the camera from my program (libcamerasrc doesn't have the controls I want). But the issue is that camera is acquired by gstreamer element and I am unable to send controls to it. I have looked into libcamerasrc element source code but that seems a bit too much for my skill as I dont have a lot of experience with gstreamer.
According the libcamera docs the camera is acquired for the whole time of capturing streams from it. So it seems like I basically have to implement the libcamerasrc myself if i want to control the camera as well, or am I missing something?
Statistics: Posted by Liffu — Thu Jun 13, 2024 6:38 am