Comments (11)
My workaround has been a cronjob */5 * * * *
to make the snapshot; something like this:
#!/bin/bash
FILENAME="/home/_webcam/cam1/"$(date +'%Y-%m-%d')/$(date +'%Y%m%d-%H%M-%S--snapshot-0').jpg
/usr/bin/curl --max-time 10 --output $FILENAME http://127.0.0.1:8765/picture/2/current >/tmp/curl-snapshot.log 2>&1
# then, this is the same script I used to have in motion.conf for on_picture_save (it may not be necessary in everyone's config):
/usr/local/bin/onsavescript.sh cam1 $FILENAME
Works for me, and is pretty much equivalent to my old setup.
from motioneye.
The other comment is in a closed issue. I would also like to be able to take pictures periodically PLUS having motion detection.
from motioneye.
I'm currently migrating my motion+home made shell scripts setup to motioneye (awesome s/w, btw!)
Most of my config has been ported over, but this issue bit me too - I have to choose betwen "Motion triggered" Still Image capture mode, or Interval snapshots, whereas in the original motion software they are not mutually exclusive options at all! So it seems a UI issue mainly.
I tried adding my old config line snapshot_interval 1800
to "Extra Motion Options", but MotionEye is too clever and assumes that means I want to disable Motion Triggered capture.
What would work for me is to just be able to add the "Extra Motion Options" line and have MotionEye leave it alone rather than interpret my intentions (i.e. selecting both options doesn't need to be in the UI per se)
from motioneye.
Also a +1 for an option to have both motion triggering and interval shooting available simultaneously. For example, you could have normal motion triggering available outside working hours but also take some images every hour always.
@ccrisan , what do you say?
Thanks,
from motioneye.
+1 Really would love to have this feature too! Motion for when things are happening together with a timelapse video for every day would be awesome!
from motioneye.
+1 ability to do motion detection and create timelapse would be awesome. In my case I have camera watching over some land I have, mainly to detect animals walking around. It would be neat to be able to take snapshots and then manually generate timelapse of those.
from motioneye.
You can do snapshots with x FPS triggered by motion on the picture.
After that, if you see these pictures there is a Timelapse button
from motioneye.
You can do snapshots with x FPS triggered by motion on the picture.
After that, if you see these pictures there is a Timelapse button
do you mean, i have to activate the picture option,
than wait, that there are pictures,
than go into the picture browser,
than there is an option to get a movie from that pictures?
i as this, because a cannot find a way to set up timelapse movies in motion-eye,
like i saw this on motion itself.
from motioneye.
i found this comment, but nothing in the wiki.
seems like this is telling how that should work. i will try taking pictures and see in the picture-browser if i can get a movie tomorrow.
from motioneye.
My workaround has been a cronjob
*/5 * * * *
to make the snapshot; something like this:#!/bin/bash FILENAME="/home/_webcam/cam1/"$(date +'%Y-%m-%d')/$(date +'%Y%m%d-%H%M-%S--snapshot-0').jpg /usr/bin/curl --max-time 10 --output $FILENAME http://127.0.0.1:8765/picture/2/current >/tmp/curl-snapshot.log 2>&1 # then, this is the same script I used to have in motion.conf for on_picture_save (it may not be necessary in everyone's config): /usr/local/bin/onsavescript.sh cam1 $FILENAME
Thanks a lot for sharing! Looks like this grabs (with a timeout of 10 seconds) the current view every 5 minutes. Where does it save these? In the same folders as the motion pictures? Optimally i would like to keep the individual frames separate from the motion pictures and generate a video file at the end of each day that can be found in the video tab. Why did you have to add the entry to your motion.conf file?
from motioneye.
@alexw22 --output $FILENAME
sets the output folder and filename, e.g. you can save it where you want. I use the onsavescript.sh
for symlinking the latest pic for a separate mail routine I have, and some other stuff.
It's simple bash: just adapt it to your needs!
from motioneye.
Related Issues (20)
- "Device or resource busy" HOT 7
- Motioneye not accepting more than 2 cameras at once HOT 1
- Still Images: cams take pictures 24/7 HOT 3
- Unable to open Video Camera HOT 1
- Cameras not recording HOT 4
- Flashdrive not showing up under stoarge device HOT 5
- Permissions for video HOT 4
- how setup android without port forwarding on router (e.g. ngrok?) and connect it to MotionEye cloud HOT 2
- How change directory in file storage HOT 1
- [solution] won't start HOT 5
- Problems connecting Dahua IP cam to MotionEye HOT 5
- [Errno 13] Permission denied .keep HOT 2
- Issue: How to split file when continuous recording is activated HOT 1
- ssl peer certificate or ssh remote key was not okay on DietPi HOT 1
- username and password HOT 1
- scalability HOT 4
- Synchronize ipcam videos with a second remote NVR via rsync protocol
- Why All camera rebots?? HOT 1
- Why it reloads a cameras when we add a new camera?? HOT 1
- mobotix S14 unable to open video device
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motioneye.