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

MJPEG is slow, suggest YUYV in docs/config #282

Open
strayr opened this issue Dec 14, 2024 · 1 comment
Open

MJPEG is slow, suggest YUYV in docs/config #282

strayr opened this issue Dec 14, 2024 · 1 comment
Labels
feature request feature request

Comments

@strayr
Copy link

strayr commented Dec 14, 2024

Is your feature request related to a problem? Please describe

Some webcams are painful slow, crowsnest is brilliant for pi cam and on raspberry pi hardware. On other platforms with generic USB webcams, ustreamer in mjpeg mode is just painful. This reddit thread describes the pain https://www.reddit.com/r/klippers/comments/18v8cwh/extremely_low_fps_on_crowsnest_webcam/

I was particularly confused when i moved a webcam from one thin client to another and suddenly it went from a massive framerate to near unusable.

Describe the solution you'd like

Suggest users try

custom_flags: --format=YUYV

if they are experiencing very slow framerates with usb webcams. This could be in the docs, or as a comment in the config file, the latter is more likely to be helpful. Seriously, just something like this will save many users screaming.

#custom_flags: --format=YUYV         # try this if you are experiencing very low framerates with a usb webcam using ustreamer.

Describe alternatives you've considered

Buying a raspberry pi and a pi cam - really expensive, i have usb webcams and thin clients that otherwise work.

Additional information

No response

@strayr strayr added the feature request feature request label Dec 14, 2024
@mryel00
Copy link
Member

mryel00 commented Dec 14, 2024

You are right, I saw that sometimes in our support forum too. I'm currently rewriting some parts of the docs for v5, so I will add this under common problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request
Projects
None yet
Development

No branches or pull requests

2 participants