OctoWrt icon indicating copy to clipboard operation
OctoWrt copied to clipboard

Problem config camera

Open Pepitoo597 opened this issue 1 year ago • 9 comments

Hello I would like to configure my Logitech C160 camera which is compatible with mjpg-streamer but the camera lags so I would like to solve the problem but I don't know which file to go to please

Pepitoo597 avatar Aug 17 '22 20:08 Pepitoo597

Edit fps line inside /etc/config/mjpg-streamer file. Don't go higher than 15fps if you use the box to stream gcode as well. Or experiment with it

ihrapsa avatar Aug 18 '22 04:08 ihrapsa

Ok thank you, after testing my camera still has this latency problem, I think it is better to change the camera. Do you have a camera to recommend to me?

Pepitoo597 avatar Aug 18 '22 09:08 Pepitoo597

Wait, high latency or low framerate? Two different things.

ihrapsa avatar Aug 18 '22 11:08 ihrapsa

I don't really know how to explain it in fact when the printer makes a movement the camera will take a while before seeing the printer move it is not fluid.

Pepitoo597 avatar Aug 18 '22 11:08 Pepitoo597

check the difference between latency and framerate. what framerate did you set inside mjpg-streamer file?

ihrapsa avatar Aug 18 '22 11:08 ihrapsa

I set the framerate to 15

Pepitoo597 avatar Aug 18 '22 13:08 Pepitoo597

do cat /etc/config/mjpg-streamerand show me

ihrapsa avatar Aug 18 '22 17:08 ihrapsa

Capture d’écran 2022-08-18 194659

Pepitoo597 avatar Aug 18 '22 17:08 Pepitoo597

Frame rate is ok. Can you do short video with printer and stream at the same time to see what's the issue?

ihrapsa avatar Aug 18 '22 17:08 ihrapsa