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: Pi & Logitech C920 (Mr Dave)
2. Re: FSC-1030 link to mjpeg.cgi (Mr Dave)
3. Re: FSC-1030 link to mjpeg.cgi (Mariusz Ciszewski)
----------------------------------------------------------------------
Message: 1
Date: Tue, 22 Sep 2015 20:12:57 -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
I have just checked this on my PI and it appears to function correctly.
Can you tell us the image that you are using so we can test it?
Also, you may want to check the motion_guide.html and INSTALL files
distributed with the source code. I have updated them to have current
building/installing instructions as well as all the new and different
options. It may be as simple as using the
autoreconf -f
option instead of the sequence that you've indicated.
MrDave
On 9/22/2015 5:54 PM, Mr Dave wrote:
> 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
>
------------------------------
Message: 2
Date: Tue, 22 Sep 2015 22:08:14 -0600
From: Mr Dave <[email protected]>
Subject: Re: [Motion-user] FSC-1030 link to mjpeg.cgi
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"
I would recommend using a search engine to look for your camera model
(or something similar) and finding/testing the connection string for VLC
or ffmpeg. Once you get your camera working with VLC, you can use that
connection string for motion.
On 9/22/2015 12:41 PM, Mariusz Ciszewski wrote:
> 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
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> 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...
------------------------------
Message: 3
Date: Wed, 23 Sep 2015 06:49:52 +0200
From: Mariusz Ciszewski <[email protected]>
Subject: Re: [Motion-user] FSC-1030 link to mjpeg.cgi
To: Motion discussion list <[email protected]>
Message-ID:
<caopaqyjdjvyrwhoybmd_xkahyer2vgcn8ztpyzrddxei05u...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I fear it is not possible to use that cam to get something more than still
pictures.
http://www.zoneminder.com/wiki/index.php/Level_One
https://www.ispyconnect.com/man.aspx?n=LevelOne
Still pictures can be get http://x.x.x.x/video.jpg
But I fear there is no support for video.
Bot somehow video works in browser via WWW panel of this cam.
Probably this div make this:
<div id="display_image">
<script type="text/javascript">
<!--
// The ActiveX plug-in
document.write("<object id=\"" + PLUGIN_ID + "\" width=" + (Width +
X_OFFSET_CTRL) + " height=" + (Height + Y_OFFSET_CTRL));
document.write(" standby=\"Loading plug-in...\" classid=CLSID:" + CLASS_ID);
document.write(" codebase=\"/" + PLUGIN_NAME + "#version
<https://www.facebook.com/hashtag/version?hc_location=ufi>=" + PLUGIN_VER +
"\">");
document.write("<param name=\"Url\" VALUE=\"rtsp://" + location.hostname +
"/" + RTSPAccessName +"\">");
document.write("<param name=\"Stretch\" VALUE=\"" + STRETCH + "\">");
document.write("<param name=\"VSize\" VALUE=\"CMS\">");
document.write("<param name=\"Language\" VALUE=\"" + PLUGIN_LANG + "\">");
document.write("<param name=\"ClientOptions\" VALUE=\"567\">");
document.write("This is a plug-in (ActiveX). If you see this text, your
browser is not support or disable ActiveX.");
document.write("<\/object>");
//-->
</script></div>
2015-09-23 6:08 GMT+02:00 Mr Dave <[email protected]>:
> I would recommend using a search engine to look for your camera model (or
> something similar) and finding/testing the connection string for VLC or
> ffmpeg. Once you get your camera working with VLC, you can use that
> connection string for motion.
>
> On 9/22/2015 12:41 PM, Mariusz Ciszewski wrote:
>
> Hello
>
> I can't see link for mjpeg.cgi for IP cam: FSC-1030 (
> <http://137.193.65.89/docs/FCS-1030v2.pdf>
> 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
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Motion-user mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/motion-userhttp://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
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
End of Motion-user Digest, Vol 112, Issue 16
********************************************