Hi, is there a way to manually trigger a snapshot? Right now the snapshot is limited to the interval in the camera config. I want to be able to send an HTTP request, have the camera take a picture at that moment, and return it. Is this possible?
Thanks!
Manually trigger a snapshot
Re: Manually trigger a snapshot
Hello and Welcome to the Forum
http colon // admin:[email protected]/cgi-bin/snapshot.cgi
with it typed out right and with your password and IP address this will result in a Snapshot..
http colon // admin:[email protected]/cgi-bin/snapshot.cgi
with it typed out right and with your password and IP address this will result in a Snapshot..
Be Safe.
Re: Manually trigger a snapshot
Hi, ive tried that but it is tied to the interval that I config on the camera itself. So if I have the interval at 7 seconds the snapshot.cgi will only give me snapshot every 7 seconds not when I send the http.
Re: Manually trigger a snapshot
This is true that is how it works. So if you want to have it work on FTP then setup for FTP or save to Micro SD every 7 seconds. Or leave it to 1 sec as it was from stock setup and send CGI commands when you want one. Or setup a Script for taking one every so often..
Next thing is that maybe asking Amcrest for a Feature request I can't say that it will be picked and made by the R&D however there is Feature Request area of the forum. I don't think it would be to hard to add in a extra Picture time. I mean I have a camera that has more then Trigger and Schedule even though I have never used that camera with other options so I don't know what they are for but might have been related to Face Detection or something in AI. Normal camera might be harder to setup but don't hurt to ask.
https://amcrest.com/forum/feature-device-request-f31/
Next thing is that maybe asking Amcrest for a Feature request I can't say that it will be picked and made by the R&D however there is Feature Request area of the forum. I don't think it would be to hard to add in a extra Picture time. I mean I have a camera that has more then Trigger and Schedule even though I have never used that camera with other options so I don't know what they are for but might have been related to Face Detection or something in AI. Normal camera might be harder to setup but don't hurt to ask.
https://amcrest.com/forum/feature-device-request-f31/
Be Safe.
Re: Manually trigger a snapshot
So there is no way to trigger a snapshot as soon as the command is sent, it currently will have to wait for the interval to pass? I'm asking because I want to be able to trigger a snapshot for a time lapse I'm making and the time lapse requires very quick reaction times (fraction of seconds) and currently with the interval it sometimes misses what it needs to capture.
Re: Manually trigger a snapshot
Then you will want to take your Snapshots off of the Video of your cameras in question..
There is only 1 way for Fractions of a Second in time to work and that is via Video. In a Snapshot the fastest it can trigger is every second, Sorry there is no fraction within Snapshots..
However a Video that works with in seconds of a video. Most cameras are setup to give 30FPS unless it is a 4k camera then your looking at 15 to 20 fps. So what that means is in a Second of video there is either 15, 20 or 30 Frames in 1 second of video recorded. Lets say you are using a 2mp at 30fps. in the 1 second of Snapshots the camera can record 30 frames (Snapshots) so in there you could extract images within the frames that a snapshot could miss.
However at this time I am not sure how one would go about Extracting that automatically. I mean you could playback an area of video, Play it frame by frame in playback after pausing and take a snapshot off that.. So in a camera/recorder with the ability there if you pause, then press next frame, Looking at the time it says 4:25:57 by 4:25:58 there is 30 images that could be extracted..
There is only 1 way for Fractions of a Second in time to work and that is via Video. In a Snapshot the fastest it can trigger is every second, Sorry there is no fraction within Snapshots..
However a Video that works with in seconds of a video. Most cameras are setup to give 30FPS unless it is a 4k camera then your looking at 15 to 20 fps. So what that means is in a Second of video there is either 15, 20 or 30 Frames in 1 second of video recorded. Lets say you are using a 2mp at 30fps. in the 1 second of Snapshots the camera can record 30 frames (Snapshots) so in there you could extract images within the frames that a snapshot could miss.
However at this time I am not sure how one would go about Extracting that automatically. I mean you could playback an area of video, Play it frame by frame in playback after pausing and take a snapshot off that.. So in a camera/recorder with the ability there if you pause, then press next frame, Looking at the time it says 4:25:57 by 4:25:58 there is 30 images that could be extracted..
Be Safe.
Re: Manually trigger a snapshot
So made a fast video of what I was talking about..
I used my very old 850EB camera for this fast video, I normally have setup for motion however to show I setup full time and took 1 area of interest so you could see what I am talking about..
This Video is unlisted on my youtube and can get to it via this link https://youtu.be/zk9_8Z5mYQQ
I used my very old 850EB camera for this fast video, I normally have setup for motion however to show I setup full time and took 1 area of interest so you could see what I am talking about..
This Video is unlisted on my youtube and can get to it via this link https://youtu.be/zk9_8Z5mYQQ
Be Safe.
Re: Manually trigger a snapshot
Hi drethan
TL;DR: The camera takes a picture at every interval. You can't make it take a picture than once every second. If the camera is set for FTP, it sends the picture, BUT if you hit snapshot.cgi after that it will fail.
My solution doesn't help you (I want one picture per hour, plus the ability to get additional pictures on-demand), but I solved this problem by disabling the in-built FTP, changing the interval back to the standard 1S, and having a script pull a snapshot on the desired interval.
I literally just had this same issue, see this post: https://amcrest.com/forum/ip-cameras-f1 ... 15978.htmldrethan wrote: ↑Tue Aug 30, 2022 12:43 pm So there is no way to trigger a snapshot as soon as the command is sent, it currently will have to wait for the interval to pass? I'm asking because I want to be able to trigger a snapshot for a time lapse I'm making and the time lapse requires very quick reaction times (fraction of seconds) and currently with the interval it sometimes misses what it needs to capture.
TL;DR: The camera takes a picture at every interval. You can't make it take a picture than once every second. If the camera is set for FTP, it sends the picture, BUT if you hit snapshot.cgi after that it will fail.
My solution doesn't help you (I want one picture per hour, plus the ability to get additional pictures on-demand), but I solved this problem by disabling the in-built FTP, changing the interval back to the standard 1S, and having a script pull a snapshot on the desired interval.
Re: Manually trigger a snapshot
Ah that's what I was worried about. Oh well, I've hacked together a solution. Basically I have a Linux VM streaming the rtsp stream from the camera and then I send it a command and it takes a picture at that exact moment and it returns that picture. It causes a slight delay in executing the rest of my code but it works.
Thanks for all the help!
Thanks for all the help!