-
Notifications
You must be signed in to change notification settings - Fork 88
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
High cpu usage? #7
Comments
Those numbers do look high. On my laptop with 4 cores 640x480 uses about 25% of cpu, and for 1024x768 43%. If you are using /html try to disable webgl with |
This evening, I booted the machine, added -nowebgl to the above command, and opened the url in Chrome. htop showed about 87% CPU, maybe due to a lot of reflected evening sunshine in the frame? So, I removed that option and added -delay 20 Now, htop shows about 74% CPU, seems stable there for 10 minutes or so. I'll see what the occasional animal moving in frame looks like, maybe adjust -delay, and can try something else, if you want. It's not too big a deal. Thanks. |
You can now try with |
Hi. I've used this software for a while and it does a nice job with my cheap logitech C270 webcam, thanks. However, cpu usage for cam2ip is always at the top.
This looks to be spread pretty evenly across the 4 cores, according to htop. A bit earlier this a.m., CPU was more like 75%, maybe due to lower light levels? I am viewing the stream in Chrome at fullscreen, typically, and it's been running well for about 4 days, this session. That's much better than when I was using vlc to view the v4l2 device, which would crash frequently, requiring re-starts/re-plugs of the usb cable. Kudos!
Following are some bits on the hardware and the command I use to start cam2ip. I wonder if you have any thoughts? Thanks.
The text was updated successfully, but these errors were encountered: