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. pictures not saving (Tim Brown) 2. Re: pictures not saving (Mike Wilson) 3. Re: pictures not saving (tosiara) 4. Re: pictures not saving (Tim Brown) ---------------------------------------------------------------------- Message: 1 Date: Thu, 14 Feb 2019 18:21:12 -0500 From: Tim Brown <gik...@gmail.com> To: motion-user@lists.sourceforge.net Subject: [Motion-user] pictures not saving Message-ID: <CAMR_f+6=6k-s-xf_kfb6owfc9ss9_gdlbgvzuckp-b3josw...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" target_dir is set, filename is set and these settings are there: camera_name FrontDoor threshold 50000 target_dir value /cams/nmotion picture_output on picture_output_motion off picture_type jpeg picture_filename front/FrontDoor_%t-%v-%Y%m%d%H%M%S The output shows: [1:ml1:FrontDoor] [NTC] [EVT] event_newfile: File of type 1 saved to: value /cams/nmotion/front/FrontDoor_101-01-20190214181340.jpg [1:ml1:FrontDoor] [NTC] [EVT] Above message repeats 28 times But, no files show up. I have used the 3x version for years with good success, just trying to get this new one going. The version is 4.2.1. Any ideas? -- ? Tim Brown -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Fri, 15 Feb 2019 00:10:14 -0500 From: Mike Wilson <knobby2...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] pictures not saving Message-ID: <CAAVeUCqAMnMOx+obV8tNt+NyxcsNCU9tvYStdMVYr==mfuh...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" My first thought is the filename can't have a / in it. Try setting filename to just FrontDoor_101... And make target_dir /came/motion/front. On Thu, Feb 14, 2019 at 6:22 PM Tim Brown <gik...@gmail.com> wrote: > target_dir is set, filename is set and these settings are there: > camera_name FrontDoor > threshold 50000 > target_dir value /cams/nmotion > picture_output on > picture_output_motion off > picture_type jpeg > picture_filename front/FrontDoor_%t-%v-%Y%m%d%H%M%S > > The output shows: > [1:ml1:FrontDoor] [NTC] [EVT] event_newfile: File of type 1 saved to: > value /cams/nmotion/front/FrontDoor_101-01-20190214181340.jpg > [1:ml1:FrontDoor] [NTC] [EVT] Above message repeats 28 times > > But, no files show up. > > I have used the 3x version for years with good success, just trying to get > this new one going. > The version is 4.2.1. > > Any ideas? > -- > ? Tim Brown > _______________________________________________ > 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: Fri, 15 Feb 2019 08:28:11 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] pictures not saving Message-ID: <CACHTdwRx=kxy6bfwaey23xcqk9ktlc4wvphwqqccsoljhzx...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" You have a typo: target_dir value /cams/nmotion Remove "value" On Fri, Feb 15, 2019 at 1:22 AM Tim Brown <gik...@gmail.com> wrote: > > target_dir is set, filename is set and these settings are there: > camera_name FrontDoor > threshold 50000 > target_dir value /cams/nmotion > picture_output on > picture_output_motion off > picture_type jpeg > picture_filename front/FrontDoor_%t-%v-%Y%m%d%H%M%S > > The output shows: > [1:ml1:FrontDoor] [NTC] [EVT] event_newfile: File of type 1 saved to: value > /cams/nmotion/front/FrontDoor_101-01-20190214181340.jpg > [1:ml1:FrontDoor] [NTC] [EVT] Above message repeats 28 times > > But, no files show up. > > I have used the 3x version for years with good success, just trying to get > this new one going. > The version is 4.2.1. > > Any ideas? > -- > ? Tim Brown > _______________________________________________ > 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 ------------------------------ Message: 4 Date: Fri, 15 Feb 2019 05:58:44 -0500 From: Tim Brown <gik...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] pictures not saving Message-ID: <camr_f+5xhx2hdj_1_7zsxer-cavkan6pxmfqeph3a23g2jt...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" The typo was it! I removed "value" and files are saving. Thank you! Not saving to the database yet though. Conf for mysql: > 95 #setup_mode off > > 96 sql_log_snapshot on > > 97 sql_log_picture on > > 98 sql_log_movie off > > 99 database_type mysql > > 100 database_dbname security > > 101 database_host localhost > > 102 database_port 3306 > > 103 database_user xxxx > > 104 database_password xxxx > > 105 > > 106 sql_query insert into security(camera, filename, frame, file_type, >> time_stamp, text_event) values('%t', '%f', '%q', '%n', '% Y-%m-%d >> %T', '%C') > > >> sql_query is the same as before. No records appearing yet. I must have missed a step? On Fri, Feb 15, 2019 at 1:29 AM tosiara <tosi...@gmail.com> wrote: > You have a typo: > target_dir value /cams/nmotion > > Remove "value" > > On Fri, Feb 15, 2019 at 1:22 AM Tim Brown <gik...@gmail.com> wrote: > > > > target_dir is set, filename is set and these settings are there: > > camera_name FrontDoor > > threshold 50000 > > target_dir value /cams/nmotion > > picture_output on > > picture_output_motion off > > picture_type jpeg > > picture_filename front/FrontDoor_%t-%v-%Y%m%d%H%M%S > > > > The output shows: > > [1:ml1:FrontDoor] [NTC] [EVT] event_newfile: File of type 1 saved to: > value /cams/nmotion/front/FrontDoor_101-01-20190214181340.jpg > > [1:ml1:FrontDoor] [NTC] [EVT] Above message repeats 28 times > > > > But, no files show up. > > > > I have used the 3x version for years with good success, just trying to > get this new one going. > > The version is 4.2.1. > > > > Any ideas? > > -- > > ? Tim Brown > > _______________________________________________ > > 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 -- ? Tim Brown -------------- 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 152, Issue 7 *******************************************