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: Issues when installing motion on Linux Mint Debian
Edition (?ydr?nas Urbonas)
2. Re: Issues when installing motion on Linux Mint Debian
Edition (RUPP, ALEXANDRE)
----------------------------------------------------------------------
Message: 1
Date: Fri, 31 Jul 2015 18:34:27 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] Issues when installing motion on Linux Mint
Debian Edition
To: Motion discussion list <[email protected]>
Message-ID:
<CACHTdwSTATP5kGJeW29izYg_g57Ci4g=t5njm5u-evwg5x8...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Try compiling latest trunk from github:
git clone https://github.com/Mr-Dave/motion.git
cd motion
./configure
make
If it still fails with same error - check this discussion:
https://github.com/Mr-Dave/motion/pull/71
This is known issue. There is permanent fix for your OS or either temporary
hack for motion
If you still need help, ask on that github thread or here in maillist
On Fri, Jul 31, 2015 at 3:46 PM, RUPP, ALEXANDRE <[email protected]>
wrote:
> Hello everybody,
> I am in an internship and I need to use Motion to capture pictures from a
> webcam.
> Here is my configuration :
> Kernel version : 3.11-2-amd64
> Distribution : Linux Mint LMDE Cinnamon Edition
>
>
> Since Motion doesn't seem to be in the repositories of my distro, I tried
> to install it from the svn repo :
> $ svn co http://www.lavrsen.dk/svn/motion/branches/3.2/ .
>
> I managed to install it without V4L by doing :
> $ ./configure --without-v4l
> $ make
> $ make install
>
> But with V4L I am getting through a lot of troubles:
> $ ./configure
> $ make
>
> Generating dependencies, please wait...
> In file included from motion.c:10:0:
> motion.h:43:28: fatal error: linux/videodev.h: No such file or directory
> #include <linux/videodev.h>
> ^
> compilation terminated.
> In file included from conf.c:26:0:
> motion.h:43:28: fatal error: linux/videodev.h: No such file or directory
> #include <linux/videodev.h>
> ^
> ...
> ...
>
>
> Therefore I looked for a solution on internet and found out 2 possible
> solutions :
> $ apt-get install
> libjpeg62-dev
>
> $ ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
> OR
> $ apt-get install libv4l-dev
> $ ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h
>
>
> I tried the first one (videodev2.h) and got the following compilation
> errors :
>
> motion.c:585:26: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in
> this function)
> cnt->imgs.type = VIDEO_PALETTE_YUV420P;
> ^
>
> Therefore I replaced the constant by its value (found in
> /usr/include/libv4l1-videodev.h).
> And after that, I get a bunch of new errors :
>
> http://pastebin.com/bg0UhjGz
>
>
> Please, help me ! :)
> Actually, what should I do now ?
> Did someone tried to install it on Linux mint ?
> Thank you.
> Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont
> ?tablis ? l?intention exclusive des destinataires d?sign?s. Il contient des
> informations confidentielles et pouvant ?tre prot?g? par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> imm?diatement l'exp?diteur et de d?truire le message. Toute utilisation de
> ce message non conforme ? sa destination, toute diffusion ou toute
> publication, totale ou partielle, est interdite, sauf autorisation expresse
> de l??metteur. L'internet ne garantissant pas l'int?grit? de ce message
> lors de son acheminement, Atos (et ses filiales) d?cline(nt) toute
> responsabilit? au titre de son contenu. Bien que ce message ait fait
> l?objet d?un traitement anti-virus lors de son envoi, l??metteur ne peut
> garantir l?absence totale de logiciels malveillants dans son contenu et ne
> pourrait ?tre tenu pour responsable des dommages engendr?s par la
> transmission de l?un d?eux.
>
> This message and any attachments (the "message") are intended solely for
> the addressee(s). It contains confidential information, that may be
> privileged. If you receive this message in error, please notify the sender
> immediately and delete the message. Any use of the message in violation of
> its purpose, any dissemination or disclosure, either wholly or partially is
> strictly prohibited, unless it has been explicitly authorized by the
> sender. As its integrity cannot be secured on the internet, Atos and its
> subsidiaries decline any liability for the content of this message.
> Although the sender endeavors to maintain a computer virus-free network,
> the sender does not warrant that this transmission is virus-free and will
> not be liable for any damages resulting from any virus transmitted.
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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: 2
Date: Mon, 3 Aug 2015 11:50:39 +0000
From: "RUPP, ALEXANDRE" <[email protected]>
Subject: Re: [Motion-user] Issues when installing motion on Linux Mint
Debian Edition
To: Motion discussion list <[email protected]>
Message-ID:
<bdedb4bc193b8847beb2c88ad2a9c188fed...@frcrpvv9ex5msx.ww931.my-it-solutions.net>
Content-Type: text/plain; charset="utf-8"
Thank you for your answer.
Finally I managed to compile just before I received your e-mail.
Here is what I did :
# Get the latest version (Because I did not managed to make the 3.2 work ...) :
svn co http://www.lavrsen.dk/svn/motion/trunk/ .
#Install missing library videodev.h (on my distro) :
# Warning : Do not take videodev2.h ! It lakes a lot of constant definitions
... (eg: VIDEO_PALETTE_YUV420P not declared) !
sudo apt-get install libv4l-dev
sudo ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h
# Re-install FFMPEG manually :
git clone https://github.com/FFmpeg/FFmpeg
sudo apt-get install yasm
./configure
make
make install
# Install motion :
./configure
# In Makefile, in LIBS= , you need to add (for FFMPEG) : -lswresample
# Then insert #include <linux/videodev2.h> in track.h (else motion won't
compile because of missing declarations)
# Then finish the installation :
make
make install
# Finally, I downloaded the latest motion.conf because my version was outdated
# See http://www.lavrsen.dk/foswiki/bin/view/Motion/WorkingConfigs
Thank you for your support and your fast answer.
Alexandre Rupp.
________________________________
De : ?ydr?nas Urbonas [[email protected]]
Envoy? : vendredi 31 juillet 2015 17:34
? : Motion discussion list
Objet : Re: [Motion-user] Issues when installing motion on Linux Mint Debian
Edition
Try compiling latest trunk from github:
git clone https://github.com/Mr-Dave/motion.git
cd motion
./configure
make
If it still fails with same error - check this discussion:
https://github.com/Mr-Dave/motion/pull/71
This is known issue. There is permanent fix for your OS or either temporary
hack for motion
If you still need help, ask on that github thread or here in maillist
On Fri, Jul 31, 2015 at 3:46 PM, RUPP, ALEXANDRE
<[email protected]<mailto:[email protected]>> wrote:
Hello everybody,
I am in an internship and I need to use Motion to capture pictures from a
webcam.
Here is my configuration :
Kernel version : 3.11-2-amd64
Distribution : Linux Mint LMDE Cinnamon Edition
Since Motion doesn't seem to be in the repositories of my distro, I tried to
install it from the svn repo :
$ svn co http://www.lavrsen.dk/svn/motion/branches/3.2/ .
I managed to install it without V4L by doing :
$ ./configure --without-v4l
$ make
$ make install
But with V4L I am getting through a lot of troubles:
$ ./configure
$ make
Generating dependencies, please wait...
In file included from motion.c:10:0:
motion.h:43:28: fatal error: linux/videodev.h: No such file or directory
#include <linux/videodev.h>
^
compilation terminated.
In file included from conf.c:26:0:
motion.h:43:28: fatal error: linux/videodev.h: No such file or directory
#include <linux/videodev.h>
^
...
...
Therefore I looked for a solution on internet and found out 2 possible
solutions :
$ apt-get install libjpeg62-dev
$ ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
OR
$ apt-get install libv4l-dev
$ ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h
I tried the first one (videodev2.h) and got the following compilation errors :
motion.c:585:26: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this
function)
cnt->imgs.type = VIDEO_PALETTE_YUV420P;
^
Therefore I replaced the constant by its value (found in
/usr/include/libv4l1-videodev.h).
And after that, I get a bunch of new errors :
http://pastebin.com/bg0UhjGz
Please, help me ! :)
Actually, what should I do now ?
Did someone tried to install it on Linux mint ?
Thank you.
Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ?
l?intention exclusive des destinataires d?sign?s. Il contient des informations
confidentielles et pouvant ?tre prot?g? par le secret professionnel. Si vous
recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et
de d?truire le message. Toute utilisation de ce message non conforme ? sa
destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse de l??metteur. L'internet ne garantissant
pas l'int?grit? de ce message lors de son acheminement, Atos (et ses filiales)
d?cline(nt) toute responsabilit? au titre de son contenu. Bien que ce message
ait fait l?objet d?un traitement anti-virus lors de son envoi, l??metteur ne
peut garantir l?absence totale de logiciels malveillants dans son contenu et ne
pourrait ?tre tenu pour responsable des dommages engendr?s par la transmission
de l?un d?eux.
This message and any attachments (the "message") are intended solely for the
addressee(s). It contains confidential information, that may be privileged. If
you receive this message in error, please notify the sender immediately and
delete the message. Any use of the message in violation of its purpose, any
dissemination or disclosure, either wholly or partially is strictly prohibited,
unless it has been explicitly authorized by the sender. As its integrity cannot
be secured on the internet, Atos and its subsidiaries decline any liability for
the content of this message. Although the sender endeavors to maintain a
computer virus-free network, the sender does not warrant that this transmission
is virus-free and will not be liable for any damages resulting from any virus
transmitted.
------------------------------------------------------------------------------
_______________________________________________
Motion-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/motion-user
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ?
l?intention exclusive des destinataires d?sign?s. Il contient des informations
confidentielles et pouvant ?tre prot?g? par le secret professionnel. Si vous
recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et
de d?truire le message. Toute utilisation de ce message non conforme ? sa
destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse de l??metteur. L'internet ne garantissant
pas l'int?grit? de ce message lors de son acheminement, Atos (et ses filiales)
d?cline(nt) toute responsabilit? au titre de son contenu. Bien que ce message
ait fait l?objet d?un traitement anti-virus lors de son envoi, l??metteur ne
peut garantir l?absence totale de logiciels malveillants dans son contenu et ne
pourrait ?tre tenu pour responsable des dommages engendr?s par la transmission
de l?un d?eux.
This message and any attachments (the "message") are intended solely for the
addressee(s). It contains confidential information, that may be privileged. If
you receive this message in error, please notify the sender immediately and
delete the message. Any use of the message in violation of its purpose, any
dissemination or disclosure, either wholly or partially is strictly prohibited,
unless it has been explicitly authorized by the sender. As its integrity cannot
be secured on the internet, Atos and its subsidiaries decline any liability for
the content of this message. Although the sender endeavors to maintain a
computer virus-free network, the sender does not warrant that this transmission
is virus-free and will not be liable for any damages resulting from any virus
transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 111, Issue 1
*******************************************