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. Re: core dumping / timelapse / swf (tosiara) 2. Re: Default thread (John Baker) 3. Re: core dumping / timelapse / swf (John Baker) 4. Issues with latest firmware on Foscam FI 8905 and Motion (f...@scotgate.org) 5. Re: Issues with latest firmware on Foscam FI 8905 and Motion (Fritiof Hedman) ---------------------------------------------------------------------- Message: 1 Date: Mon, 7 Mar 2016 19:40:01 +0200 From: tosiara <tosi...@gmail.com> Subject: Re: [Motion-user] core dumping / timelapse / swf To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <cachtdwrg_c4nqsi5gzodjjdzei3dcob1joa_6-jvenjs85v...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Can you try to run motion within gdb and generate backtrace? I wonder where it crashes and what params are on the stack On Mon, Mar 7, 2016 at 6:37 PM, John Baker <jba...@dryfish.org.uk> wrote: > If I set: > > ffmpeg_video_codec swf > > and enable timelapse, the core dumps regularly. If I set > > ffmpeg_video_codec mpeg4 > > It doesn't. But I don't really understand the relationship between this > option and movies / timelapse. It seems that there is a limited set of > options for timelapse files (can they use ogg?) but movie has a greater > set of options. > > Some clearer comments here may help. > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 07 Mar 2016 18:30:30 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] Default thread To: motion-user@lists.sourceforge.net Message-ID: <1457375430.3920579.542124882.58b20...@webmail.messagingengine.com> Content-Type: text/plain I Don't see much point in the thread existing if it's doing nothing. I propose a change: if threads defined as separate files, do not start the 'all' thread. A nice AngularJS/Bootstrap interface instead of the default HTML thing would be nice. Perhaps a project for me one day. On Mon, Mar 7, 2016, at 05:38 PM, tosiara wrote: > why do you want to disable it? > > On Mon, Mar 7, 2016 at 5:24 PM, John Baker <jba...@dryfish.org.uk> wrote: > > > I've got five cameras specified with five threads, as five separate > > files. But motion appears to start a sixth 'all' thread from the > > settings in motion.conf. How do I disable this? Or do I mis-understand? > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://makebettercode.com/inteldaal-eval > > _______________________________________________ > > Motion-user mailing list > > Motion-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/motion-user > > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome ------------------------------ Message: 3 Date: Tue, 08 Mar 2016 19:50:42 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] core dumping / timelapse / swf To: motion-user@lists.sourceforge.net Message-ID: <1457466642.965248.543360026.65e5a...@webmail.messagingengine.com> Content-Type: text/plain So motion ran with five cameras for 24 hours, recording hundreds of videos/images and timelapse videos. I switched ffmpeg_video_codec from mpeg to swf, ran it for five mins and it crashed: Signal: 11 (SEGV) Message: Process 20970 (motion) of user 0 dumped core. Stack trace of thread 20973: #0 0x0000000076b4b0c8 n/a (libavformat.so.56) And output from gdb: warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `motion'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x76b4b0c8 in ?? () from /usr/lib/libavformat.so.56 [Current thread is 1 (Thread 0x72fff400 (LWP 20973))] (gdb) (gdb) (gdb) bt #0 0x76b4b0c8 in ?? () from /usr/lib/libavformat.so.56 #1 0x76c5e9c0 in av_rescale_rnd () from /usr/lib/libavutil.so.54 #2 0x631f15e8 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) On Mon, Mar 7, 2016, at 05:40 PM, tosiara wrote: > Can you try to run motion within gdb and generate backtrace? I wonder > where > it crashes and what params are on the stack > > On Mon, Mar 7, 2016 at 6:37 PM, John Baker <jba...@dryfish.org.uk> wrote: > > > If I set: > > > > ffmpeg_video_codec swf > > > > and enable timelapse, the core dumps regularly. If I set > > > > ffmpeg_video_codec mpeg4 > > > > It doesn't. But I don't really understand the relationship between this > > option and movies / timelapse. It seems that there is a limited set of > > options for timelapse files (can they use ogg?) but movie has a greater > > set of options. > > > > Some clearer comments here may help. > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://makebettercode.com/inteldaal-eval > > _______________________________________________ > > Motion-user mailing list > > Motion-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/motion-user > > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome ------------------------------ Message: 4 Date: Wed, 9 Mar 2016 19:05:43 +0000 From: f...@scotgate.org Subject: [Motion-user] Issues with latest firmware on Foscam FI 8905 and Motion To: motion-user@lists.sourceforge.net Message-ID: <b8320d2a-f7c6-466e-b65f-2fb9c4f2e...@scotgate.org> Content-Type: text/plain; charset="utf-8" Hello all, First let me say it?s encouraging to see so much activity on this list once again. Since the MrDave fork it seems that there?s renewed enthusiasm! Yippee! Anyway?. I?ve just been updating firmware on some Foscam cameras and run into issues. I have four Foscam FI8905 camera running in a 7 camera CCTV setup. So far this has been running smoothly for quite some years. Currently I?m using the MrDave fork with the latest checkout. I've just upgraded the firmware on three of the Foscam cameras to 11.35.2.55/2.4.20.10. They've now stopped working with Motion. (1) I upgraded firmware (2) When logging on the first time I was asked to change password as my old password was a-z only. I added numbers to it. (3) there was some shenanigans that happened as the password is automatically, without warning, truncated to 12 characters! However, once solved I can now logon via the web interface fine. However, Motion does not work at all. The log just shows errors along these lines: ################# Mar 09 16:31:50 [motion] [1] [ERR] [NET] netcam_connect: timeout on connect() Mar 09 16:31:50 [motion] [1] [ERR] [NET] Failed to open camera - check your config and that netcamera is online Mar 09 16:31:50 [motion] [1] [ERR] [NET] netcam_http_request: Failed to read first camera header - giving up for now Mar 09 16:31:50 [motion] [1] [WRN] [ALL] motion_loop: Retrying until successful connection with camera Mar 09 16:31:50 [motion] [1] [ALR] [NET] netcam_start: Network Camera thread starting... for url (http://192.168.1.133/videostream.cgi?user=admin?pwd=XXXXX <http://192.168.1.133/videostream.cgi?user=admin?pwd=XXXXX>) Mar 09 16:31:50 [motion] [5] [ERR] [NET] netcam_connect: timeout on connect() Mar 09 16:31:50 [motion] [5] [ERR] [NET] Failed to open camera - check your config and that netcamera is online Mar 09 16:31:50 [motion] [5] [ERR] [NET] netcam_http_request: Failed to read first camera header - giving up for now ############# The net cam_url is http://192.168.1.133/videostream.cgi?user=admin?pwd=XXXXX <http://192.168.1.133/videostream.cgi?user=admin?pwd=XXXXX> The camera that is still running 11.35.2.49/2.4.20.5 is still working fine. Has the URL changed? Any tips? Cheers, Chris -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Wed, 09 Mar 2016 19:09:42 +0000 From: Fritiof Hedman <frit...@hedman.eu> Subject: Re: [Motion-user] Issues with latest firmware on Foscam FI 8905 and Motion To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CADU7ddxJFA9MmGEJ6sw9T0RUtKh+8ayjaD0JrO-nxYj=1ok...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" What happens if you open that url from a regular browser? Do you get any errors? On Wed, 9 Mar 2016 20:08 , <f...@scotgate.org> wrote: > Hello all, > > First let me say it?s encouraging to see so much activity on this list > once again. Since the MrDave fork it seems that there?s renewed enthusiasm! > Yippee! > > Anyway?. I?ve just been updating firmware on some Foscam cameras and run > into issues. > > I have four Foscam FI8905 camera running in a 7 camera CCTV setup. So far > this has been running smoothly for quite some years. Currently I?m using > the MrDave fork with the latest checkout. > > I've just upgraded the firmware on three of the Foscam cameras to > 11.35.2.55/2.4.20.10. They've now stopped working with Motion. > > (1) I upgraded firmware > (2) When logging on the first time I was asked to change password as my > old password was a-z only. I added numbers to it. > (3) there was some shenanigans that happened as the password is > automatically, without warning, truncated to 12 characters! However, > once solved I can now logon via the web interface fine. > > However, Motion does not work at all. The log just shows errors along > these lines: > > ################# > > Mar 09 16:31:50 [motion] [1] [ERR] [NET] netcam_connect: timeout on connect() > > Mar 09 16:31:50 [motion] [1] [ERR] [NET] Failed to open camera - check your > config and that netcamera is online > > Mar 09 16:31:50 [motion] [1] [ERR] [NET] netcam_http_request: Failed to read > first camera header - giving up for now > > Mar 09 16:31:50 [motion] [1] [WRN] [ALL] motion_loop: Retrying until > successful connection with camera > > Mar 09 16:31:50 [motion] [1] [ALR] [NET] netcam_start: Network Camera thread > starting... for url ( > http://192.168.1.133/videostream.cgi?user=admin?pwd=XXXXX) > > Mar 09 16:31:50 [motion] [5] [ERR] [NET] netcam_connect: timeout on connect() > > Mar 09 16:31:50 [motion] [5] [ERR] [NET] Failed to open camera - check your > config and that netcamera is online > > Mar 09 16:31:50 [motion] [5] [ERR] [NET] netcam_http_request: Failed to read > first camera header - giving up for now > ############# > > The net cam_url is > http://192.168.1.133/videostream.cgi?user=admin?pwd=XXXXX > > The camera that is still running 11.35.2.49/2.4.20.5 is still working > fine. > > Has the URL changed? Any tips? > > Cheers, > Chris > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 ------------------------------ _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user End of Motion-user Digest, Vol 118, Issue 5 *******************************************