motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.96k stars 650 forks source link

Shutter Speed #941

Open UnsterblichMedic opened 6 years ago

UnsterblichMedic commented 6 years ago

New to this so am not sure where to put this or if this has been addressed. Love MotionEye btw.

I believe I read that shutter speed was limited to 6 seconds. I am really looking to do longer shutter speeds for night shots. I have used the mmalcam_control_params with night, iso, shutter speed but I cannot pull in the night shots I would like. Is it possible to open up the max shutter speed limit or is there a reason for that?

Using Pi Zero W with Pi Cam V2 and MotionEyeOS

EDIT: I realize now the 6 seconds is a Pi Camera limit from what I can see. However, it still doesn't seem like I am getting a 6 second exposure using mmalcam_control_params -ss 600000

UrasaMinor commented 4 years ago

I am having the same problem. If you use mmalcam_control_params -a 16, this will turn on the annote feature showing the shutter. You'll notice that the shutter is only ~500,000 ms, or 0.5s. This is because Motioneye has a minimum framerate of 2 fps. Therefore, the longest shutter length it can have the sensor open to take a picture is 0.5s since 1s/0.5 per image = 2 images per second.

So while the camera may allow for shutters up to 6s, Motioneye does not. I am having the same problem. I do not know if Motioneye allows you to decrease the fps below 2, so my apologies there.