Skip to content
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

Problems with a dashboard when using -awb key #48

Open
HaroldSP opened this issue May 27, 2022 · 3 comments
Open

Problems with a dashboard when using -awb key #48

HaroldSP opened this issue May 27, 2022 · 3 comments
Labels
?? - Help Wanted AAAAAAAH help! Extra attention is needed! GH - Evaluation Needed

Comments

@HaroldSP
Copy link

Browser

Chrome

Device

Desktop PC

Operating System

Windows

What happened

Hello!

I have a NOIR raspberry camera, so normally it streams in shades of pink.
To fix that (when you don't need it to stream at night) on a regular Pi OS I use that command with -awb greyworld key:
raspivid -p 0,0,640,480 -fps 30 -t 0 -awb greyworld --fullscreen

So in the webcam.txt file I made that line:
camera_usb_options="-r 640x480 -f 30 -awb greyworld"
And this is the result:
image

At the beginning I thought that the video streams but the window is collapsed, but actually, there is no stream.
Openning in a full screen mode gives a 502 Bad Gateway.

After removing -awb greyworld key, it works fine:
image

I have also tried to use other -awb key options (https://community.octoprint.org/t/available-mjpg-streamer-configuration-options/1106), still the same issue.
So is there any idea how to fix that.

Thank you very much.

What did you expect to happen

I expect to see a regular stream with -awb greyworld key (IR filter).

How to reproduce

Just try to insert -awb key, for example:
camera_usb_options="-r 640x480 -f 30 -awb greyworld"

Additional information

No response

@HaroldSP HaroldSP added GH - Bug Something isn't working GH - Evaluation Needed labels May 27, 2022
@matmen
Copy link
Member

matmen commented May 27, 2022

The awb option isn't supported by the UVC plugin. I assume you're running the raspicam in USB mode? You will need to run it in camera="raspi"-mode for raspicam options to work.

@matmen matmen added !! - Invalid This doesn't seem right and removed GH - Bug Something isn't working labels May 27, 2022
@HaroldSP
Copy link
Author

The awb option isn't supported by the UVC plugin. I assume you're running the raspicam in USB mode? You will need to run it in camera="raspi"-mode for raspicam options to work.

Thanks for your reply.

I did that before, and there was no video feed at all.

It was like this:
camera="raspi"

camera_raspi_options="-r 640x480 -f 30 -awb greyworld"

More than that, it neither works even without -awb key:
camera_raspi_options="-r 640x480 -f 30 -awb greyworld"

So maybe there's a problem in ### Configuration of camera HTTP output section?

@matmen
Copy link
Member

matmen commented May 29, 2022

I see, thanks for your feedback. I can't troubleshoot this (as I don't have a Pi camera), so we will have to wait for someone who has one to chime in ;)

@matmen matmen added ?? - Help Wanted AAAAAAAH help! Extra attention is needed! and removed !! - Invalid This doesn't seem right labels May 29, 2022
@matmen matmen transferred this issue from fluidd-core/fluidd Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
?? - Help Wanted AAAAAAAH help! Extra attention is needed! GH - Evaluation Needed
Projects
None yet
Development

No branches or pull requests

2 participants