-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Support monochrome cameras #170
Comments
Fixes pikvm#170 Monochrome cameras send only Y component of YUV image
Interesting. Btw can this camera generate mjpeg independently? Please show me |
No, it can't. That's basically only reason why I am asking for this.
uvcdynctrl basically does same thing, output just slightly different
Point is that I have this laying around and it has global shutter and no IR filter.
In its current state no, I just reused YUYV decoder and write luma in R, G and B channels so it still produces 24-bit data. I am okay with this but since JPEG can work with 8-bit images natively I think that should be more effective in terms of throughput and performance.
Yes, that's why I didn't do any modifications other than adding image processor. I am not familiar with project and how things work so if you have suggestion on appropriate solution for this it'd be great. |
Got it. I like the idea of adding this, but I have to think about how to do it right. |
I have this monochrome camera: http://withrobot.com/en/camera/ocam-1mgn-u
It is quite unusual in a sense that it doesn't provide color image formats supported by ustreamer (YUYV, UYVY, RGB565, RGB24, JPEG).
Its only output pixelformat is GREY which is 8-bit monochrome image
This fact leads to ustreamer not being able to consume stream from the camera:
$ uvcdynctrl -f
output:The text was updated successfully, but these errors were encountered: