Debian / Ubuntu problems

Introduction

Debian , Ubuntu and others debian based distributions have a really old motion package , so many users have tons of problems. It's quite easy

to upgrade to motion stable or even use svn trunk version.

Issues

- No mpeg encoders for ffmpeg

http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2007x09x24x175945

http://www.lavrsen.dk/foswiki/bin/view/Motion/SupportQuestion2008x11x09x151456

Easy work around use your own ffmpeg build from source or get one with mpeg encoders support.

Other option is get rid of built-in encoders and use external pipe from svn trunk.

- Repackaging ffmpeg in Ubuntu ( 8.10 , 9.04 )
Ubuntu with unstripped packages :

sudo apt-get source libavformat-unstripped-52
patch -p0 <  unstripped-dev.diff
  sudo apt-get install fakeroot  build-essential
cd  ffmpeg-0.svn20080206
  sudo dpkg-buildpackage -tc -b -rfakeroot 
( problably you need to install more packages , like some dev and so on )

cd .. 
sudo dpkg -i libavcodec-dev-unstripped_0.svn20080206-12ubuntu3.1+unstripped6_i386.deb
libavcodec-unstripped-51_0.svn20080206-12ubuntu3.1+unstripped6_i386.deb
libavformat-dev-unstripped_0.svn20080206-12ubuntu3.1+unstripped6_i386.deb
libavformat-unstripped-52_0.svn20080206-12ubuntu3.1+unstripped6_i386.deb
libavutil-dev-unstripped_0.svn20080206-12ubuntu3.1+unstripped6_i386.deb
libavutil-unstripped-49_0.svn20080206-12ubuntu3.1+unstripped6_i386.deb
 

Not working because paletter conversion issues

http://www.lavrsen.dk/foswiki/bin/view/Motion/SupportQuestion2008x11x18x145843

Probably because using 2.6.27 kernel that added many new palettes not all supported in motion yet.

Get svn trunk and try ... also you can try to get libv4l and run as a wrapper.

How to upgrade ?

Get current stable :

http://www.lavrsen.dk/foswiki/bin/view/Motion/DownloadFiles

Or subversion :

http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionSubversion

Check things that has changed in motion guide and also parameter names :

http://www.lavrsen.dk/foswiki/bin/view/Motion/UpgradingFromOlderVersion

http://www.lavrsen.dk/foswiki/bin/view/Motion/IntuitiveOptionNamesDiscussion

-- AngelCarpintero - 19 Nov 2008
Topic revision: r5 - 01 Jun 2010 - 05:56:24 - KennethLavrsen
 
Motion - Debian Ubuntu
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.