Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Intel Realsense (John D. Gwinner)
2. Re: Image and Video retention (Vincent Toscano)
3. Re: Problem with image webview (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Sun, 31 Mar 2019 15:15:58 +0000
From: "John D. Gwinner" <[email protected]>
To: Motion discussion list <[email protected]>
Subject: [Motion-user] Intel Realsense
Message-ID:
<byapr01mb421306cfba2ff5a67d2bbb33c3...@byapr01mb4213.prod.exchangelabs.com>
Content-Type: text/plain; charset="us-ascii"
Hi
Has anyone used Motion to process the output of an Intel realsense camera? I
was thinking of simply using the GRB depth info to detect motion, and have
ffmpeg just record the visible channel once motion was detected.
I could probably build something out of their SDK, but it seems to me that's
reinventing the axle.
I searched github, didn't see anything obvious. Bing searches of "Intel
Realsense Motion" of course are pretty general.
I did find that the conventional RGB (no depth or IR) works fine as
/dev/video0, but really wanted to use the RGB-D. It appears this doesn't show
up as a conventional camera, although I can of course get to that
programmatically. So I guess I could fork a copy of Motion and use the
Librealsense C++ to obtain the data (if a configuration switch is set to do
this). Would be really great if someone's already done it.
Thoughts?
== John ==
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Sun, 31 Mar 2019 20:22:25 -0700
From: Vincent Toscano <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Image and Video retention
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
For anyone that's interested?
Rotation for images and videos (14 days worth)
1. sudo su
2. crontab -e
1. Adding a daily job for 5:30 am to crontab:
2. 30 5 * * * /root/tabs/removeFilesOlderThan.sh
3. Save and exit
4. Create job script and make executable:
1. chmod u+x removeFileOlderThanXDays.sh
2. Add to script file:
1. #!/bin/sh
2. find /home/YOUR_USERNAME/motion/images+videos -mtime +13
-exec rm -f {} \;
*FYI You could use -delete instead of -exec rm -f {} \; on Debian-based
systems. Note, delete will also remove directories.
Rotation for logs (14 days worth)
As root or using sudo:
1. sudo vi /etc/logrotate.d/motion
2. Altered config file:
/var/log/motion/motion.log {
??????? rotate 14
??????? daily
??????? size 50M
??????? compress
??????? delaycompress
??????? missingok
??????? notifempty
??????? copytruncate
??????? postrotate
??????????????? sudo service motion restart > /dev/null
??????? endscript
}
Important, since I'm running in daemon mode, the Linux user group
*video* will need write access to where you want to store media files
(vids, images?).
--
Best,
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Mon, 1 Apr 2019 11:38:00 +0300
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Problem with image webview
Message-ID:
<cachtdwrk8e9r6jjdbsagaznaehdziuzfxnydjtkzfdruvkt...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
I suspect this is caused by invalid default v4l brightness settings
Would it be possible for you to compile the latest 4.2.2 from sources
and use the motion-dist config for a test?
How to set V4L params is described here:
https://motion-project.github.io/motion_config.html#vid_control_params
On Sun, Mar 31, 2019 at 1:51 PM David M. <[email protected]> wrote:
>
> Hello
>
> I send my configuration with log on Debian 9.
> The images is at 11:00am, full days !
>
> cordially
>
> Le ven. 29 mars 2019 ? 16:07, dav.tlse31 <[email protected]> a ?crit :
>>
>> I send my config file for debian 8 and 9
>> And capture image with motion 3.2 (image with color) and motion 4.1 (image
>> poor)
>> It's at same hour different days
>>
>> When full day, on motion 3.2, image is ok
>> On motion 4.1, night or days, same image ....
>>
>> Cordially
>>
>>
>>
>> Envoy? depuis mon smartphone Samsung Galaxy.
>>
>> -------- Message d'origine --------
>> De : tosiara <[email protected]>
>> Date : 29/03/2019 10:41 (GMT+01:00)
>> ? : Motion discussion list <[email protected]>
>> Objet : Re: [Motion-user] Problem with image webview
>>
>> You use 100% same config with both 3.2 and 4.1? I doubt this will
>> work. There were too many changes between those versions which include
>> some config param names. Can you provide logs for both versions?
>>
>> On Fri, Mar 29, 2019 at 11:26 AM dav.tlse31 <[email protected]> wrote:
>> >
>> > The configuration posted is 4.1
>> > I don't send the motion configuration 3.2
>> > I have delete automatic file on /etc/motion and purge packge/remove, same
>> > problem ...
>> >
>> >
>> >
>> > Envoy? depuis mon smartphone Samsung Galaxy.
>> >
>> > -------- Message d'origine --------
>> > De : Dougie Nisbet <[email protected]>
>> > Date : 29/03/2019 10:15 (GMT+01:00)
>> > ? : Motion discussion list <[email protected]>
>> > Objet : Re: [Motion-user] Problem with image webview
>> >
>> > I?m a little confused. The configuration file you posted seemed to be from
>> > 4.1 so can?t be the one you used for 3.2.
>> >
>> > Another possibility is that since you upgraded it?s not reading the
>> > configuration file that you expect. I don?t recall the exact order but
>> > check whether it?s using the configuration file that you expect. I usually
>> > delete the file in /etc for neatness and use configuration files under
>> > .motion directory in my home directory.
>> >
>> > Dougie
>> >
>> > On 29 Mar 2019, at 09:06, dav.tlse31 <[email protected]> wrote:
>> >
>> > Same configuration, save files, same hardware
>> > Only debian 8 and motion 3.2 or debian 9 and motion 4.1
>> >
>> >
>> >
>> > Envoy? depuis mon smartphone Samsung Galaxy.
>> >
>> > -------- Message d'origine --------
>> > De : tosiara <[email protected]>
>> > Date : 29/03/2019 09:16 (GMT+01:00)
>> > ? : Motion discussion list <[email protected]>
>> > Objet : Re: [Motion-user] Problem with image webview
>> >
>> > Can you provide both configs, both logs and both sample images from
>> > your older and newer motion?
>> >
>> > On Thu, Mar 28, 2019 at 6:28 PM dav.tlse31 <[email protected]> wrote:
>> > >
>> > > Hello
>> > >
>> > > I use debian 9 with motion 4.1 from official package.
>> > > I have an USB webcam c170 logitech.
>> > >
>> > > I have already tested this webcam on debian 8 and motion 3.x and all
>> > > it's ok.
>> > >
>> > > On motion 4.1, the view is very very bad, color is very bad as white.
>> > > I have find an tutorial with this problem with disable deprecation but
>> > > not work.
>> > >
>> > > Could you help me?
>> > >
>> > > Sorry for my bad English
>> > > David
>> > >
>> > >
>> > >
>> > > Envoy? depuis mon smartphone Samsung Galaxy.
>> > > _______________________________________________
>> > > Motion-user mailing list
>> > > [email protected]
>> > > 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
>> > [email protected]
>> > 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
>> > [email protected]
>> > 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
>> > [email protected]
>> > 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
>> [email protected]
>> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 154, Issue 1
*******************************************