Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. 30 seconds missing in video (Mathias Koerber) 2. Re: 30 seconds missing in video (Ronnie McMaster) 3. Re: Port 8080 only 6 cams shown (MrDave) ---------------------------------------------------------------------- Message: 1 Date: Tue, 1 Mar 2022 09:57:28 +0800 From: Mathias Koerber <math...@koerber.org> To: motion-user@lists.sourceforge.net Subject: [Motion-user] 30 seconds missing in video Message-ID: <5cca3c9a-0200-1934-d857-1509a376c...@koerber.org> Content-Type: text/plain; charset=UTF-8; format=flowed I have motion set up with the motion.conf below, and I find that occasionally there are some seconds missing in a video, which seems to happen when there is no action (eg, one person exits the frame, there is a pause of 30 seconds and then another person apprears in the same place) With the settings below I would have expected the movie to continue until it saw a 60 second (event_gap) with no motion (ie less than 1500 pixels changing) I also get videos that are short (15 seconds or so at times) What am I doing wrong? daemon off setup_mode off log_file /var/log/motion/motion.log log_level 6 target_dir /var/lib/motion videodevice /dev/video0 width 800 height 600 framerate 20 text_left Door text_right %t-%3v-%{fps}-%D\n%Y-%m-%d\n%T-%q emulate_motion off threshold 1500 despeckle_filter EedDl minimum_motion_frames 5 event_gap 60 pre_capture 2 post_capture 60 picture_output best picture_filename albums/%Y-%m-%d/thumbs/%C movie_output on movie_max_time 900 movie_quality 60 movie_codec mp4 movie_filename albums/%Y-%m-%d/%C webcontrol_port 8080 webcontrol_localhost off webcontrol_parms 0 stream_port 8081 stream_maxrate 1 stream_grey on stream_quality 45 stream_preview_method 1 stream_localhost off rotate 90 text_scale 3 text_changes on auto_brightness 2 locate_motion_style box locate_motion_mode preview lightswitch_percent 80 text_event %Y%m%d-%H:%M:%S-%t-%3v-%q ------------------------------ Message: 2 Date: Mon, 28 Feb 2022 20:00:29 -0700 From: Ronnie McMaster <ronnie.mcmas...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] 30 seconds missing in video Message-ID: <caa8w+k6fk24mnovtzcyuhqzsan78n5aepnx9fzjgd_r+s_3...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Event gap is why you ended up with two motion triggers combined into one video. Though it is 60 seconds, your post_capture capture is 60 frames or 3 seconds. Thanks, Ronnie On Mon, Feb 28, 2022 at 7:28 PM Mathias Koerber <math...@koerber.org> wrote: > I have motion set up with the motion.conf below, and I find that > occasionally there are some seconds missing in a video, > which seems to happen when there is no action > (eg, one person exits the frame, there is a pause > of 30 seconds and then another person apprears in the same place) > > With the settings below I would have expected the movie to continue > until it saw a 60 second (event_gap) with no motion (ie less than 1500 > pixels changing) > > I also get videos that are short (15 seconds or so at times) > > What am I doing wrong? > > daemon off > setup_mode off > log_file /var/log/motion/motion.log > log_level 6 > target_dir /var/lib/motion > videodevice /dev/video0 > width 800 > height 600 > framerate 20 > text_left Door > text_right %t-%3v-%{fps}-%D\n%Y-%m-%d\n%T-%q > emulate_motion off > threshold 1500 > despeckle_filter EedDl > minimum_motion_frames 5 > event_gap 60 > pre_capture 2 > post_capture 60 > picture_output best > picture_filename albums/%Y-%m-%d/thumbs/%C > movie_output on > movie_max_time 900 > movie_quality 60 > movie_codec mp4 > movie_filename albums/%Y-%m-%d/%C > webcontrol_port 8080 > webcontrol_localhost off > webcontrol_parms 0 > stream_port 8081 > stream_maxrate 1 > stream_grey on > stream_quality 45 > stream_preview_method 1 > stream_localhost off > rotate 90 > text_scale 3 > text_changes on > auto_brightness 2 > locate_motion_style box > locate_motion_mode preview > lightswitch_percent 80 > text_event %Y%m%d-%H:%M:%S-%t-%3v-%q > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Mon, 28 Feb 2022 19:57:50 -0700 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Port 8080 only 6 cams shown Message-ID: <a76ef0c5-8efc-fc64-b994-882a46bf3...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" FYI The method to have more than 6 cameras on the page is to change the Motion configuration to have a different port per camera.? The 6 camera limitation is based upon each server:port. On 2/27/2022 8:57 AM, MrDave wrote: > > 1.? I did directly help the OP with how to resolve this. > > 2.? Help is good.? Statements such as "_/If you write an HTML > correctly, then it will show all of the cams. /__/It isn't hard to > do,/_" are not helpful.? They are indicating that the code is written > poorly and causing this issue and since it isn't hard to do, then the > devs must be...And this is also indicated by the references to version > 4.1 rather than the newer versions. > > 3.? I definitely do not recommend going back to prior versions.? > Especially if the camera is exposed to the web.? The newer versions > use libmicrohttpd which is more robust and tested than the old C > modules in Motion.? It adds https support and there is even a youtube > on how to create a self signed cert so you can use https and not even > have to pay for a cert.? It adds intrusion detection/lockouts to try > to foil hackers trying to brute force into your computer, it closes > other security gaps in the old modules and it also provides for > multiple different image types. > > > On 2/26/2022 1:33 PM, Ronnie McMaster wrote: > >> @Dave H. lol, I'm not the one having the problem. Definitely not >> bluffing and also not uploading a screenrecord of my security camera >> setup on Youtube. >> >> I'll gladly go back to not trying to help people, though. I've had to >> fix issues on my own plenty of times due to no responses on these >> lists over the years. >> >> Thanks, >> Ronnie >> >> >> On Sat, Feb 26, 2022 at 1:11 PM Dave Howorth <d...@howorth.org.uk> wrote: >> >> On Sat, 26 Feb 2022 12:08:51 -0700 >> Ronnie McMaster <ronnie.mcmas...@gmail.com> wrote: >> >> > Wait, you're holding back on helping the OP because you can't >> create a >> > simple HTML file? >> >> No, he's calling your bluff :) >> >> > Thanks, >> > Ronnie >> > >> > >> > On Sat, Feb 26, 2022 at 10:11 AM MrDave <motionmrd...@gmail.com> >> > wrote: >> > >> > > Ronnie.? I strongly disagree and I would challenge you that >> you can >> > > not write such HTML.? There is a fork button on github where you >> > > can put your changes.? If you can not make such changes, then you >> > > should not be making such statements. >> > > >> > > There is of course an easy readily available solution to the 6 >> > > camera problem without browser revisions but I think I'll wait to >> > > see what Ronnie creates. >> > > >> > > MrDave >> > > >> > > >> > > On 2/25/2022 11:26 PM, Ronnie McMaster wrote: >> > > >> > > "Server" Motion is a server application. I use Manjaro. I am sure >> > > you can install an older version from source or set it up on a >> > > device that isn't a rolling release and likely using an older >> > > version. >> > > >> > > If you write an HTML correctly, then it will show all of the >> cams. >> > > It isn't hard to do, but isn't within the realm of this mailing >> > > list. >> > > >> > > Thanks, >> > > Ronnie McMaster >> > > >> > > >> > > On Fri, Feb 25, 2022 at 11:08 PM Steve <sch...@msn.com> wrote: >> > > >> > >> Ronnie, I appreciate your response but I'm still at a loss >> on some >> > >> points: >> > >> >> > >> Why is there a limit of 6 in any version? >> > >> >> > >> "Server" has several meanings. Are you saying I should run >> an older >> > >> version of Motion on different hardware? Perhaps you mean a 2nd >> > >> instance of Motion on the same hardware? And Rob said he's >> running >> > >> an older "server" which is different than an older version of >> > >> Motion in my mind. I'll appreciate it if you'll clear this up. >> > >> >> > >> What do you mean by "create an HTML hosting"? HTML doesn't host >> > >> anything, it's a language. >> > >> >> > >> >> > >> >> > >> On 2/25/22 21:28, Ronnie McMaster wrote: >> > >> > If using Arch, then you're on version 4.4*, which as Rob said, >> > >> > only supports 6 cameras. Other LTS distros are running older >> > >> > versions. If >> > >> you >> > >> > have more than one server, then you can easily create an HTML >> > >> > hosting >> > >> as >> > >> > many cams as you want. >> > >> > >> > >> > >> > >> > Thanks, >> > >> > Ronnie >> > >> > >> > >> > On Fri, Feb 25, 2022 at 7:53 PM Steve <sch...@msn.com >> > >> > <mailto:sch...@msn.com>> wrote: >> > >> > >> > >> >? ? ?First of all, thanks much for filling me in, Rob. >> > >> > >> > >> >? ? ?That sounds like a dodge for an answer, if you ask me. >> If it >> > >> > doesn't display right on the latest Chromium (and it doesn't) >> > >> > then that is a server problem, IMO. Regardless, I'd sure >> > >> > consider it my problem >> > >> were I >> > >> >? ? ?on team Motion. >> > >> > >> > >> >? ? ?Any idea what browser settings "need" tweaking to fix it? >> > >> > >> > >> >? ? ?And you say, "I'm still using server 4.1" I assume you >> mean >> > >> > the >> > >> whole >> > >> >? ? ?Motion package is 4.1 on your system, right? I'm on Arch >> > >> > Linux and >> > >> the >> > >> >? ? ?way they package it there is no separate web server. Maybe >> > >> > you built Motion from source code? >> > >> > >> > >> > >> > >> >? ? ?On 2/25/22 19:12, rmbusy wrote: >> > >> >? ? ? > Version 4.1 and earlier will display more than 6 >> cameras >> > >> >? ? ? > without making any changes, on any browser I've tried. >> > >> >? ? ? > With version 4.2 >> > >> and >> > >> >? ? ? > later, it only displays 6, unless you tweak settings in >> > >> >? ? ? > every web browser you use (if they support >> tweaking).? I >> > >> >? ? ? > brought up the >> > >> issue >> > >> >? ? ? > when 4.2 came out, and was told it was the browsers >> > >> >? ? ? > problem. >> > >> >? ? ? > >> > >> >? ? ? > When I looked at the release notes, I saw they changed >> > >> >? ? ? > the web >> > >> >? ? ?server >> > >> >? ? ? > between 4.1 and 4.2, which I attributed to the cause of >> > >> >? ? ? > the >> > >> change. >> > >> >? ? ? > >> > >> >? ? ? > Since I run 9 cameras, I'm still using server 4.1. >> > >> >? ? ? > >> > >> >? ? ? > >> > >> >? ? ? > -- >> > >> >? ? ? > Rob. >> > >> >? ? ? > >> > >> >? ? ? > >> > >> >? ? ? > On 2/25/22 15:55, Steve wrote: >> > >> >? ? ? >> Hi, all. >> > >> >? ? ? >> >> > >> >? ? ? >> What is the trick to getting more than 6 cameras >> > >> >? ? ? >> displayed with >> > >> the >> > >> >? ? ? >> default "All Cameras" display? I have searched the >> docs >> > >> >? ? ? >> and the >> > >> web >> > >> >? ? ? >> and I've not found any way to limit the number nor >> > >> >? ? ? >> remove any >> > >> limit >> > >> >? ? ? >> but no matter how many cams I have configured and >> > >> >? ? ? >> recording >> > >> events >> > >> >? ? ? >> only 6 show on said page. >> > >> >? ? ? >> >> > >> >? ? ? >> TIA >> > >> >? ? ? > >> > >> >? ? ? > >> > >> >? ? ? > >> > >> >? ? ? > _______________________________________________ >> > >> >? ? ? > Motion-user mailing list >> > >> >? ? ? > Motion-user@lists.sourceforge.net >> > >> >? ? ?<mailto:Motion-user@lists.sourceforge.net> >> > >> >? ? ? > >> https://lists.sourceforge.net/lists/listinfo/motion-user >> > >> >? ? >> ?<https://lists.sourceforge.net/lists/listinfo/motion-user> >> > >> >? ? ? > https://motion-project.github.io/ < >> > >> https://motion-project.github.io/> >> > >> >? ? ? > >> > >> >? ? ? > Unsubscribe: >> > >> > https://lists.sourceforge.net/lists/options/motion-user >> > >> >? ? ?<https://lists.sourceforge.net/lists/options/motion-user> >> > >> > >> > >> >? ? ?-- >> > >> > >> ?-------------------------------------------------------------------- >> > >> >? ? ?Steve Schaeffer? ? ? When all is said and done... >> > >> > sch...@msn.com <mailto:sch...@msn.com> ? ? ?there will have >> > >> > been a lot more said than done. >> > >> > >> ?-------------------------------------------------------------------- >> > >> > >> > >> > >> > >> > >> > >> > ?_______________________________________________ >> > >> >? ? ?Motion-user mailing list >> > >> > Motion-user@lists.sourceforge.net >> > >> >? ? ?<mailto:Motion-user@lists.sourceforge.net> >> > >> > https://lists.sourceforge.net/lists/listinfo/motion-user >> > >> >? ? ?<https://lists.sourceforge.net/lists/listinfo/motion-user> >> > >> > https://motion-project.github.io/ < >> > >> https://motion-project.github.io/> >> > >> > >> > >> >? ? ?Unsubscribe: >> > >> https://lists.sourceforge.net/lists/options/motion-user >> > >> >? ? ?<https://lists.sourceforge.net/lists/options/motion-user> >> > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > >> > Motion-user mailing list >> > >> > Motion-user@lists.sourceforge.net >> > >> > https://lists.sourceforge.net/lists/listinfo/motion-user >> > >> > https://motion-project.github.io/ >> > >> > >> > >> > Unsubscribe: >> > >> > https://lists.sourceforge.net/lists/options/motion-user >> > >> >> > >> -- >> > >> >> -------------------------------------------------------------------- >> > >> Steve Schaeffer? ? ? When all is said and done... >> > >> sch...@msn.com ?there will have been a lot more said than >> > >> done. >> > >> >> -------------------------------------------------------------------- >> > >> >> > >> >> > >> _______________________________________________ >> > >> Motion-user mailing list >> > >> Motion-user@lists.sourceforge.net >> > >> https://lists.sourceforge.net/lists/listinfo/motion-user >> > >> https://motion-project.github.io/ >> > >> >> > >> Unsubscribe: >> > >> https://lists.sourceforge.net/lists/options/motion-user >> > > >> > > >> > > >> > > _______________________________________________ >> > > Motion-user mailing >> > > >> >> listMotion-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/motion-userhttps://motion-project.github.io/ >> >> <http://lists.sourceforge.net/lists/listinfo/motion-userhttps://motion-project.github.io/> >> > > >> > > Unsubscribe: >> https://lists.sourceforge.net/lists/options/motion-user >> > > >> > > _______________________________________________ >> > > Motion-user mailing list >> > > Motion-user@lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/motion-user >> > > https://motion-project.github.io/ >> > > >> > > Unsubscribe: >> > > https://lists.sourceforge.net/lists/options/motion-user >> >> >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 189, Issue 1 *******************************************