-
Notifications
You must be signed in to change notification settings - Fork 650
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
Ability to use raspistill while motioneye is running? #41
Comments
I doubt that would be possible, as the mmal interface is already in use by the v4l2 module. |
What a fast response lol thank you! Perhaps a feature request to alow you to take still images from the gui is in order? :) On a side note, is there any way I can contribute back to this project? Be it something small like a man page or documentation, or debugging, testing, etc? |
Yes, the feature has already been proposed (I'm not sure if there's an actual issue about it, but I remember users asking for taking snapshots from the UI). Well since you mentioned the key word "documentation" (:P), motionEye could really use some reference material when it comes to the settings panel. If you could take each available setting from the settings panel, per section, and document it (possibly linking to the corresponding motion config option, it would be great. As soon as I have some content regarding this matter, I could turn it into a settings wiki page. |
Sound good. I'll spend some time and see what I can provide you. Where should I send the resulting info and in what format? |
You can send it directly to me (ccrisan around gmail) in whatever format you want. I will convert it to markdown then. |
fyi - sent some items via email. holler if I can improve them or update them for you. |
Hi, let me chip in. |
I had a similar problem, as I was running my Doorbell script which was taking a static photo when Doorbell was pressed, but when stream was running I could not use the camera. I sorted it out writing a simple script, for you could be a bit different but that should help: sudo nano raspistill.sh add: sudo chmod a+x raspistill.sh That will shut the motioneye service for 15 seconds, takes photo and restarts the service. |
There is another way of achieving that by either using https://github.com/umlaeute/v4l2loopback or https://github.com/mpromonet/v4l2tools unfortunately the 1st one does not seem to be working with any 4.x kernel and the 2nd one does not create another device with my camera module. You can however test it and see if it works, that way you will have 2 separate camera streams with 1 camera allowing you to take photos and record/stream at the same time. |
Btw, I doubt that it changes something on the fact that one cannot use the same camera device from console while it is used by motionEye/motion already, but at least worth to give it a try. |
I am not sure this is an issue with motioneye, raspistill, or by design but I thought I would ask here. Is it possible (or should it be possible) to run the raspberry pi raspistill camera utility when motioneye is running? Motion/Motioneye uses /dev/video0 and I thought I was able to run the raspistill to capture still images with motioneye running in the past but I can no longer do that. [Raspberry Pi 2 Model B, Raspian Jesse, Pi NOIR camera module]
With motioneye off, "raspistill -o image.jpg" works as expected, with motioneye on, raspistill errors out with the following...
pi@seccam ~ $ raspistill -o image.jpg
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
I have updated Raspian and the Pi's firmware to the latest available software/firmware.
The text was updated successfully, but these errors were encountered: