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. On Alarm Recording - No Motion (Pablo Prats)
2. track.c compile errors (Jim Dodgen)
3. Re: track.c compile errors (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Apr 2015 19:55:23 -0500
From: Pablo Prats <[email protected]>
Subject: [Motion-user] On Alarm Recording - No Motion
To: [email protected]
Message-ID:
<CAJdqzBEY1Hcjwr45v_YBur8J=yxXXqe4DqEATBjS0xu=36v...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi guys,
This will sound strage, but I need a software that records a clip with 5
seconds pre-recording and 5 seconds post-record.. A total of 10 seconds
after an external http?or socket alarm.
There is no motion detection involve. But I will like to take this motion
pre-recording features... Is this possible with motion?
Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Tue, 28 Apr 2015 14:13:06 -0700
From: Jim Dodgen <[email protected]>
Subject: [Motion-user] track.c compile errors
To: [email protected]
Message-ID:
<CAJ2wgcrAjeadA=zymqhof96oxms2yp+79_7wrqstrtipz4x...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
when i'm doing a make I get a lot of errors. What am I missing?
---cut here ---
track.c: In function ?servo_center?:
track.c:566:18: warning: variable ?ret? set but not used
[-Wunused-but-set-variable]
unsigned int ret = 0;
^
track.c: In function ?uvc_center?:
track.c:936:29: error: storage size of ?control_s? isn?t known
struct v4l2_control control_s;
^
In file included from motion.h:215:0,
from track.c:10:
track.h:182:34: error: ?V4L2_CID_PRIVATE_BASE? undeclared (first use in
this function)
#define V4L2_CID_PANTILT_RESET (V4L2_CID_PRIVATE_BASE+9)
^
track.c:938:24: note: in expansion of macro ?V4L2_CID_PANTILT_RESET?
control_s.id = V4L2_CID_PANTILT_RESET;
^
track.h:182:34: note: each undeclared identifier is reported only once for
each function it appears in
#define V4L2_CID_PANTILT_RESET (V4L2_CID_PRIVATE_BASE+9)
^
track.c:938:24: note: in expansion of macro ?V4L2_CID_PANTILT_RESET?
control_s.id = V4L2_CID_PANTILT_RESET;
^
track.c:941:24: error: ?VIDIOC_S_CTRL? undeclared (first use in this
function)
if (ioctl(dev, VIDIOC_S_CTRL, &control_s) < 0) {
^
track.c:951:31: error: storage size of ?queryctrl? isn?t known
struct v4l2_queryctrl queryctrl;
^
track.c:954:24: error: ?VIDIOC_QUERYCTRL? undeclared (first use in this
function)
if (ioctl(dev, VIDIOC_QUERYCTRL, &queryctrl) < 0) {
^
track.c:951:31: warning: unused variable ?queryctrl? [-Wunused-variable]
struct v4l2_queryctrl queryctrl;
^
track.c:936:29: warning: unused variable ?control_s? [-Wunused-variable]
struct v4l2_control control_s;
^
track.c:984:25: error: storage size of ?control_s? isn?t known
struct v4l2_control control_s;
^
track.c:984:25: warning: unused variable ?control_s? [-Wunused-variable]
track.c: In function ?uvc_move?:
track.c:1080:29: error: storage size of ?control_s? isn?t known
struct v4l2_control control_s;
^
In file included from motion.h:215:0,
from track.c:10:
track.h:182:34: error: ?V4L2_CID_PRIVATE_BASE? undeclared (first use in
this function)
#define V4L2_CID_PANTILT_RESET (V4L2_CID_PRIVATE_BASE+9)
^
track.c:1082:24: note: in expansion of macro ?V4L2_CID_PANTILT_RESET?
control_s.id = V4L2_CID_PANTILT_RESET;
^
track.c:1085:24: error: ?VIDIOC_S_CTRL? undeclared (first use in this
function)
if (ioctl(dev, VIDIOC_S_CTRL, &control_s) < 0) {
^
track.c:1080:29: warning: unused variable ?control_s? [-Wunused-variable]
struct v4l2_control control_s;
^
track.c:1136:25: error: storage size of ?control_s? isn?t known
struct v4l2_control control_s;
^
track.c:1136:25: warning: unused variable ?control_s? [-Wunused-variable]
*Jim Dodgen*
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Wed, 29 Apr 2015 08:13:31 +0300
From: tosiara <[email protected]>
Subject: Re: [Motion-user] track.c compile errors
To: Motion discussion list <[email protected]>
Message-ID:
<cachtdwt2xtnlhs-nkmk9n2dmbfp3cmu1kdcs-41m6xchwkc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Could be this issue: https://github.com/sackmotion/motion/issues/11
Try adding #include <linux/videodev2.h> at the top of track.c
On Wed, Apr 29, 2015 at 12:13 AM, Jim Dodgen <[email protected]> wrote:
> when i'm doing a make I get a lot of errors. What am I missing?
>
> ---cut here ---
>
> track.c: In function ?servo_center?:
> track.c:566:18: warning: variable ?ret? set but not used
> [-Wunused-but-set-variable]
> unsigned int ret = 0;
> ^
> track.c: In function ?uvc_center?:
> track.c:936:29: error: storage size of ?control_s? isn?t known
> struct v4l2_control control_s;
> ^
> In file included from motion.h:215:0,
> from track.c:10:
> track.h:182:34: error: ?V4L2_CID_PRIVATE_BASE? undeclared (first use in
> this function)
> #define V4L2_CID_PANTILT_RESET (V4L2_CID_PRIVATE_BASE+9)
> ^
> track.c:938:24: note: in expansion of macro ?V4L2_CID_PANTILT_RESET?
> control_s.id = V4L2_CID_PANTILT_RESET;
> ^
> track.h:182:34: note: each undeclared identifier is reported only once for
> each function it appears in
> #define V4L2_CID_PANTILT_RESET (V4L2_CID_PRIVATE_BASE+9)
> ^
> track.c:938:24: note: in expansion of macro ?V4L2_CID_PANTILT_RESET?
> control_s.id = V4L2_CID_PANTILT_RESET;
> ^
> track.c:941:24: error: ?VIDIOC_S_CTRL? undeclared (first use in this
> function)
> if (ioctl(dev, VIDIOC_S_CTRL, &control_s) < 0) {
> ^
> track.c:951:31: error: storage size of ?queryctrl? isn?t known
> struct v4l2_queryctrl queryctrl;
> ^
> track.c:954:24: error: ?VIDIOC_QUERYCTRL? undeclared (first use in this
> function)
> if (ioctl(dev, VIDIOC_QUERYCTRL, &queryctrl) < 0) {
> ^
> track.c:951:31: warning: unused variable ?queryctrl? [-Wunused-variable]
> struct v4l2_queryctrl queryctrl;
> ^
> track.c:936:29: warning: unused variable ?control_s? [-Wunused-variable]
> struct v4l2_control control_s;
> ^
> track.c:984:25: error: storage size of ?control_s? isn?t known
> struct v4l2_control control_s;
> ^
> track.c:984:25: warning: unused variable ?control_s? [-Wunused-variable]
> track.c: In function ?uvc_move?:
> track.c:1080:29: error: storage size of ?control_s? isn?t known
> struct v4l2_control control_s;
> ^
> In file included from motion.h:215:0,
> from track.c:10:
> track.h:182:34: error: ?V4L2_CID_PRIVATE_BASE? undeclared (first use in
> this function)
> #define V4L2_CID_PANTILT_RESET (V4L2_CID_PRIVATE_BASE+9)
> ^
> track.c:1082:24: note: in expansion of macro ?V4L2_CID_PANTILT_RESET?
> control_s.id = V4L2_CID_PANTILT_RESET;
> ^
> track.c:1085:24: error: ?VIDIOC_S_CTRL? undeclared (first use in this
> function)
> if (ioctl(dev, VIDIOC_S_CTRL, &control_s) < 0) {
> ^
> track.c:1080:29: warning: unused variable ?control_s? [-Wunused-variable]
> struct v4l2_control control_s;
> ^
> track.c:1136:25: error: storage size of ?control_s? isn?t known
> struct v4l2_control control_s;
> ^
> track.c:1136:25: warning: unused variable ?control_s? [-Wunused-variable]
>
> *Jim Dodgen*
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 107, Issue 2
*******************************************