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. Re: Save file from different cameras int different folder
(Christian Huldt)
2. Re: Permanent assign cam order: video0 / video1 for USB cam1
/ USB cam2 ([email protected])
3. FSC-1030 link to mjpeg.cgi (Mariusz Ciszewski)
4. Re: Pi & Logitech C920 (Dave Howorth)
5. Re: Pi & Logitech C920 (Mr Dave)
----------------------------------------------------------------------
Message: 1
Date: Mon, 21 Sep 2015 18:53:11 +0200
From: Christian Huldt <[email protected]>
Subject: Re: [Motion-user] Save file from different cameras int
different folder
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"
One thread for each webcam: thread1.conf, ... , threadN.conf
and just specify different target_dir in each of them.
Den 2015-09-21 kl. 18:34, skrev Mariusz Ciszewski:
> Hi.
>
> Inside motion.conf or thread.conf we can specify default target folder.
>
> E.g.
>
> target_dir /home/motion/tmp
>
> But then all pictures from all webcams will be saved into the same folder.
>
> Is it possible to define somehow, if you have threads:
>
> room1.conf
> room2.conf
> room3.conf
>
> that
>
> target_dir /home/motion/tmp-*%confname* ?
>
> where *%confname* is the name of conf file name, where this target_dir
> variable is used?
>
> In such case files could be stored:
>
> - for *room1*.conf this sentence /home/motion/tmp-*%confname* is
> translated as /home/motion/*tmp-room1*
> - for *room2*.conf this sentence /home/motion/tmp-*%confname* is
> translated as /home/motion/*tmp-room2*
> - for *room3*.conf this sentence /home/motion/tmp-*%confname* is
> translated as /home/motion/*tmp-room3*
> *
> *
> Possible ?
>
> Best regards
> Mariusz
>
> 2015-09-21 18:22 GMT+02:00 Mariusz Ciszewski
> <[email protected] <mailto:[email protected]>>:
>
> Hi.
>
> Inside motion.conf or thread.conf we can specify defauld name for files.
>
> E.g.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
------------------------------
Message: 2
Date: Tue, 22 Sep 2015 03:03:49 +0000
From: [email protected]
Subject: Re: [Motion-user] Permanent assign cam order: video0 / video1
for USB cam1 / USB cam2
To: "Motion discussion list" <[email protected]>
Message-ID:
<1919477707-1442891033-cardhu_decombobulator_blackberry.rim.net-1485919571-@b11.c1.bise3.blackberry>
Content-Type: text/plain; charset="Windows-1252"
Powered by Telkomsel BlackBerry?
-----Original Message-----
From: Mariusz Ciszewski <[email protected]>
Date: Sat, 19 Sep 2015 14:22:02
To: Motion discussion list<[email protected]>
Reply-To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Permanent assign cam order: video0 / video1 for
USB cam1 / USB cam2
------------------------------------------------------------------------------
------------------------------
Message: 3
Date: Tue, 22 Sep 2015 20:41:41 +0200
From: Mariusz Ciszewski <[email protected]>
Subject: [Motion-user] FSC-1030 link to mjpeg.cgi
To: Motion discussion list <[email protected]>
Message-ID:
<caopaqykwzzzbu0j8put1os2li6aqmdn0gmrtpv4he5zvv_o...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello
I can't see link for mjpeg.cgi for IP cam: FSC-1030 (
http://137.193.65.89/docs/FCS-1030v2.pdf )
I can't see notheing here:
http://www.lavrsen.dk/foswiki/bin/view/Motion/DLink
Please help.
Thank you and best regards
Mariusz
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Tue, 22 Sep 2015 23:14:43 +0100
From: Dave Howorth <[email protected]>
Subject: Re: [Motion-user] Pi & Logitech C920
To: ?ydr?nas Urbonas <[email protected]>
Cc: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
Thanks for that. I've just downloaded it and am trying to compile it but
I ran into something I don't understand. It's the first time I tried to
compile something on the pi. I ran:
$ autoheader
$ autoconf configure.ac > configure
$ sudo apt-get install libjpeg-dev
but when I
$ ./configure
it says
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for Darwin... no
checking for *BSD... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking threads... yes
checking for sdl... no
checking for libjpeg-turbo... skipping
checking for libjpeg-mmx... skipping
checking for jpeg_set_defaults in -ljpeg... yes
./configure: line 5287: syntax error near unexpected token `FFMPEG,'
./configure: line 5287: ` PKG_CHECK_MODULES(FFMPEG, libavutil
libavformat libavcodec libswscale, HAVE_FFMPEG=yes)'
A syntax error makes me think something is broken somewhere but I'm not
sure whether I've caused the problem?
Cheers, Dave
On Fri, 2015-09-18 at 09:15 +0300, ?ydr?nas Urbonas wrote:
> Hey, try compiling latest Mr-Dave fork, it contains a fix for
> C910/C920 cameras
> https://github.com/Mr-Dave/motion/commits/unstable
>
>
> On Thu, Sep 17, 2015 at 9:03 PM, Dave Howorth <[email protected]>
> wrote:
> Hello,
>
> I'm trying to set up motion with a Logitech HD Pro Webcam C920
> connected
> to a Raspberry PI. It sort of works but not properly so I'd
> appreciate
> some pointers.
>
> The Pi has raspberrypi 3.2.27+ #250 PREEMPT
>
> motion is Version 3.2.12
>
> I'm sshed to the pi; there's no display on it. I have motion
> set up as a
> service started on boot.
>
> I have two issues that I'd like to resolve:
>
>
> (1) motion happily captures video when there is motion and
> records an
> avi file and a bunch of jpegs. But it only does this if I
> leave the
> width and height at their default. If I set 1280 x 720 or 1920
> x
> 1080 resolution, nothing gets captured.
>
> I have tried running cheese and that is able to show
> high-resolution
> video, so I know its not a hardware problem. There's a lot of
> stuff
> in /var/log/messages but I don't understand it:
>
> Sep 17 18:56:41 raspberrypi motion: [0] Motion thread 1
> restart
> Sep 17 18:56:41 raspberrypi motion: [1] cap.driver: "uvcvideo"
> Sep 17 18:56:41 raspberrypi motion: [1] cap.card: "HD Pro
> Webcam C920"
> Sep 17 18:56:41 raspberrypi motion: [1] cap.bus_info:
> "usb-bcm2708_usb-1.2"
> Sep 17 18:56:41 raspberrypi motion: [1]
> cap.capabilities=0x04000001
> Sep 17 18:56:41 raspberrypi motion: [1] - VIDEO_CAPTURE
> Sep 17 18:56:41 raspberrypi motion: [1] - STREAMING
> Sep 17 18:56:41 raspberrypi motion: [1] Config palette index 8
> (YU12)
> doesn't work.
> Sep 17 18:56:41 raspberrypi motion: [1] Supported palettes:
> Sep 17 18:56:41 raspberrypi motion: [1] 0: YUYV (YUV 4:2:2
> (YUYV))
> Sep 17 18:56:41 raspberrypi motion: [1] 1: H264 (H.264)
> Sep 17 18:56:41 raspberrypi motion: [1] 2: MJPG (MJPEG)
> Sep 17 18:56:41 raspberrypi motion: [1] Selected palette YUYV
> Sep 17 18:56:41 raspberrypi motion: [1] Test palette YUYV
> (1280x720)
> Sep 17 18:56:41 raspberrypi motion: [1] Using palette YUYV
> (1280x720)
> bytesperlines 2560 sizeimage 1843200 colorspace 00000008
> Sep 17 18:56:41 raspberrypi motion: [1] found control
> 0x00980900,
> "Brightness", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Brightness",
> default -8193,
> current 128
> Sep 17 18:56:41 raspberrypi motion: [1] found control
> 0x00980901,
> "Contrast", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Contrast",
> default 57343,
> current 128
> Sep 17 18:56:41 raspberrypi motion: [1] found control
> 0x00980902,
> "Saturation", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Saturation",
> default 57343,
> current 128
> Sep 17 18:56:41 raspberrypi motion: [1] found control
> 0x00980913,
> "Gain", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Gain", default
> 57343,
> current 0
> Sep 17 18:56:41 raspberrypi motion: [1] Resizing pre_capture
> buffer to 1
> items
> Sep 17 18:57:03 raspberrypi motion: [1] Resizing pre_capture
> buffer to 3
> items
>
>
> (2) motion exits if I try to access the web stream at
> http://pi:8081/.
> I'm not too concerned about this issue because it's not
> something I
> intend to use once it all works.
>
> Cheers, Dave
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of
> Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
------------------------------
Message: 5
Date: Tue, 22 Sep 2015 17:54:19 -0600
From: Mr Dave <[email protected]>
Subject: Re: [Motion-user] Pi & Logitech C920
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Yes, that is definitely broken. Sorry about that. I'm pretty sure that
this change is only on the unstable branch which is in testing. Can you
switch to the master branch and test it again? The following switches
your sources over to master which doesn't have the offending code but
does have the changes I think you are looking for.
git checkout master
autoreconf
./configure
make
make install
MrDave
On 9/22/2015 4:14 PM, Dave Howorth wrote:
> Thanks for that. I've just downloaded it and am trying to compile it but
> I ran into something I don't understand. It's the first time I tried to
> compile something on the pi. I ran:
>
> $ autoheader
> $ autoconf configure.ac > configure
> $ sudo apt-get install libjpeg-dev
>
> but when I
> $ ./configure
> it says
>
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking for Darwin... no
> checking for *BSD... no
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking threads... yes
> checking for sdl... no
> checking for libjpeg-turbo... skipping
> checking for libjpeg-mmx... skipping
> checking for jpeg_set_defaults in -ljpeg... yes
> ./configure: line 5287: syntax error near unexpected token `FFMPEG,'
> ./configure: line 5287: ` PKG_CHECK_MODULES(FFMPEG, libavutil
> libavformat libavcodec libswscale, HAVE_FFMPEG=yes)'
>
> A syntax error makes me think something is broken somewhere but I'm not
> sure whether I've caused the problem?
>
> Cheers, Dave
>
>
> On Fri, 2015-09-18 at 09:15 +0300, ?ydr?nas Urbonas wrote:
>> Hey, try compiling latest Mr-Dave fork, it contains a fix for
>> C910/C920 cameras
>> https://github.com/Mr-Dave/motion/commits/unstable
>>
>>
>> On Thu, Sep 17, 2015 at 9:03 PM, Dave Howorth <[email protected]>
>> wrote:
>> Hello,
>>
>> I'm trying to set up motion with a Logitech HD Pro Webcam C920
>> connected
>> to a Raspberry PI. It sort of works but not properly so I'd
>> appreciate
>> some pointers.
>>
>> The Pi has raspberrypi 3.2.27+ #250 PREEMPT
>>
>> motion is Version 3.2.12
>>
>> I'm sshed to the pi; there's no display on it. I have motion
>> set up as a
>> service started on boot.
>>
>> I have two issues that I'd like to resolve:
>>
>>
>> (1) motion happily captures video when there is motion and
>> records an
>> avi file and a bunch of jpegs. But it only does this if I
>> leave the
>> width and height at their default. If I set 1280 x 720 or 1920
>> x
>> 1080 resolution, nothing gets captured.
>>
>> I have tried running cheese and that is able to show
>> high-resolution
>> video, so I know its not a hardware problem. There's a lot of
>> stuff
>> in /var/log/messages but I don't understand it:
>>
>> Sep 17 18:56:41 raspberrypi motion: [0] Motion thread 1
>> restart
>> Sep 17 18:56:41 raspberrypi motion: [1] cap.driver: "uvcvideo"
>> Sep 17 18:56:41 raspberrypi motion: [1] cap.card: "HD Pro
>> Webcam C920"
>> Sep 17 18:56:41 raspberrypi motion: [1] cap.bus_info:
>> "usb-bcm2708_usb-1.2"
>> Sep 17 18:56:41 raspberrypi motion: [1]
>> cap.capabilities=0x04000001
>> Sep 17 18:56:41 raspberrypi motion: [1] - VIDEO_CAPTURE
>> Sep 17 18:56:41 raspberrypi motion: [1] - STREAMING
>> Sep 17 18:56:41 raspberrypi motion: [1] Config palette index 8
>> (YU12)
>> doesn't work.
>> Sep 17 18:56:41 raspberrypi motion: [1] Supported palettes:
>> Sep 17 18:56:41 raspberrypi motion: [1] 0: YUYV (YUV 4:2:2
>> (YUYV))
>> Sep 17 18:56:41 raspberrypi motion: [1] 1: H264 (H.264)
>> Sep 17 18:56:41 raspberrypi motion: [1] 2: MJPG (MJPEG)
>> Sep 17 18:56:41 raspberrypi motion: [1] Selected palette YUYV
>> Sep 17 18:56:41 raspberrypi motion: [1] Test palette YUYV
>> (1280x720)
>> Sep 17 18:56:41 raspberrypi motion: [1] Using palette YUYV
>> (1280x720)
>> bytesperlines 2560 sizeimage 1843200 colorspace 00000008
>> Sep 17 18:56:41 raspberrypi motion: [1] found control
>> 0x00980900,
>> "Brightness", range 0,255
>> Sep 17 18:56:41 raspberrypi motion: [1] #011"Brightness",
>> default -8193,
>> current 128
>> Sep 17 18:56:41 raspberrypi motion: [1] found control
>> 0x00980901,
>> "Contrast", range 0,255
>> Sep 17 18:56:41 raspberrypi motion: [1] #011"Contrast",
>> default 57343,
>> current 128
>> Sep 17 18:56:41 raspberrypi motion: [1] found control
>> 0x00980902,
>> "Saturation", range 0,255
>> Sep 17 18:56:41 raspberrypi motion: [1] #011"Saturation",
>> default 57343,
>> current 128
>> Sep 17 18:56:41 raspberrypi motion: [1] found control
>> 0x00980913,
>> "Gain", range 0,255
>> Sep 17 18:56:41 raspberrypi motion: [1] #011"Gain", default
>> 57343,
>> current 0
>> Sep 17 18:56:41 raspberrypi motion: [1] Resizing pre_capture
>> buffer to 1
>> items
>> Sep 17 18:57:03 raspberrypi motion: [1] Resizing pre_capture
>> buffer to 3
>> items
>>
>>
>> (2) motion exits if I try to access the web stream at
>> http://pi:8081/.
>> I'm not too concerned about this issue because it's not
>> something I
>> intend to use once it all works.
>>
>> Cheers, Dave
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> Get real-time metrics from all of your servers, apps and tools
>> in one place.
>> SourceForge users - Click here to start your Free Trial of
>> Datadog now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 112, Issue 15
********************************************