kbingham / libcamera

libcamera - Making complex cameras easy. This is a personal fork, please use the upstream repository at https://git.libcamera.org/libcamera/libcamera.git/
https://libcamera.org
Other
173 stars 69 forks source link

libcamera support for single camera with multiple streams #44

Closed Sajnakn closed 1 year ago

Sajnakn commented 2 years ago

Does libcamerawe have support for single camera source with 4 hardware encoder output? A single device node represents all these four streams. A stream id provided in the ioctl differentiates the streams.

kbingham commented 2 years ago

Can you clarify which hardware you are referencing please?

libcamera does indeed support multiple streams from a camera, but it is dependant upon the configuration of the ISP hardware.

Sajnakn commented 2 years ago

It is SOC Ambrella S3L camera. It has 4 different streams

kbingham commented 2 years ago

Are the streams generated by the ISP or a separate encoding block? libcamera does not impose a restirction on the number of streams a pipeline handler can create or expose for the device - but I suspect it would be very useful to go through the actual architecture design of your pipeline handler.

kbingham commented 2 years ago

Please e-mail me on kieran.bingham@ideasonboard.com - I think there is quite a lot more context required to discuss to determine your requirements.