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. a bit of help please Motion 4.4. (Richard Bown) 2. Re: a bit of help please Motion 4.4. (Richard Bown) 3. Re: a bit of help please Motion 4.4. (Zinister) ---------------------------------------------------------------------- Message: 1 Date: Sun, 25 Sep 2022 16:49:44 +0100 From: Richard Bown <rich...@g8jvm.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: [Motion-user] a bit of help please Motion 4.4. Message-ID: <0a92efbdb0f4f2a9d363af8281c0f67cda501fe2.ca...@g8jvm.com> Content-Type: text/plain; charset="UTF-8" Hi, Had the whole system with 5 cameras up and running on 4.3 on a Odroid N2+ running ubuntu 22, but found one camera was starting to fail Increased the logging to level 7, and to my horror when watching the log file saw someone with a 193.x.x.x IP address accessing a stream. My fault I was careless and had opened the firewall with port forwarding to the machine running motion. What ever he did it stopped motion running and on restarting found 3 cameras had no access streaming from motion. So barn door shut and port forwarding removed so its back behind the firewall. Stupid oversight !!! I saved my camera conf files , purged motion and downloaded 4.4 src, built OK, on running started up ok but the log file shows this > [2:ml2] [INF] [VID] v4l2_ctrls_list: -------------------------- > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 referenced > [1:ml1] [INF] [ENC] Above message repeats 1 times > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > [2:ml2] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to > 1 items > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 referenced > [1:ml1] [INF] [ENC] Above message repeats 1 times > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 referenced > [1:ml1] [INF] [ENC] Above message repeats 1 times > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 referenced > Could someone point me in the correct direction to get this fully working again please TIA -- --? ?Best wishes /73? ?Richard Bown ? ?Email : rich...@g8jvm.com ------------------------------ Message: 2 Date: Sun, 25 Sep 2022 18:42:08 +0100 From: Richard Bown <rich...@g8jvm.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] a bit of help please Motion 4.4. Message-ID: <8fdcd51a857aaa2196628d1f60bc7b15e38c2be9.ca...@g8jvm.com> Content-Type: text/plain; charset="UTF-8" A bit more , all the IP cams are Foscam FI9800O , I found these worked well , I can only get one camera working , which is the newest with later firmware which uses port 88 for rtsp, all the others use port 554. I can connect to both streaming ports, just running 2 cams until a fix is found log shows > [0:motion] [NTC] [ALL] [Sep 25 18:22:01] motion_start_thread: Camera > ID: 103 Camera Name: MyCam3 Service: rtsp: > [2:ml2:MyCam3] [NTC] [ALL] [Sep 25 18:22:01] motion_init: Camera 103 > started: motion detection Enabled > [2:ml2:MyCam3] [NTC] [VID] [Sep 25 18:22:01] vid_start: Opening > Netcam RTSP > [2:ml2:MyCam3] [ERR] [NET] [Sep 25 18:22:01] > netcam_rtsp_open_context: norm: Unable to open camera(MyCam3): > Invalid data found when processing input > [2:ml2:MyCam3] [NTC] [NET] [Sep 25 18:22:01] netcam_rtsp_cleanup: > Normal resolution: Shut down complete. > [2:ml2:MyCam3] [ERR] [VID] [Sep 25 18:22:01] vid_start: Netcam RTSP > failed to open > [2:ml2:MyCam3] [WRN] [ALL] [Sep 25 18:22:01] motion_init: Could not > fetch initial image from camera > [2:ml2:MyCam3] [WRN] [ALL] [Sep 25 18:22:01] motion_init: Motion > continues using width and height from config file(s) > [2:ml2:MyCam3] [NTC] [ALL] [Sep 25 18:22:01] image_ring_resize: > Resizing pre_capture buffer to 1 items > [2:ml2:MyCam3] [NTC] [ALL] [Sep 25 18:22:01] image_ring_resize: > Resizing pre_capture buffer to 4 items > My camera3.conf is > # //etc/motion/camera1.conf > # > # This config file was generated by motion 4.4.0 > > ########################################################### > # Configuration options specific to camera 3 > ############################################################ > # User defined name for the camera. > camera_name MyCam3 > > # Numeric identifier for the camera. > camera_id 103 > > # The full URL of the network camera stream. > ;netcam_url rtsp://yourcamera1ip:port/camera/specific/url > netcam_url rtsp://192.168.1.142:88/videoMain <<<<< > > netcam_userpass richard:xxxxxxxxxx > > # Image width in pixels. > ;width 1280 > > # Image height in pixels. > ;height 720 > > # Text to be overlayed in the lower left corner of images > text_left CAMERA 3 > > # File name(without extension) for movies relative to target > directory > movie_filename CAM03_%t-%v-%Y%m%d%H%M%S > > ;area_detect 1,2,4,5,6,7,8,9 > > target_dir /home/odroid/Pictures/motion3/ > > stream_port 8085 > Both port 88 and 554 have been tried The video setting on cam3 Stream type user definesd Resolution VGA 640*480 Bit Rate 512K Frame rate 30 On cam1 which is working the same except frame rate of 25 I dont know what the intruder did, except motion stopped so di 3 ip cams I know its my fault for crap security :( ( On Sun, 2022-09-25 at 16:49 +0100, Richard Bown wrote: > Hi, > Had the whole system with 5 cameras up and running? on 4.3 on a > Odroid > N2+ running ubuntu 22, but found one camera was starting to fail > Increased the logging to level 7, and to my horror when watching the > log file saw someone with a 193.x.x.x IP address accessing a stream. > My fault I was careless and had opened the firewall with port > forwarding to the machine running motion. What ever he did it stopped > motion running and on restarting found 3 cameras had no access > streaming from motion. > So barn door shut and port forwarding removed so its back behind the > firewall. Stupid oversight !!! > I saved my camera conf files , purged motion and downloaded 4.4 src, > built OK, on running started up ok but the log file shows this > > [2:ml2] [INF] [VID] v4l2_ctrls_list: -------------------------- > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > [1:ml1] [INF] [ENC] Above message repeats 1 times > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > > [2:ml2] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer > > to > > 1 items > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > [1:ml1] [INF] [ENC] Above message repeats 1 times > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > [1:ml1] [INF] [ENC] Above message repeats 1 times > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > > > Could someone point me in the correct direction to get this fully > working again please > TIA > ------------------------------ Message: 3 Date: Sun, 25 Sep 2022 18:18:37 +0000 (UTC) From: Zinister <zinnn...@aol.com> To: <rich...@g8jvm.com>, Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] a bit of help please Motion 4.4. Message-ID: <884398959.232018.1664129917...@mail.yahoo.com> Content-Type: text/plain; charset="utf-8" Let TCP/UDP?port 1935 & TCP 80 (8080 or 8088?directed at your webcam? Sent from the all new AOL app for iOS On Sunday, September 25, 2022, 12:58, Richard Bown <rich...@g8jvm.com> wrote: A bit more , all the IP cams are Foscam FI9800O , I found these worked well , I can only get one camera working , which is the newest with later firmware which uses port 88 for rtsp, all the others use port 554. I can connect to both streaming ports, just running 2 cams until a fix is found log shows > [0:motion] [NTC] [ALL] [Sep 25 18:22:01] motion_start_thread: Camera > ID: 103 Camera Name: MyCam3 Service: rtsp: > [2:ml2:MyCam3] [NTC] [ALL] [Sep 25 18:22:01] motion_init: Camera 103 > started: motion detection Enabled > [2:ml2:MyCam3] [NTC] [VID] [Sep 25 18:22:01] vid_start: Opening > Netcam RTSP > [2:ml2:MyCam3] [ERR] [NET] [Sep 25 18:22:01] > netcam_rtsp_open_context: norm: Unable to open camera(MyCam3): > Invalid data found when processing input > [2:ml2:MyCam3] [NTC] [NET] [Sep 25 18:22:01] netcam_rtsp_cleanup: > Normal resolution: Shut down complete. > [2:ml2:MyCam3] [ERR] [VID] [Sep 25 18:22:01] vid_start: Netcam RTSP > failed to open > [2:ml2:MyCam3] [WRN] [ALL] [Sep 25 18:22:01] motion_init: Could not > fetch initial image from camera > [2:ml2:MyCam3] [WRN] [ALL] [Sep 25 18:22:01] motion_init: Motion > continues using width and height from config file(s) > [2:ml2:MyCam3] [NTC] [ALL] [Sep 25 18:22:01] image_ring_resize: > Resizing pre_capture buffer to 1 items > [2:ml2:MyCam3] [NTC] [ALL] [Sep 25 18:22:01] image_ring_resize: > Resizing pre_capture buffer to 4 items > My camera3.conf is > # //etc/motion/camera1.conf > # > # This config file was generated by motion 4.4.0 > > ########################################################### > # Configuration options specific to camera 3 > ############################################################ > # User defined name for the camera. > camera_name MyCam3 > > # Numeric identifier for the camera. > camera_id 103 > > # The full URL of the network camera stream. > ;netcam_url rtsp://yourcamera1ip:port/camera/specific/url > netcam_url rtsp://192.168.1.142:88/videoMain? <<<<<? > > netcam_userpass richard:xxxxxxxxxx > > # Image width in pixels. > ;width 1280 > > # Image height in pixels. > ;height 720 > > # Text to be overlayed in the lower left corner of images > text_left CAMERA 3 > > # File name(without extension) for movies relative to target > directory > movie_filename CAM03_%t-%v-%Y%m%d%H%M%S > > ;area_detect 1,2,4,5,6,7,8,9 > > target_dir /home/odroid/Pictures/motion3/ > > stream_port 8085 > Both port 88 and 554 have been tried The video setting on cam3 Stream type? user definesd Resolution? ? VGA 640*480 Bit Rate? ? 512K Frame rate 30 On cam1 which is working the same except? frame rate of 25 I dont know what the intruder did, except motion stopped so di 3 ip cams I know its my fault for crap security :( ( On Sun, 2022-09-25 at 16:49 +0100, Richard Bown wrote: > Hi, > Had the whole system with 5 cameras up and running? on 4.3 on a > Odroid > N2+ running ubuntu 22, but found one camera was starting to fail > Increased the logging to level 7, and to my horror when watching the > log file saw someone with a 193.x.x.x IP address accessing a stream. > My fault I was careless and had opened the firewall with port > forwarding to the machine running motion. What ever he did it stopped > motion running and on restarting found 3 cameras had no access > streaming from motion. > So barn door shut and port forwarding removed so its back behind the > firewall. Stupid oversight !!! > I saved my camera conf files , purged motion and downloaded 4.4 src, > built OK, on running started up ok but the log file shows this > > [2:ml2] [INF] [VID] v4l2_ctrls_list: -------------------------- > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > [1:ml1] [INF] [ENC] Above message repeats 1 times > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > > [2:ml2] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer > > to > > 1 items > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > [1:ml1] [INF] [ENC] Above message repeats 1 times > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > [1:ml1] [INF] [ENC] Above message repeats 1 times > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: decode_slice_header error > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: no frame! > > [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: non-existing PPS 0 > > referenced > > > > Could someone point me in the correct direction to get this fully > working again please > TIA > _______________________________________________ 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 195, Issue 4 *******************************************