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: Using Motion to wake Screensaver (Roger Heflin)
   2. mkv vs mp4 (Harlan Daneker)
   3. Re: Remote target_dir vs remote cameras (Roger Heflin)
   4. Re: Using Motion to wake Screensaver (Kc Hundere)


----------------------------------------------------------------------

Message: 1
Date: Tue, 2 Feb 2021 18:03:27 -0600
From: Roger Heflin <roger.hef...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Using Motion to wake Screensaver
Message-ID:
        <CAAMCDedGd_PrO2ZYDBQxwmtVZ1vJLGHxB5UL8=1hkdhbun5...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

xhost +SI:localhost:<username>  will allow that user on the local
machine to work with the display when the DISPLAY variable is set
correctly.

So add that to something in the login path for the x server.


On Tue, Feb 2, 2021 at 1:00 PM Mike Mironov <m...@darkmike.ru> wrote:
>
> I  think your problem is X server security - xauth. When your run command 
> from pi user your use credentials from /home/pi/.Xauthority file. In this 
> file exist cookie for connect to Xserver.
> When your run script from motion user your don't have this cookie.
>
> Simplest solution: run command "xhost +" from pi user. It's disable X security
>
> 02.02.2021 19:26, Kc Hundere wrote:
>
> 'm working on using a pi/official 7" touch screen with chromium-browser in 
> kiosk mode to run screens to control my Home Automation system. I am trying 
> to configure the pi camera with motion to wake the screen saver instead of 
> touching the screen but am having no luck making it happen.
>
> From the command line via ssh , I can issue the command DISPLAY=:0.0 xset 
> dpms force on to wake the screensaver, but it does not work issuing the 
> command from either the on_event_start trigger or the or the 
> on_motion_detected trigger. I have tried the command directly from 
> motion.conf as well as including it in a bash script. Both methods work from 
> the command line, but not from motion.
>
> It is not a permissions issue. I have a directory with the the ownership 
> motion:motion that house the scripts, and if I change the value of the 
> trigger to >/motion/trigger it will dutifully create an empty file in that 
> directory.
>
> Can anyone shed any new light to this issue?
>
>
> --
>
>
> _______________________________________________
> 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



------------------------------

Message: 2
Date: Tue, 2 Feb 2021 21:14:44 -0500
From: Harlan Daneker <hdane...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: [Motion-user] mkv vs mp4
Message-ID:
        <CAC1WkiSRK_C4R7fz+vaEiHWZOvfsaj+G3=v7sb7toqcbpxf...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

This works using the h265 codec. The mp4 files will playback using mplayer
or vlc, *but will not playback using firefox*. Is there a way to make the
mp4 files compatible with firefox?

movie_extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h
-framerate %fps -i pipe:0 -vcodec libx265 -preset ultrafast -f mp4 %f.mp4

Thanks,
Harlan
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Tue, 2 Feb 2021 17:57:21 -0600
From: Roger Heflin <roger.hef...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Remote target_dir vs remote cameras
Message-ID:
        <CAAMCDedEFf9wauwYjD2HqNtS0j+Ai4PyWgZ5SUrpoTW6KU=x...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

On Tue, Feb 2, 2021 at 6:15 AM fugee ohu <fugee...@gmail.com> wrote:
>
> It doesn't make sense to have files saved on site but instead remotely
> To do that I'd have to have either remote cameras or I could have the
> cameras connected to a local computer running motion with a remote
> target_dir
>
You can put a remote computer doing the collecting but then have them
quickly rsync elsewhere.

Doing that the local computer would only need storage for a short
period of time (maybe 24 hours or less depending on how fast they get
copied off).

I am doing this with my parents house.  There is a $135-Intelnuc(j4005
cpu)+ram+ssd on site running 4 cameras and collecting images when
motion happens.   I have rsync grabbing images fairly quickly, though
if you have the bandwidth you can use fsnotify to see when new files
get created and do something with them.     The real issue with remote
cameras is the bandwidth requirements are fairly high, and with
everything remote any slight loss of internet breaks the system.

I have had good luck with doing images 2-4 a second seems to be enough
that you know exactly what is going on, and the jpegs I have been
getting from the cameras I have are high quality, and each image
stands by itself.



------------------------------

Message: 4
Date: Tue, 2 Feb 2021 16:57:13 -0700
From: Kc Hundere <k...@hundere.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Using Motion to wake Screensaver
Message-ID:
        <CANVV=vuYjhfjBxpyjXZbtMR_Dm328Xh=rcmx02t1mbsx64e...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

This is the answer!  Thank you so much!

On Tue, Feb 2, 2021 at 12:00 PM Mike Mironov <m...@darkmike.ru> wrote:

> I  think your problem is X server security - xauth. When your run command
> from pi user your use credentials from /home/pi/.Xauthority file. In this
> file exist cookie for connect to Xserver.
> When your run script from motion user your don't have this cookie.
>
> Simplest solution: run command "xhost +" from pi user. It's disable X
> security
>
> 02.02.2021 19:26, Kc Hundere wrote:
>
> 'm working on using a pi/official 7" touch screen with chromium-browser in
> kiosk mode to run screens to control my Home Automation system. I am trying
> to configure the pi camera with motion to wake the screen saver instead of
> touching the screen but am having no luck making it happen.
>
> From the command line via ssh , I can issue the command *DISPLAY=:0.0
> xset dpms force on* to wake the screensaver, but it does not work issuing
> the command from either the on_event_start trigger or the or the
> on_motion_detected trigger. I have tried the command directly from
> motion.conf as well as including it in a bash script. Both methods work
> from the command line, but not from motion.
>
> It is not a permissions issue. I have a directory with the the ownership
> motion:motion that house the scripts, and if I change the value of the
> trigger to *>/motion/trigger* it will dutifully create an empty file in
> that directory.
>
> Can anyone shed any new light to this issue?
>
> --
>
>
> _______________________________________________
> Motion-user mailing 
> listMotion-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/motion-userhttps://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



-- 
=+=+=+=+=+=+=+=+
KC Hundere
k...@hundere.com
-------------- 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 176, Issue 9
*******************************************

Reply via email to