|
From: Barry M. <bar...@gm...> - 2023-08-28 14:25:36
|
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
|