-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpicam_still: Add RGB/BGR 48bpp support #599
Conversation
Cannot really merge this until we have RGB161616 support in libcamera. |
coming soon? |
We will try to get it in our next release. It all depends on how and when we can start the driver upstreaming process. You are welcome to try the change out, but note that you will need the latest kernel and build/install libcamera from https://github.com/raspberrypi/libcamera/tree/next. |
Is this format only supported in the Still stream? or also video? Does not work in my testing when used like this:
Hardcoded the format in the configureVideo Method:
|
The RGB48 format is supported in all configurations. It's likely you have not updated your kernel, so the driver does not report support for 48-bpp yet, hence your error. You can either rebuild the kernel yourself, or run |
The existing scripts use Node.js 16 which is deprecated. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
e8108ee
to
23ea179
Compare
Add support for 48-bpp RGB/BGR formats that can be generated by the PiSP. rpicam-still can select this with the "--encoding rgb48" command line option. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Add support for 48-bpp RGB/BGR formats that can be generated by the PiSP. rpicam-still can select this with the "--encoding rgb48" command line option.