Git Product home page Git Product logo

Comments (10)

ccrisan avatar ccrisan commented on August 19, 2024

I doubt that would be possible, as the mmal interface is already in use by the v4l2 module.

from motioneye.

pghpete avatar pghpete commented on August 19, 2024

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?

from motioneye.

ccrisan avatar ccrisan commented on August 19, 2024

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.

from motioneye.

pghpete avatar pghpete commented on August 19, 2024

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?

from motioneye.

ccrisan avatar ccrisan commented on August 19, 2024

You can send it directly to me (ccrisan around gmail) in whatever format you want. I will convert it to markdown then.

from motioneye.

pghpete avatar pghpete commented on August 19, 2024

fyi - sent some items via email. holler if I can improve them or update them for you.

from motioneye.

chrisf4lc0n avatar chrisf4lc0n commented on August 19, 2024

Hi, let me chip in.
I am running a remote doorbell with my Pi 1 and planning to run MotionEye alongside. I have just thought of a workaround... I can script, that when the button on the bell gets pressed it shuts the MotionEye down, rings the bell, takes photo and restart the MotionEye.
Maybe that can help... Once I have MotionEye up and running I will report back with more details.

from motioneye.

chrisf4lc0n avatar chrisf4lc0n commented on August 19, 2024

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:
#!/bin/sh
d=date +%d-%m-%y
t=date +%T
systemctl stop motioneye.service
raspistill -o $t$d.jpg -w 1024 -h 768 -q 30 -hf
sleep 15
systemctl start motioneye.service
exit

sudo chmod a+x raspistill.sh

That will shut the motioneye service for 15 seconds, takes photo and restarts the service.
You can obviously modify it to your needs.
If you need something more advanced let me know.

from motioneye.

chrisf4lc0n avatar chrisf4lc0n commented on August 19, 2024

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.

from motioneye.

MichaIng avatar MichaIng commented on August 19, 2024

Btw, raspistill is deprecated, but still available when using the legacy RPi firmware video stack. When using KMS (default on Raspberry Pi OS Bullseye), instead the new libcamera based apps can be used, like libcamera-still or libcamera-jpeg: https://www.raspberrypi.com/documentation/accessories/camera.html

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.

from motioneye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.