Ok I had to apply the following patch : https://launchpad.net/debian/+source/motion/3.2.12-3

Now it compiles on ubuntu 13.04


2013/5/9 Philippe Collignon <phc@starobject.com>
Thanks Roman ...

I changed modulo from 16 to 8 in netcam.c

But compilation on ubuntu server 13.04 do not goes out of the box ...

After adding some libjpeg packages and  ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h 
it still does not compile ...

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -g -O2 -D_REENTRANT -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP    -Wall -DVERSION=\"3.2.12\                             " -Dsysconfdir=\"/usr/local/etc\"    -c -o motion.o motion.c
motion.c: In function āmotion_initā:
motion.c:585:26: error: āVIDEO_PALETTE_YUV420Pā undeclared (first use in this function)
motion.c:585:26: note: each undeclared identifier is reported only once for each function it appea                             rs in
motion.c: In function āmotion_logā:
motion.c:2786:19: warning: ignoring return value of āstrerror_rā, declared with attribute warn_unu                             sed_result [-Wunused-result]
make: *** [motion.o] Error 1





2013/4/22 Roman Gaufman <hackeron@gmail.com>
Change the source to check for modulo 8 instead of 16 in netcam.c and recompile. It should really be fixed in trunk but hasn't been yet.

Sack fixed it in video_common.c but not in netcam.c in this commit: https://github.com/hackeron/motion/commit/fcdd33103646f13db62d7c1d97040ea6e78ba7a7



On 20 April 2013 09:40, Philippe Collignon <phc@starobject.com> wrote:
I am using motion Version 3.2.12,


2013/4/20 Philippe Collignon <phc@starobject.com>
Hello,

That url is better : http://192.168.1.21/dms?nowprofileid=1

But now I face another issue with big images .. of 1080pix height
because 1080 is not modulo 16 ?!?!

How can motion register 1920x1080 pictures ???

Thanks in advance
Philippe



2013/4/19 Philippe Collignon <phc@starobject.com>
Hello,

Anyone using DCS-2210 working with motion
With the netcam url http://ip/video1.mjpg it does not work.

In the meanwhile I found this insteresting link that I have to try this evening.

It tells to use undocumented url : http://ipcamaddress:port/image/jpeg.cgi 

I give you a feedback soon :


Philippe



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
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



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
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