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. Motion build on Raspberry Pi3 (Roland Pinches)
   2. Re: Motion build on Raspberry Pi3 (John Baker)
   3. Re: Motion External Trigger (Colin Law)
   4. View streaming video in house (Otto Gvert)


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

Message: 1
Date: 06 Jun 2016 17:01:11 +1200
From: Roland Pinches <rolyp...@ihug.co.nz>
Subject: [Motion-user] Motion build on Raspberry Pi3
To: "motion-user@lists.sourceforge.net"
        <motion-user@lists.sourceforge.net>
Message-ID: <3nl20f14tf2yn8hzkqdtdx4...@mailer.nylas.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

  

I've already got a Raspberry Pi2, running Arch linux, with motion built from
the svn tree. It works really well with a Foscam camera and RTSP.

  

I recently got a new Raspberry Pi3. I've installed Arch along with all the
build tools and motion dependancies. However, when I try to build motion, it
fails.

  

For testing, I created a new copy of the svn trunk on my Pi2, ran configure
and then make and I get the same problem as my Pi3, where previously it
compiled fine.

  

Does this suggest an issue with the source code? Has anyone else seen this
issue on a Raspberry Pi?

  

This is the last few lines of the make output. I can provide the whole lot if
required:

ffmpeg.c:1001:47: error: 'PIX_FMT_YUV420P' undeclared (first use in this
function)  
    avpicture_deinterlace(&amp;picture, &amp;picture, PIX_FMT_YUV420P, width, 
height);  
                                              ^~~~~~~~~~~~~~~  
ffmpeg.c: In function 'ffmpeg_open':  
ffmpeg.c:718:5: warning: ignoring return value of 'avformat_write_header',
declared with attribute warn_unused_result [-Wunused-result]  
    avformat_write_header(ffmpeg-&gt;oc, NULL);  
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
&lt;builtin&gt;: recipe for target 'ffmpeg.o' failed  
make: *** [ffmpeg.o] Error 1  

  

Many thanks,

Roland.

-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Mon, 06 Jun 2016 06:46:07 +0100
From: John Baker <jba...@dryfish.org.uk>
Subject: Re: [Motion-user] Motion build on Raspberry Pi3
To: motion-user@lists.sourceforge.net
Message-ID:
        <1465191967.38389.628882161.0ca3f...@webmail.messagingengine.com>
Content-Type: text/plain

Sounds like a library rather than hardware issue.



On Mon, Jun 6, 2016, at 06:01 AM, Roland Pinches wrote:
> Hi,
> 
>   
> 
> I've already got a Raspberry Pi2, running Arch linux, with motion built
> from
> the svn tree. It works really well with a Foscam camera and RTSP.
> 
>   
> 
> I recently got a new Raspberry Pi3. I've installed Arch along with all
> the
> build tools and motion dependancies. However, when I try to build motion,
> it
> fails.
> 
>   
> 
> For testing, I created a new copy of the svn trunk on my Pi2, ran
> configure
> and then make and I get the same problem as my Pi3, where previously it
> compiled fine.
> 
>   
> 
> Does this suggest an issue with the source code? Has anyone else seen
> this
> issue on a Raspberry Pi?
> 
>   
> 
> This is the last few lines of the make output. I can provide the whole
> lot if
> required:
> 
> ffmpeg.c:1001:47: error: 'PIX_FMT_YUV420P' undeclared (first use in this
> function)  
>     avpicture_deinterlace(&amp;picture, &amp;picture, PIX_FMT_YUV420P,
>     width, height);  
>                                               ^~~~~~~~~~~~~~~  
> ffmpeg.c: In function 'ffmpeg_open':  
> ffmpeg.c:718:5: warning: ignoring return value of
> 'avformat_write_header',
> declared with attribute warn_unused_result [-Wunused-result]  
>     avformat_write_header(ffmpeg-&gt;oc, NULL);  
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
> &lt;builtin&gt;: recipe for target 'ffmpeg.o' failed  
> make: *** [ffmpeg.o] Error 1  
> 
>   
> 
> Many thanks,
> 
> Roland.
> 
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports.
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome



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

