Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

StereoMode not being set #194

Open
mike-a-fischer opened this issue Jan 29, 2021 · 1 comment
Open

StereoMode not being set #194

mike-a-fischer opened this issue Jan 29, 2021 · 1 comment

Comments

@mike-a-fischer
Copy link

I am trying to configure a CM4 with two cameras to operate in side-by-side stereomode. I saw the note that stereomode is untested. I was able to set the MMALCameraConfig.StereoMode to be MMAL_STEREOSCOPIC_MODE_T.MMAL_STEREOSCOPIC_MODE_SIDE_BY_SIDE but the video is not recording stereo.

@techyian
Copy link
Owner

Without access to the hardware in question, it's very difficult for me to implement and test the code required to get this working for you. I would be happy to accept a PR if you can implement this yourself. The notes clearly state that MMALSharp currently supports just 1 camera module, and therefore stereo mode will not work. The code was simply added for consistency with Raspistill/vid. I suspect the library will need to parse all available cameras and build MMAL pipelines for each in order for this to work, unless MMAL is clever enough to send frames containing data from both cameras using just a single pipeline.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants