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: no picture (Graham)
   2. Re: no picture (Graham)
   3. Re: no picture (?ydr?nas Urbonas)
   4. Re: no picture (Graham)
   5. Re: no picture (Graham)
   6. Re: no picture (?ydr?nas Urbonas)


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

Message: 1
Date: Fri, 10 Jul 2015 14:35:22 +0100
From: Graham <[email protected]>
Subject: Re: [Motion-user] no picture
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Quick google and ran
  motion$ gedit Makefile
saved it and now running make



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

Message: 2
Date: Fri, 10 Jul 2015 14:37:43 +0100
From: Graham <[email protected]>
Subject: Re: [Motion-user] no picture
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Ok ran make and I get this...

/motion$ make
Welcome to the setup procedure for Motion, the motion detection daemon! 
If you get
error messages during this procedure, please report them to the mailing 
list. The
Motion Guide contains all information you should need to get Motion up 
and running.
Run "make updateguide" to download the latest version of the Motion Guide.

Version: Unofficial-Git-5c6f4be
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Compiling Motion object files...
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Motion object files compiled.

Linking Motion...
--------------------------------------------------------------------------------
gcc  -o motion motion.o logger.o conf.o draw.o jpegutils.o 
vloopback_motion.o video.o video2.o video_common.o netcam.o netcam_ftp.o 
netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o 
webhttpd.o stream.o md5.o netcam_rtsp.o   -lm -lpthread -ljpeg 
-L../ffmpeg/out/lib  -lavformat -lavcodec -lavutil -lm -lz -lswscale 
-lswresample -lrt
/usr/bin/ld: cannot find -lavformat
collect2: ld returned 1 exit status
make: *** [motion] Error 1




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

Message: 3
Date: Fri, 10 Jul 2015 16:41:26 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] no picture
To: Motion discussion list <[email protected]>
Message-ID:
        <CACHTdwQ5k9CTyLcf_bsX_71OkdfV1yWeWno8Q=jgzwtc7xc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Have you just appended *-lswresample -lrt* or copied the whole my example?

On Fri, Jul 10, 2015 at 4:37 PM, Graham <[email protected]> wrote:

> Ok ran make and I get this...
>
> /motion$ make
> Welcome to the setup procedure for Motion, the motion detection daemon!
> If you get
> error messages during this procedure, please report them to the mailing
> list. The
> Motion Guide contains all information you should need to get Motion up
> and running.
> Run "make updateguide" to download the latest version of the Motion Guide.
>
> Version: Unofficial-Git-5c6f4be
> Platform: Linux (if this is incorrect, please read README.FreeBSD)
>
> Compiling Motion object files...
>
> --------------------------------------------------------------------------------
>
> --------------------------------------------------------------------------------
> Motion object files compiled.
>
> Linking Motion...
>
> --------------------------------------------------------------------------------
> gcc  -o motion motion.o logger.o conf.o draw.o jpegutils.o
> vloopback_motion.o video.o video2.o video_common.o netcam.o netcam_ftp.o
> netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o
> webhttpd.o stream.o md5.o netcam_rtsp.o   -lm -lpthread -ljpeg
> -L../ffmpeg/out/lib  -lavformat -lavcodec -lavutil -lm -lz -lswscale
> -lswresample -lrt
> /usr/bin/ld: cannot find -lavformat
> collect2: ld returned 1 exit status
> make: *** [motion] Error 1
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> 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: 4
Date: Fri, 10 Jul 2015 14:44:22 +0100
From: Graham <[email protected]>
Subject: Re: [Motion-user] no picture
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I appended.

I now get a black screen with grey box in browser



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

Message: 5
Date: Fri, 10 Jul 2015 14:45:28 +0100
From: Graham <[email protected]>
Subject: Re: [Motion-user] no picture
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Update: I now have a picture but its not moving.

I think were are almost there?



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

Message: 6
Date: Fri, 10 Jul 2015 16:50:50 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] no picture
To: Motion discussion list <[email protected]>
Message-ID:
        <CACHTdwRAN01y7S1hajq7La=pwfhqf_zr+fchvqgqcalqwrf...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

So if you have built motion and was able to run it, then here is the last
step:

gedit video_common.c

Look around 394 line and modify one symbol

if (ret == 1) {
         MOTION_LOG(CRT, TYPE_VIDEO, NO_ERRNO, "%s: Corrupt image ...
continue");
-        ret = 2;
+        ret = 0;
     }



Just change "2" to "0". So in the end you have

*ret = 0;*
Now run make again and see if that helped. If it hasn't - post motion's
console output here

On Fri, Jul 10, 2015 at 4:45 PM, Graham <[email protected]> wrote:

> Update: I now have a picture but its not moving.
>
> I think were are almost there?
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> 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...

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

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/

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

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 110, Issue 10
********************************************

Reply via email to