Re: 'motion' does not save movies, only still pics
- Original Message - From: Scott Ferguson scott.ferguson.debian.u...@gmail.com On 26/09/14 00:12, Rob Owens wrote: One thing that may be a factor in my case is that my test webcam is very slow. I am only getting one picture every 2 or 3 seconds when motion is detected. I have framerate set to 2 fps. Maybe motion is aware that my pics are too far apart in time and is deciding not to combine them into a movie. Any clues in the logs? 'top' may help find any bottlenecks. Note that an older box will have problems with high frequency high resolution images - especially with USB 3. A work around that problem might be any or all of:- ;reduce frequency of images ;reduce image resolution ;offload image processing to hardware What sort of motion are you wanting to detect at 2 fps? A break-in by Speedy Gonzales? ;p Be careful or your motion directory will quickly fill with a huge amount of pictures. I don't use the movie output version - though I've used it in the past. I found it an unnecessary use of resources - it's trivial to construct a movie from the relevant still images at a later date - just ensure that you email those images off-site immediately after a motion event is detected (if you're using motion for security purposes). It may be relevant that while I do have the deb-multimedia.org repository enabled on the Debian (Wheezy) systems that run motion, it's pinned to give preference to debian repositories:- $ cat /etc/apt/preferences.d/multimedia.pref Package: * Pin: origin *.deb-multimedia.org Pin-Priority: 200 2 fps was the default. I've just been testing basic functionality so far. syslog shows ffmpeg errors. I have ffmpeg installed from deb-multimedia.org, and I'm guessing there's a difference in command options or something. I'll change that and report back. Thanks for the help. -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2012508463.4408525.1411746733746.javamail.zim...@ptd.net
'motion' does not save movies, only still pics
I tested 'motion' on Wheezy yesterday. It detects motion and takes still shots, but it is not creating movies out of the still shots. I have set: # Use ffmpeg to encode mpeg movies in realtime (default: off) ffmpeg_cap_new on and # Gap is the seconds of no motion detection that triggers the end of an event # An event is defined as a series of motion images taken within a short timeframe. # Recommended value is 60 seconds (Default). The value 0 is allowed and disables # events causing all Motion to be written to one single mpeg file and no pre_capture. gap 60 Can anybody confirm that movie output works on Wheezy? One thing that may be a factor in my case is that my test webcam is very slow. I am only getting one picture every 2 or 3 seconds when motion is detected. I have framerate set to 2 fps. Maybe motion is aware that my pics are too far apart in time and is deciding not to combine them into a movie. -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/762837346.3708132.1411654343076.javamail.zim...@ptd.net
Re: 'motion' does not save movies, only still pics
On 9/25/14, 7:12 AM, Rob Owens row...@ptd.net wrote: I tested 'motion' on Wheezy yesterday. It detects motion and takes still shots, but it is not creating movies out of the still shots. I have set: # Use ffmpeg to encode mpeg movies in realtime (default: off) ffmpeg_cap_new on and # Gap is the seconds of no motion detection that triggers the end of an event # An event is defined as a series of motion images taken within a short timeframe. # Recommended value is 60 seconds (Default). The value 0 is allowed and disables # events causing all Motion to be written to one single mpeg file and no pre_capture. gap 60 Can anybody confirm that movie output works on Wheezy? One thing that may be a factor in my case is that my test webcam is very slow. I am only getting one picture every 2 or 3 seconds when motion is detected. I have framerate set to 2 fps. Maybe motion is aware that my pics are too far apart in time and is deciding not to combine them into a movie. -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/762837346.3708132.1411654343076.JavaMail.zimbra@p td.net I should have added a caveat to my original response, I hadn't actually tried it, since my needs pointed me to a more feature full system. Looking at the 'gap' description, I wonder if you need to set it to '0' in order to get a movie? Bob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/d0498916.446e%bob_mcgo...@symantec.com
Re: 'motion' does not save movies, only still pics
On 9/25/14, Rob Owens row...@ptd.net wrote: I tested 'motion' on Wheezy yesterday. It detects motion and takes still shots, but it is not creating movies out of the still shots. I have set: # Use ffmpeg to encode mpeg movies in realtime (default: off) ffmpeg_cap_new on and # Gap is the seconds of no motion detection that triggers the end of an event # An event is defined as a series of motion images taken within a short timeframe. # Recommended value is 60 seconds (Default). The value 0 is allowed and disables # events causing all Motion to be written to one single mpeg file and no pre_capture. gap 60 Can anybody confirm that movie output works on Wheezy? One thing that may be a factor in my case is that my test webcam is very slow. I am only getting one picture every 2 or 3 seconds when motion is detected. I have framerate set to 2 fps. Maybe motion is aware that my pics are too far apart in time and is deciding not to combine them into a movie. I can't help you with motion but I had a thought as I was reading your predicament.. OpenShot will produce an mpeg video output of multiple images if you find yourself up against a deadline or something and need an alternative. If motion is throwing all your images into one folder, it's as simple as highlighting all and importing them together into a new project.. After that you do the same thing within the program to drag them onto a track where you can play with how they are presented within your final product... I'll be happy to *try* to help shorten the learning curve if you end up having to go that route.. I do understand that the point of your request is ideally motion would be producing that format without further intervention from outside software. Cindy :) -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * I comment, therefore I am (procrastinating elsewhere) * -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cao1p-kb9bmfcpnzqtzm+amin6h75uj_ywfhcvqoyqhnn9at...@mail.gmail.com
Re: 'motion' does not save movies, only still pics
- Original Message - From: Cindy-Sue Causey butterflyby...@gmail.com I can't help you with motion but I had a thought as I was reading your predicament.. OpenShot will produce an mpeg video output of multiple images if you find yourself up against a deadline or something and need an alternative. Good to know. Thanks. -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/900014332.3839508.1411664511784.javamail.zim...@ptd.net
Re: 'motion' does not save movies, only still pics
- Original Message - From: Bob McGowan bob_mcgo...@symantec.com On 9/25/14, 7:12 AM, Rob Owens row...@ptd.net wrote: I tested 'motion' on Wheezy yesterday. It detects motion and takes still shots, but it is not creating movies out of the still shots. I have set: # Use ffmpeg to encode mpeg movies in realtime (default: off) ffmpeg_cap_new on and # Gap is the seconds of no motion detection that triggers the end of an event # An event is defined as a series of motion images taken within a short timeframe. # Recommended value is 60 seconds (Default). The value 0 is allowed and disables # events causing all Motion to be written to one single mpeg file and no pre_capture. gap 60 Can anybody confirm that movie output works on Wheezy? One thing that may be a factor in my case is that my test webcam is very slow. I am only getting one picture every 2 or 3 seconds when motion is detected. I have framerate set to 2 fps. Maybe motion is aware that my pics are too far apart in time and is deciding not to combine them into a movie. -Rob I should have added a caveat to my original response, I hadn't actually tried it, since my needs pointed me to a more feature full system. Looking at the 'gap' description, I wonder if you need to set it to '0' in order to get a movie? You made me re-read the gap description, and I think the solution for me might actually be to increase the gap (although I will try zero as well). Currently, each of my pictures is about 2 minutes apart due to slowness of my webcam. With the gap set at 60 seconds, each picture would be its own event so there would be no need to create a movie. I will try this tonight. Thanks for the response. -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/395458369.3840753.1411664744282.javamail.zim...@ptd.net
Re: 'motion' does not save movies, only still pics
On 26/09/14 00:12, Rob Owens wrote: I tested 'motion' on Wheezy yesterday. It detects motion and takes still shots, but it is not creating movies out of the still shots. I have set: # Use ffmpeg to encode mpeg movies in realtime (default: off) ffmpeg_cap_new on and # Gap is the seconds of no motion detection that triggers the end of an event # An event is defined as a series of motion images taken within a short timeframe. # Recommended value is 60 seconds (Default). The value 0 is allowed and disables # events causing all Motion to be written to one single mpeg file and no pre_capture. gap 60 Can anybody confirm that movie output works on Wheezy? Yes. One thing that may be a factor in my case is that my test webcam is very slow. I am only getting one picture every 2 or 3 seconds when motion is detected. I have framerate set to 2 fps. Maybe motion is aware that my pics are too far apart in time and is deciding not to combine them into a movie. Any clues in the logs? 'top' may help find any bottlenecks. Note that an older box will have problems with high frequency high resolution images - especially with USB 3. A work around that problem might be any or all of:- ;reduce frequency of images ;reduce image resolution ;offload image processing to hardware What sort of motion are you wanting to detect at 2 fps? A break-in by Speedy Gonzales? ;p Be careful or your motion directory will quickly fill with a huge amount of pictures. I don't use the movie output version - though I've used it in the past. I found it an unnecessary use of resources - it's trivial to construct a movie from the relevant still images at a later date - just ensure that you email those images off-site immediately after a motion event is detected (if you're using motion for security purposes). It may be relevant that while I do have the deb-multimedia.org repository enabled on the Debian (Wheezy) systems that run motion, it's pinned to give preference to debian repositories:- $ cat /etc/apt/preferences.d/multimedia.pref Package: * Pin: origin *.deb-multimedia.org Pin-Priority: 200 -Rob Upstream documentation is excellent - apologies for not referencing it earlier:- http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5424dec5.9070...@gmail.com
Re: 'motion' does not save movies, only still pics
On 09/25/2014 11:34 PM, Scott Ferguson wrote: On 26/09/14 00:12, Rob Owens wrote: I tested 'motion' on Wheezy yesterday. It detects motion and takes still shots, but it is not creating movies out of the still shots. I have set: # Use ffmpeg to encode mpeg movies in realtime (default: off) ffmpeg_cap_new on and # Gap is the seconds of no motion detection that triggers the end of an event # An event is defined as a series of motion images taken within a short timeframe. # Recommended value is 60 seconds (Default). The value 0 is allowed and disables # events causing all Motion to be written to one single mpeg file and no pre_capture. gap 60 Can anybody confirm that movie output works on Wheezy? Yes. One thing that may be a factor in my case is that my test webcam is very slow. I am only getting one picture every 2 or 3 seconds when motion is detected. I have framerate set to 2 fps. Maybe motion is aware that my pics are too far apart in time and is deciding not to combine them into a movie. Any clues in the logs? 'top' may help find any bottlenecks. Note that an older box will have problems with high frequency high resolution images - especially with USB 3. A work around that problem might be any or all of:- ;reduce frequency of images ;reduce image resolution ;offload image processing to hardware What sort of motion are you wanting to detect at 2 fps? A break-in by Speedy Gonzales? ;p Be careful or your motion directory will quickly fill with a huge amount of pictures. I don't use the movie output version - though I've used it in the past. I found it an unnecessary use of resources - it's trivial to construct a movie from the relevant still images at a later date - just ensure that you email those images off-site immediately after a motion event is detected (if you're using motion for security purposes). It may be relevant that while I do have the deb-multimedia.org repository enabled on the Debian (Wheezy) systems that run motion, it's pinned to give preference to debian repositories:- $ cat /etc/apt/preferences.d/multimedia.pref Package: * Pin: origin *.deb-multimedia.org Pin-Priority: 200 -Rob Upstream documentation is excellent - apologies for not referencing it earlier:- http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome Kind regards Rob and Scott, et al.. Don't know if this will help but thot' I'd look into it myself so did a search and found Check out http://www.youtube.com/watch?v=NwDLkMPLTw0 This is part one of two parts. HTH Whit -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5424e575.3020...@comcast.net