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: Motion not showing web page, nor captured videos (Ian Smith) 2. Re: Motion not showing web page, nor captured videos (Barry Martin) ---------------------------------------------------------------------- Message: 1 Date: Mon, 28 Aug 2023 15:19:06 +0100 From: Ian Smith <ian.smit...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Motion not showing web page, nor captured videos Message-ID: <0d34dca2-3ba7-bd5f-bb48-f7884c6b0...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Dear Ronnie and Roger, Many thanks for your help. I commented the stream port in the motion.conf file and enabled a stream port in the camera conf files, and now if I view on the localhost or a remote computer, I can see the streams, but I cannot see the webcontrol data on port 8080. I then tried the webcontrol port on 8040, and I can see the webpage from localhost, but no configuration/ streams. Is there a reason for it not showing the streams - I am sure it used to show them? And is there a way to review the captured videos without manually having to play each one? Many thanks, Kind Regards, On 28/08/2023 13:13, Ronnie McMaster wrote: > Is streaming enabled?? Do you have the following options configured? > Can you open the streams on the localhost with the cameras connected? > Being they're on Ubuntu, is UFB enabled? To check open a terminal and > run sudo ufw status. If enabled, then you need to allow the inbound > connections. GUFW is an easy GUI for adding the rules. If you need > help with GUFW, then email me directly and I can include screenshots. > > # Limit the framerate to 1 frame per second when there is no motion > being detected and increase it to the stream_maxrate when there is motion. > stream_motion on > # Maximum framerate for stream streams (default: 1) > stream_maxrate 5 > > Thanks, > Ronnie McMaster > > > On Mon, Aug 28, 2023 at 2:32?AM Ian Smith <ian.smit...@gmail.com> wrote: > > My apologies for what most likely is a silly error on my behalf, > but I am experiencing two issues. > > I am running Ubuntu 20.04, and I installed the latest version of > motion. > > I have individual config files for the cameras, and a motion.conf > file that refers to them. > > My motion.conf file also defines the web control port as 8080, and > the stream port as 8081. > > Both the stream and web control "localhost" are "off" to allow me > to view/ control from other devices. > > I can see the log file isn't showing any errors, and I am seeing > files accumulating in my defined folder. > > I can see the localhost apache server default page is visible on > the localhost and remotely. > > However, the page that should appear on port 8080 doesn't appear, > nor does the stream on 8081. Both return "ERR_CONNECTION_REFUSED", > but I cannot fathom why. > > I have checked that the firewall isn't blocking those ports, and > the ports are open according to nmap. > > I don't know what I have done wrong. > > Also, when I did have this working before the computer crashed, > the web pages were showing, but I couldn't see a way to review the > captured videos ( I had previously used zoneminder, which had a > simple way to review activity). > > I have been unable to find answers on the internet, nor in the > documentation, so any help would be most appreciated. > > Many thanks, > _______________________________________________ > 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... ------------------------------ Message: 2 Date: Mon, 28 Aug 2023 09:25:23 -0500 From: Barry Martin <barry3mar...@gmail.com> To: Ian Smith <ian.smit...@gmail.com>, motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Motion not showing web page, nor captured videos Message-ID: <6b130bac-e0f2-3062-ffc3-9f2caeca8...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Ian: > My apologies for what most likely is a silly error on my behalf, but I > am experiencing two issues. > > I am running Ubuntu 20.04, and I installed the latest version of motion. > > I have individual config files for the cameras, and a motion.conf file > that refers to them. > > My motion.conf file also defines the web control port as 8080, and the > stream port as 8081. Do you have a camera number defined in either motion.conf or camera(n).conf? *camera_id 102*??? I found I needed to add it after a virgule ('forward slash'): http://192.168.4.219:8081/102.?? Also note the lack of the 's' at the end of 'http'. Each camera probably should have it's own ID or at least run on a different port.? I prefer to keep the streaming port consistent (8081) and make the ID of the individual camera unique.? AFAIK any number can be used: single digit also OK. > Also, when I did have this working before the computer crashed, the > web pages were showing, but I couldn't see a way to review the > captured videos You're supposed to be able to keep and find your notes on how you did all this stuff!? <joking>? I send my videos to my NAS: (from camera[n].conf) *# File name(without extension) for movies relative to target directory** **movie_filename %m-%d/%v-%Y%m%d%H%M%S** ** **# picture_filename CAM1_%v-%Y%m%d%H%M%S-%q** ** **# target_dir /mnt/NSA320/Unit_1/Camera2** **target_dir? /mnt/NAS_Motion* /etc/fstab points my Raspberry Pi (so not Ubuntu but close enough for examples) to the remote storage computer. In movie_filename the? %m-%d/? part creates a daily directory on the NAS and puts that day's recordings there.? For me easier and simpler to click camera > date > select video than to scroll though one reallllly long list.?? I have a script which deletes old directories (I'm using older than 35 days).?? The Motion videos (mkv format) are retrieved from the NAS -- I have a shortcut on my Desktop.? This computer (the one with the Desktop shortcut) is running Ubuntu 22.04.? Videos (Totem) didn't like the mkv format -- forgot what it did.? I use "mpv Media Player" to view. HTH and not too confusing, especially the last part.? Umm, maybe this clarifies? ??? ??? ??? Raspberry Pi with Motion ====>??? NAS (mkv storage)???? <==== Ubuntu 22.04 Barry -------------- 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 204, Issue 5 *******************************************