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: Sample Script Execution on_motion_detected (Zamar Ac)
   2. Re: Sample Script Execution on_motion_detected (tosiara)


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

Message: 1
Date: Sat, 28 Dec 2024 11:22:59 -0500
From: Zamar Ac <zama...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Sample Script Execution on_motion_detected
Message-ID: <2563edc3-8053-4153-995d-0f6a66482...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi tosiara, thank you for pointing to your repo. I've Bodhi Linux 7.0, 
derived from Ubuntu 22.04 LTS (Jammy Jellyfish) 64x base currently 
installed and running with latest Motion. Will try your suggested 
config, and possibly compile ffmpeg if Motion can't open my cam files 
for processing. Would be nice if your sample config include some zone 
mask. I need to ignore in processing the frame area with luminescent 
sealing lamp (just left of the opposite door: see avi sample linked), 
since it gives plenty of false positives in motion detection, especially 
at sunny day time.

Is there any reason you chosen KDE Neon to run Motion? Can you test the 
linked video sample to see if Motion is able to open the file and detect 
motion in it, and how long it takes? Not sure if email file attachments 
are possible in mailing lists. if Motion can't open the file, what would 
you suggest to do, i.e. compile latest ffmpeg, use a different motion 
detection package, etc. Re-encoding video files is NOT an option for me, 
since I've hundreds of video clips, and it'll take forever to re-encode.

