@CrystalCowboy: You said here
that you're able to stream 640x360 with CPU @1%
What is the delay in the received stream?
Lol this is hard to believe... Am I missing something here?
OS is Arch 3.1.9-20-ARCH+ #1 PREEMPT
The RPi is on the same 10/100/1000 LAN with my desktop, where I am viewing the page in my Firefox browser.
Camera is Logitech C310, plugged into a powered USB hub (which seems to be necessary for this camera).
Relevant line from html file is:
(It is otherwise a small and uncomplicated HTML file)
relevant mjpg-streamer settings:
MJPEG format (the default)
-f 2 (Note the low frame rate.)
But think about it, all it does is take the MJPEG images from the camera, and serves them to the web. It doesn't have to examine or understand or reformat the contents of the image. %CPU reported is 1.0 - 1.3%.
Code: Select all
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1380 root 20 0 39732 2244 1900 S 1.0 1.0 0:06.36 mjpg_streamer
The lag is maybe ~ 3 seconds.
I think the lag can be cut by increasing
the frame rate. I just tried increasing the frame rate to 5 fps. Lag looks to be ~ 1 second, and CPU usage is about 3.0%.
Due to details of my application which I won't go into, I want to keep the frame rate fairly low.