Motion is a software motion detector. It grabs images from video4linux devices and/or from webcams Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 18077 [details] motion 3.0.6 ( New Package ) the motion 3.0.6 ebuild.
I attached the ebuild for motion 3.0.6 , I suggest media-video/motion .
*** Bug 13699 has been marked as a duplicate of this bug. ***
Created attachment 20494 [details] motion-3.0.7.ebuild i noticed 3.0.7 was out and tried this ebuild out and found it had a few problems mirror://sourceforge wasnt used 2 files in the tarball were wrong one was htm file that hsould of been html (had to rename to allow install to work) and configure script wasnt +x there is prob somethin else but i forget anyhow it works for me now
ok not 100% working it checks for libavcodec.a and you need to point it to /usr/lib so ether configure needs to be updated to look for a .so instead or perhaps we should look at dev version instead in hopes of it using a newer ver of the codec or at least a shared ver
(I am testing with motion version "3.0.7-1") Motion requires libjpeg (cant configure without it), but DEPEND is missing it. DEPEND should also have media-libs/jpeg listed. (Also, perusing configure.in, it looks like libcurl (that is, net-ftp/curl) is used, but not required) In the end, in my efforts to get ffmpeg to be included (by the way, shouldnt the "ffmpeg" useflag be considered, since it is possible to build without ffmpeg?) I had to edit `configure' changing all 2 instances of libavcodec.a to libavcodec.so. Then, I had to run configure like this: CFLAGS="-I/usr/include/ffmpeg" ./configure --with-libavcodec=/usr/lib This successfully builds and uses ffmpeg correctly!
Created attachment 22995 [details] motion-3.0.7.ebuild, Revised This ebuild implements my above comments and works for me! (did not test with mysql/postgresql) . (Also, it uses the motion-3.0.7-1 tarball which does not have that misnamed html file and the man file ends in ".1" instead of ".man".)
I installed the revised 3.0.7 ebuild and it keeps giving me "Motion detected Error while creating directory: No such file or directory" running as root or as normal user
i experience the same problem as above, but 3.1.13 (considered unstable) works perfectly.
Created attachment 33936 [details] Updated motion-3.1.14.ebuild BUMP! 3.1.14 is now a stable release. Also this needs moving over to media-video
*** Bug 55924 has been marked as a duplicate of this bug. ***
This diff add's xmlrpc-c support to motion with the use flag xmlrpc. xmlrpc-c is currently broken but will have a patch in for that later as I now have it building fine. --- motion-3.1.14.ebuild.ori 2004-08-16 16:26:13.000000000 +0000 +++ motion-3.1.14.ebuild 2004-08-16 16:42:57.000000000 +0000 @@ -10,9 +10,10 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="mysql postgres" +IUSE="mysql postgres xmlrpc" DEPEND="mysql? ( dev-db/mysql ) postgres? ( dev-db/postgresql ) + xmlrpc? ( dev-libs/xmlrpc-c ) media-video/ffmpeg media-libs/jpeg sys-apps/sed"
Created attachment 39940 [details] ebuild for motion 3.1.16 moving over from duplicate bug #63555 Could someone check the modifications in the 3.1.14 ebuild, since i didn't need them in mine.
Created attachment 39941 [details] runlevel script for motion detection to start as a service
*** Bug 63555 has been marked as a duplicate of this bug. ***
Created attachment 41846 [details] motion-3.1.17.ebuild version bump, and patched to work with ffmpeg 0.48 AND 0.49 Motion 3.1.17 is mainly a bugfix release. Bugs fixed includes reMotion 3.1.17 is mainly a bugfix release. Bugs fixed includes removal of many silly syslog messages that made Motion unstable, fix of autobrightness feature and an fix and improvement of the lightswitch feature. moval of many silly syslog messages that made Motion unstable, fix of autobrightness feature and an fix and improvement of the lightswitch feature.
Created attachment 41847 [details] motion-3.1.17_snap2-ffmpeg-048_049.patch.gz support for ffmpeg 0.48 and 0.49 motion 3.1.17 patch with support for ffmpeg 0.48 and 0.49
Needs a default /etc/motion/motion.cfg ! The motion init script will fail to mark itself "stopped" when motion fails to start -- to resolve, admins will have to rm /var/lib/init.d/started/motion in order to try starting motion again via the init script. After ~18 hours, of searching, I've finally found something I can actually use for my purpose -- would be great if this were intigrated into zoneminder -- but zoneminder seems to have a hacked compilation routine (ie, see bug #67780). :-/
As stated by the postinstall of this ebuild: motion.conf examples are in /usr/share/doc/motion*/examples configuration is very individual so there is no pre-installed motion.conf you can reset a marked "running" service by calling the init-script with "zap": /etc/init.d/motion zap * Manually resetting motion to stopped state.
motion 3.1.18 is released. http://sourceforge.net/project/shownotes.php?release_id=301053 The 3.1.17 ebuild works fine after removing the epatch line..... 3.1.18 already includes ffmpeg 0.4.9 support.
3.1.19 has been released: http://sourceforge.net/project/shownotes.php?group_id=13468&release_id=309572
3.1.20 released, and switching to 3.2.1 branch, which uses a http controlinterface instead of xmlrpc, works great with quickcam sphere tilt/pan and motiontracking.
In portage for months, closing.