[opensuse] Do we have software to scan a video and find changes in a still scene?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have been trying to photograph the Perseids (shooting stars). I got some on my SLR camera. Not good quality, but hey, it is the first time I do it. Just for kicks I set up another camera doing a video of the sky for as long as it would go, which turned to be till the video file was 2 GB (FAT memory card). At 15 frames per second. It appears to be 45 minutes of full black, which is not a surprise. However, I wonder if there is some software in Linux to scan a video and signal somehow when the scene changes. The sort used for security, when a person comes into focus, perhaps. I can not view 45 minutes of black, I will get bored within a minute ;-) - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlewdGkACgkQtTMYHG2NR9XV9QCgjYZuu/Hq2KCkKt/aaOTKqaVa 6zAAn3tuWB5B4Z62Vo06nw0hwcDvZ8Hg =VblK -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
Just for kicks I set up another camera doing a video of the sky for as long as it would go, which turned to be till the video file was 2 GB (FAT memory card). At 15 frames per second.
It appears to be 45 minutes of full black, which is not a surprise. However, I wonder if there is some software in Linux to scan a video and signal somehow when the scene changes.
We have some cctv cameras, they deliver a stream of jpegs, not an mpeg. Motion detection is easily done by comparing one image to the next. There is some cctv software out there too that will do that. -- Per Jessen, Zürich (27.1°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 14/08/2016 à 16:21, Per Jessen a écrit :
We have some cctv cameras, they deliver a stream of jpegs, not an mpeg. Motion detection is easily done by comparing one image to the next. There is some cctv software out there too that will do that.
and you can convert any video to jpg (one by image) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sunday, 14 August 2016 3:38:49 PM ACST Carlos E. R. wrote:
Hi,
I have been trying to photograph the Perseids (shooting stars). I got some on my SLR camera. Not good quality, but hey, it is the first time I do it.
Just for kicks I set up another camera doing a video of the sky for as long as it would go, which turned to be till the video file was 2 GB (FAT memory card). At 15 frames per second.
It appears to be 45 minutes of full black, which is not a surprise. However, I wonder if there is some software in Linux to scan a video and signal somehow when the scene changes. The sort used for security, when a person comes into focus, perhaps. I can not view 45 minutes of black, I will get bored within a minute ;-)
-- Cheers
Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Have you tried FFmpeg? I think it may be able to do this, but not 100% sure. You could join the FFmpeg-user mailing list and ask there, or RTFM first. The documentation on the FFmpeg website or wiki may or may not be helpful. YMMV. Regards, Rodney. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-14 18:43, Rodney Baker wrote:
On Sunday, 14 August 2016 3:38:49 PM ACST Carlos E. R. wrote:
Have you tried FFmpeg? I think it may be able to do this, but not 100% sure. You could join the FFmpeg-user mailing list and ask there, or RTFM first. The documentation on the FFmpeg website or wiki may or may not be helpful. YMMV.
I'll try reading there a bit :-) I know, I think, how to convert to a sequence of photos, but I can not imagine what to use to detect a percent of change in the scenes. I just hoped there would be a software that would just fast forward a .avi file till a change is found. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-08-14 18:43, Rodney Baker wrote:
On Sunday, 14 August 2016 3:38:49 PM ACST Carlos E. R. wrote:
Have you tried FFmpeg? I think it may be able to do this, but not 100% sure. You could join the FFmpeg-user mailing list and ask there, or RTFM first. The documentation on the FFmpeg website or wiki may or may not be helpful. YMMV.
I'll try reading there a bit :-)
I know, I think, how to convert to a sequence of photos, but I can not imagine what to use to detect a percent of change in the scenes.
I just hoped there would be a software that would just fast forward a .avi file till a change is found.
Yes, that doesn't sound unreasonable - I found this presentation: http://www.waveform.org.uk/~dave/presentations/motion/ Among other things, it mentions certain frames within the MPEG, the P-frame for instance - apparently that one records the _changes_ from the last frame. -- Per Jessen, Zürich (19.3°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-15 08:18, Per Jessen wrote:
Carlos E. R. wrote:
I just hoped there would be a software that would just fast forward a .avi file till a change is found.
Yes, that doesn't sound unreasonable - I found this presentation:
Ah, I'll have a look.
Among other things, it mentions certain frames within the MPEG, the P-frame for instance - apparently that one records the _changes_ from the last frame.
Yes, I think so. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I have been trying to photograph the Perseids (shooting stars). I got some on my SLR camera. Not good quality, but hey, it is the first time I do it.
Just for kicks I set up another camera doing a video of the sky for as long as it would go, which turned to be till the video file was 2 GB (FAT memory card). At 15 frames per second.
It appears to be 45 minutes of full black, which is not a surprise. However, I wonder if there is some software in Linux to scan a video and signal somehow when the scene changes. The sort used for security, when a person comes into focus, perhaps. I can not view 45 minutes of black, I will get bored within a minute ;-)
- -- Cheers
Carlos E. R.
On 14/08/2016 15:38, Carlos E. R. wrote: try using "motion", I've only used it with a webcam, it generates jpeg images at a speed you set. It's a bit tricky to set up, needs lots of trial and error. Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-15 07:35, Dave Plater wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I have been trying to photograph the Perseids (shooting stars). I got some on my SLR camera. Not good quality, but hey, it is the first time I do it.
Just for kicks I set up another camera doing a video of the sky for as long as it would go, which turned to be till the video file was 2 GB (FAT memory card). At 15 frames per second.
It appears to be 45 minutes of full black, which is not a surprise. However, I wonder if there is some software in Linux to scan a video and signal somehow when the scene changes. The sort used for security, when a person comes into focus, perhaps. I can not view 45 minutes of black, I will get bored within a minute ;-)
- -- Cheers
Carlos E. R.
On 14/08/2016 15:38, Carlos E. R. wrote: try using "motion", I've only used it with a webcam, it generates jpeg images at a speed you set. It's a bit tricky to set up, needs lots of trial and error. Dave P
I second the recommendation of 'motion'. The project is undergoing something of a rebirth, so start at http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome and follow it to https://github.com/Motion-Project/motion for actual code. As a result of the project restructuring, up-to-date source and binaries should eventually make it into distro repositories. Do join the mailing list for any queries and to keep up to date. It will sort out whatever video/photo format you have and want, once you understand its quirks. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-15 10:54, Dave Howorth wrote:
try using "motion", I've only used it with a webcam, it generates jpeg images at a speed you set. It's a bit tricky to set up, needs lots of trial and error. Dave P
I second the recommendation of 'motion'. The project is undergoing something of a rebirth, so start at
http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
and follow it to
https://github.com/Motion-Project/motion
for actual code. As a result of the project restructuring, up-to-date source and binaries should eventually make it into distro repositories. Do join the mailing list for any queries and to keep up to date.
It will sort out whatever video/photo format you have and want, once you understand its quirks.
Ok, I had a quick look, it seems the thing. Thanks :-) "motion detector" seems to be the key word. Now I found some articles: https://en.wikipedia.org/wiki/Motion_detection https://en.wikipedia.org/wiki/Motion_estimation https://en.wikipedia.org/wiki/Motion_detector What I don't see there is a list of software. It appears that it is mostly done by electronic detectors, software methods are just only mentioned. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 08/15/2016 07:40 AM, Carlos E. R. wrote:
What I don't see there is a list of software. It appears that it is mostly done by electronic detectors, software methods are just only mentioned.
An analog DVR (960H is highest resolution for analog) has NTSC (or PAL) video inputs. I would think that feeding the video into one of those inputs and configuring the software motion detector would give you what you want. Assuming, of course, that the motion detect software in the DVR has enough granularity to pick out the event you are trying to detect. After all, the dumb DVR doesn't know that the analog video isn't coming from a camera. Carlos, et al, the software to do this without using a piece of dedicated hardware does exist. The questions are where is it, what is it called and how much does it cost. Taking over 40K Jpegs and doing a compare is certainly doable if you can write a small script to automate the process. AND it doesn't involve the cost of a DVR AND it can detect the smallest changes, unlike a DVR. IMHO it is the best way to go: cheap, simple and effective. ======= -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2016-08-15 at 08:07 -0500, Stevens wrote:
On 08/15/2016 07:40 AM, Carlos E. R. wrote:
What I don't see there is a list of software. It appears that it is mostly done by electronic detectors, software methods are just only mentioned.
An analog DVR (960H is highest resolution for analog) has NTSC (or PAL) video inputs. I would think that feeding the video into one of those inputs and configuring the software motion detector would give you what you want. Assuming, of course, that the motion detect software in the DVR has enough granularity to pick out the event you are trying to detect. After all, the dumb DVR doesn't know that the analog video isn't coming from a camera.
Yes...
Carlos, et al, the software to do this without using a piece of dedicated hardware does exist. The questions are where is it, what is it called and how much does it cost.
Exactly :-)
Taking over 40K Jpegs and doing a compare is certainly doable if you can write a small script to automate the process. AND it doesn't involve the cost of a DVR AND it can detect the smallest changes, unlike a DVR. IMHO it is the best way to go: cheap, simple and effective.
Yes, now that I have some ideas I'll try them. But not on a hurry ;-) Thanks all :-) - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlexxyUACgkQtTMYHG2NR9VbfgCfaN8boJ5hm8B/ZI8dxodcyCkv x2MAn35K15ZXWDyOt3FY3wQA8/SSpdXx =NfEa -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Carlos E. R.
-
Dave Howorth
-
Dave Plater
-
jdd
-
Per Jessen
-
Rodney Baker
-
Stevens