Author Topic: 12.04 install, motion wrapper  (Read 1985 times)

cfernandes

  • Guru
  • ****
  • Posts: 355
    • View Profile
    • my company web site
12.04 install, motion wrapper
« on: February 13, 2014, 05:59:55 pm »
HI, 

   i try to install 12.04 on a new machine and motion wrapper is failling to install Depends off libavcodec52  and on 12.04  use libavcodec53


cfernandes

  • Guru
  • ****
  • Posts: 355
    • View Profile
    • my company web site
Re: 12.04 install, motion wrapper
« Reply #1 on: February 15, 2014, 02:15:12 pm »
i found a soultion  but i cant create a ticket on svn


motion wrapper  depend  libavcodec52  but on 12.04  the correct is libavcodec53

need to change on pakcage

Pre-Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), ffmpeg, motion, libavcodec53, libdc1394-22

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: 12.04 install, motion wrapper
« Reply #2 on: February 15, 2014, 03:27:16 pm »
Hi,

I'm fairly certain that when I did apt-get install kubuntu-restricted-extras the libavcodec53 was downloaded (plus a bunch of other packages).

Cheers.

cfernandes

  • Guru
  • ****
  • Posts: 355
    • View Profile
    • my company web site
Re: 12.04 install, motion wrapper
« Reply #3 on: February 15, 2014, 07:07:29 pm »
is correct.
  but motion wrapper  is dependent  of  libavcodec52 and this dependence  need to be change to libavcodec53

i change  in my  installation  and  motion wrapper is working with libavcodec53 

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1563
    • View Profile
Re: 12.04 install, motion wrapper
« Reply #4 on: February 18, 2014, 11:03:02 pm »
This is updated now and a new package will be created and pushed to the repository.  Thanks cfernandes!

J.

cfernandes

  • Guru
  • ****
  • Posts: 355
    • View Profile
    • my company web site
Re: 12.04 install, motion wrapper
« Reply #5 on: September 05, 2015, 01:48:35 pm »
After  the last update  Motion Wrapper  is died

/usr/pluto/bin/Spawn_Device.sh: line 170: 30145 Segmentation fault      (core dumped) /usr/pluto/bin/Spawn_Wrapper.sh "$Path$cmd_line" -d "$device_id" -r "$ip_of_router" -l "$LogFile"
LOG: Return code: 139
3       09/05/15 08:46:38       36 (spawning-device)    Device died... count=15/50 dev=36
3       09/05/15 08:46:38       36 (spawning-device)    Device died... count=15/50 dev=36

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1563
    • View Profile
Re: 12.04 install, motion wrapper
« Reply #6 on: September 06, 2015, 02:06:47 am »
I'm pushing the new motion package to the repo this weekend.  The config scripts where updated some time ago with no update in the motion package.  Watch the 1204 updates page to see when the update goes in.  Thank for reporting!

J.

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3436
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: 12.04 install, motion wrapper
« Reply #7 on: September 06, 2015, 12:48:32 pm »
New motion package is online for 1204.

cfernandes

  • Guru
  • ****
  • Posts: 355
    • View Profile
    • my company web site
Re: 12.04 install, motion wrapper
« Reply #8 on: September 06, 2015, 02:43:36 pm »
i update  . but not  work

the problem  is  the motion_wrapper cant connect  to dcerouter

dcerouter  refuse  the conection.

if run  /usr/bin/motion  the  daemon  is running.   
but motion_wrapper  cant  connect to dcerouter

this  is log  from DCErouter.log when a call motion_wrapper

05      09/06/15 9:37:28.994            Socket::ReceiveData 0xb598e890 failed, bytes left 0 start: 7840000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 211 Incoming_Conn Socket 211 ::ffff:192.168.80.1EVENT 179 T=64 Event #179 <0x570fcb40>
05      09/06/15 9:37:28.994            Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 211 ::ffff:192.168.80.1EVENT 179 T=64 Event #179 <0x570fcb40>
05      09/06/15 9:37:28.994            TCPIP: Closing connection to 179 (Router Dev #0) 0xb598e890 m_Socket: -1 <0x570fcb40>
05      09/06/15 9:37:28.994            Router::RemoveAndDeleteSocket 0xb598e890 179 <0x570fcb40>
05      09/06/15 9:37:28.994            Socket::ReceiveData 0x5e521058 failed, bytes left 0 start: 7840000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 212 Incoming_Conn Socket 212 ::ffff:192.168.80.1EVENT 179 T=64 Event #179 <0x568fbb40>
05      09/06/15 9:37:29.004            Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 212 ::ffff:192.168.80.1EVENT 179 T=64 Event #179 <0x568fbb40>
05      09/06/15 9:37:29.005            TCPIP: Closing connection to 179 (Router Dev #0) 0x5e521058 m_Socket: -1 <0x568fbb40>
05      09/06/15 9:37:29.005            Router::RemoveAndDeleteSocket 0x5e521058 179 <0x568fbb40>


this is  a log  from motion_wrapper

 ./Motion_Wrapper -d 179 -r dcerouter
Motion_Wrapper, v.2.0.0.46.15082731292
Visit www.plutohome.com for source code and license information

01      09/06/15 9:41:45.730            Connect() Failed <0xb6f98700>
Segmentation fault (core dumped)





cfernandes

  • Guru
  • ****
  • Posts: 355
    • View Profile
    • my company web site
Re: 12.04 install, motion wrapper
« Reply #9 on: September 06, 2015, 09:40:08 pm »
i make my motion_wrapper  working.

Attached change I made

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3436
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: 12.04 install, motion wrapper
« Reply #10 on: September 06, 2015, 10:43:17 pm »
I wonder if that's really the right way of doing things. Shouldn't the config file really be in /etc/motion/ instead of /etc/motion/motion/?

To me this looks like the current motion package should be amended to look at the right place. Probably a configure prefix issue.

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3436
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: 12.04 install, motion wrapper
« Reply #11 on: September 07, 2015, 07:29:33 pm »
Stuff has been fixed. Another new motion packages is available.

Feedback is appreciated.

darkwizard864

  • Veteran
  • ***
  • Posts: 80
    • View Profile
Re: 12.04 install, motion wrapper
« Reply #12 on: September 07, 2015, 08:03:33 pm »
motion still not running.. it looks like lmce not writing proper conf files. when I run motion from terminal it grabs video0
and then I checked /etc/motion/motion and etc/motion and they say same thing .

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3436
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: 12.04 install, motion wrapper
« Reply #13 on: September 07, 2015, 08:18:28 pm »
please post the output of
Code: [Select]
dpkg -l | grep motion

darkwizard864

  • Veteran
  • ***
  • Posts: 80
    • View Profile
Re: 12.04 install, motion wrapper
« Reply #14 on: September 07, 2015, 08:23:18 pm »
dcerouter_1042085:~# dpkg -l | grep motion
ii  motion                               3.2.12+git20150610-lmce2~precise1        V4L capture program supporting motion detection
ii  pluto-motion-wrapper                 2.0.0.46.15082731292                     <insert up to 60 chars description>
ii  xserver-xorg-video-siliconmotion     1:1.7.5-1build2                          X.Org X server -- SiliconMotion display driver