Message: 3
Date: Mon, 6 Jun 2016 08:11:02 +0100
From: Colin Law <clan...@gmail.com>
Subject: Re: [Motion-user] Motion External Trigger
To: Motion discussion list <motion-user@lists.sourceforge.net>
Message-ID:
        <CAL=0glsr+cciwo-2bobp9q4omsxlhwf0d0iqr-z31a-_pfp...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 5 June 2016 at 19:10, Chip Griffin <n1...@mac.com> wrote:
> On Jun 5, 2016, at 02:53, Colin Law <clan...@gmail.com> wrote:
>>
>> If there is to be a successful outcome then you are nearer to it than you 
>> were before :)
>
> I suppose that has to be true. But I don?t feel like we?re making progress.
>
>> I presume that you have put the full path to the log file in your script.  
>> Can you paste the script here please.
>
> I thought I did that once but here it is again (modified as suggested 
> previously):
>> #!/bin/sh
>>
>> /usr/bin/xscreensaver-command -display :0.0 -deactivate > 
>> /tmp/xscreensaver-command.log 2>&1
>>
>> echo "Run\n" > /tmp/xsd.log

Have you made sure that everyone has write access to those files?

I suggest you try running motion from a terminal (rather than as a
daemon) so that it will run as yourself.  This should remove any
permissions issues.

Colin



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

Message: 4
Date: Thu, 9 Jun 2016 01:01:22 +0000 (UTC)
From: Otto Gvert <stuffplac...@yahoo.com>
Subject: [Motion-user] View streaming video in house
To: Motion Discussion List <motion-user@lists.sourceforge.net>
Message-ID:
        <2062632249.88083.1465434082016.javamail.ya...@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Ubuntu 12.04 updated.
Fresh install of Motion.

The Motion program is run from my desktop and wish to view
the output from a remote in house laptop. When I enter 192.168.1.66:8081

I get the following:
Firefox can't establish a connection to 192.168.1.66:8081.

Both machines are using ethernet connection.

Below are the settings I modifide as recommended by various sites.
My guess is one or more is incorrect.

Help please.

daemon off
## daemon on

framerate 2
## framerate 10

## pre_capture 0
pre_capture 2

## post_capture 0
post_capture 5

## ffmpeg_video_codec swf
ffmpeg_video_codec mpeg4

## target_dir /tmp/motion
target_dir /home/bill/Motion/MyMotion/

webcam_port 8081

webcam_localhost on
## webcam_localhost off

control_port 8080

control_localhost on
## control_localhost off

To run the program

sudo motion

?sudo motion
[0] Processing thread 0 - config file /home/bill/.motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482112 LIBAVFORMAT_BUILD 3478528
[0] Thread 1 is from /home/bill/.motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0990)"
[1] cap.bus_info: "usb-0000:00:1d.7-8"
[1] cap.capabilities=0x84000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: MJPG (MJPEG)
[1] 1: YUYV (YUV 4:2:2 (YUYV))
[1] Selected palette YUYV
[1] Test palette YUYV (320x240)
[1] Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 
00000008
[1] found control 0x00980900, "Brightness", range 0,255 
[1] ?? ?"Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,255 
[1] ?? ?"Contrast", default 32, current 32
[1] found control 0x00980902, "Saturation", range 0,255 
[1] ?? ?"Saturation", default 32, current 32
[1] found control 0x00980913, "Gain", range 0,255 
[1] ?? ?"Gain", default 0, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=153600
[1] 1 length=153600
[1] 2 length=153600
[1] 3 length=153600
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] Resizing pre_capture buffer to 3 items
[1] File of type 8 saved to: 
/home/bill/Motion/MyMotion//2016-06-08---20-18-56.avi

snip








-------------- next part --------------
An HTML attachment was scrubbed...

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

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e

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

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 121, Issue 4
*******************************************

Reply via email to