MotionTest.avi ( 
https://drive.google.com/file/d/1M8K5gr3L9JiFE3z_5cwW2cchpg7A6oTM/view )

Thank you!


On 12/28/2024 5:25 AM, tosiara wrote:
> Motion can process offline files using netcam config option and 
> file:// protocol.
>
> You can check an example: 
> https://github.com/tosiara/motion/wiki/Processing-of-offline-video-files
>
> On Sat, 28 Dec 2024, 08:27 Zamar Ac, <zama...@gmail.com> wrote:
>
>     Hello, my security camera has basic motion detection in hardware,
>     but saves many false positive 2min motion clips continuously when
>     the scene lighting or other conditions keep changing. The Motion
>     package allows to re-analyze such static video sets for true
>     motion presence. One can use scripting options like
>     /on_event_end/, /on_motion_detected/ etc, which allow to invoke
>     external scripts.
>
>     I'm not a coder, and want to ask if current Motion developer or
>     some experienced users can offer bash script examples for typical
>     scenarios of Motion use for static video analysis. I need to run
>     Motion fast on a loop through a large folder with monthly and
>     daily subfolders storing hundreds of 1080p 25fps HEVC 2min video
>     clips from a security camera, to identify video clips with true
>     motion, and delete remaining false positive videos. It might be
>     possible to speedup video processing by setting higher video FPS
>     value than original, and adding a frame zone mask where to look
>     for motion.
>
>     Once true motion event is detected in a video file, its name
>     should be added to MotionDetectedList.txt, and the file moved to a
>     MotionDetected folder with its date&time added to the file name.
>     Motion should then start processing the next video until all are
>     analyzed.
>
>     I tried a similar small Windows package VideoMotionDetect
>     <https://github.com/shuuryou/videomotiondetect> (
>     https://github.com/shuuryou/videomotiondetect ) based on
>     OpenCVSharp with embedded ffmpg to analyze near 800 continuous
>     daily 720P 25fps 1min AVI video clips from security camera for
>     motion presence, and it took about 30min to process such batch
>     with high detection accuracy, with near 10-15% of clip names with
>     motion detected added to a text file. Sadly, that app can't open
>     HEVC 1080P videos from my another security camera.
>
>     I'd really appreciate any help with this scripting task, or please
>     suggest an existing similar Linux or Windows app able to run such
>     batch motion detection task fast enough on a typical home PC. What
>     clip processing speed one would expect from Motion package in such
>     scenario?
>
>     Thank you!
>
>     _______________________________________________
>     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: Sat, 28 Dec 2024 20:12:48 +0200
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Sample Script Execution on_motion_detected
Message-ID:
        <cachtdwrrlxkd5inpw7df_a1x5o7pwrk-ijp2cmie9q7xx4_...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I'm not using KDE, that repo contains ARM NEON CPU optimizations

On Sat, 28 Dec 2024, 18:24 Zamar Ac, <zama...@gmail.com> wrote:

> Hi tosiara, thank you for pointing to your repo. I've Bodhi Linux 7.0,
> derived from Ubuntu 22.04 LTS (Jammy Jellyfish) 64x base currently
> installed and running with latest Motion. Will try your suggested config,
> and possibly compile ffmpeg if Motion can't open my cam files for
> processing. Would be nice if your sample config include some zone mask. I
> need to ignore in processing the frame area with luminescent sealing lamp
> (just left of the opposite door: see avi sample linked), since it gives
> plenty of false positives in motion detection, especially at sunny day
> time.
>
> Is there any reason you chosen KDE Neon to run Motion? Can you test the
> linked video sample to see if Motion is able to open the file and detect
> motion in it, and how long it takes? Not sure if email file attachments are
> possible in mailing lists. if Motion can't open the file, what would you
> suggest to do, i.e. compile latest ffmpeg, use a different motion detection
> package, etc. Re-encoding video files is NOT an option for me, since I've
> hundreds of video clips, and it'll take forever to re-encode.
>
> MotionTest.avi (
> https://drive.google.com/file/d/1M8K5gr3L9JiFE3z_5cwW2cchpg7A6oTM/view )
>
> Thank you!
>
>
> On 12/28/2024 5:25 AM, tosiara wrote:
>
> Motion can process offline files using netcam config option and file://
> protocol.
>
> You can check an example:
> https://github.com/tosiara/motion/wiki/Processing-of-offline-video-files
>
> On Sat, 28 Dec 2024, 08:27 Zamar Ac, <zama...@gmail.com> wrote:
>
>> Hello, my security camera has basic motion detection in hardware, but
>> saves many false positive 2min motion clips continuously when the scene
>> lighting or other conditions keep changing. The Motion package allows to
>> re-analyze such static video sets for true motion presence. One can use
>> scripting options like *on_event_end*, *on_motion_detected* etc, which
>> allow to invoke external scripts.
>>
>> I'm not a coder, and want to ask if current Motion developer or some
>> experienced users can offer bash script examples for typical scenarios of
>> Motion use for static video analysis. I need to run Motion fast on a loop
>> through a large folder with monthly and daily subfolders storing hundreds
>> of 1080p 25fps HEVC 2min video clips from a security camera, to identify
>> video clips with true motion, and delete remaining false positive videos.
>> It might be possible to speedup video processing by setting higher video
>> FPS value than original, and adding a frame zone mask where to look for
>> motion.
>>
>> Once true motion event is detected in a video file, its name should be
>> added to MotionDetectedList.txt, and the file moved to a MotionDetected
>> folder with its date&time added to the file name. Motion should then start
>> processing the next video until all are analyzed.
>>
>> I tried a similar small Windows package VideoMotionDetect
>> <https://github.com/shuuryou/videomotiondetect> (
>> https://github.com/shuuryou/videomotiondetect ) based on OpenCVSharp
>> with embedded ffmpg to analyze near 800 continuous daily 720P 25fps 1min
>> AVI video clips from security camera for motion presence, and it took about
>> 30min to process such batch with high detection accuracy, with near 10-15%
>> of clip names with motion detected added to a text file. Sadly, that app
>> can't open HEVC 1080P videos from my another security camera.
>>
>> I'd really appreciate any help with this scripting task, or please
>> suggest an existing similar Linux or Windows app able to run such batch
>> motion detection task fast enough on a typical home PC. What clip
>> processing speed one would expect from Motion package in such scenario?
>>
>> Thank you!
>> _______________________________________________
>> 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 
> 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
-------------- 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 219, Issue 6
*******************************************

Reply via email to