On Tue, Nov 17, 2009 at 5:56 PM, Simon <grem...@gmail.com> wrote: > > > On Wed, Nov 18, 2009 at 12:34 PM, Christian Marillat <maril...@free.fr> > wrote: >> >> Simon <grem...@gmail.com> writes: >> >> > On Wed, Nov 18, 2009 at 10:59 AM, I put the Who? in Mishehu < >> > mishehu.mash...@gmail.com> wrote: >> > >> >> The avcodec references there I believe are looking for ffmpeg. Do you >> >> have >> >> ffmpeg installed? >> >> >> > >> > Hi There, Thanks for the reply.. yes we do have fmpeg installed: >> > >> > # dpkg -l | grep ffmpeg >> > ii ffmpeg 3:20080706-0.3lenny1 audio/video encoder, streaming server & >> > audi >> > ii libavdevice52 3:20080706-0.3lenny1 ffmpeg device handling library >> > ii libavformat52 3:20080706-0.3lenny1 ffmpeg file format library >> >> This version is too old. >> >> Christian >> > > OK. At the moment i am using ffmpeg from debian lenny. I guess i should look > at building the latest ffmpeg first correct? >
I would find a .deb like https://edge.launchpad.net/~freshmedia/+archive/ppa 4:0.5+svn20091116~ppa1~karmic1 Might have to apt-get source re-build. or if that doesn't work for some reason, here is a script I use to build trunk: #!/bin/bash # updeb.sh # updates a deb. well, makes a deb from current source. # based on https://help.ubuntu.com/community/UpdatingADeb set -xe # ----------------- PACKAGE=ffmpeg OLDVER=$PACKAGE-0.5+svn20090706 NEWVER=$PACKAGE-trunk # ----------------- if [ ! -d $PACKAGE ]; then mkdir $PACKAGE fi cd $PACKAGE # needed to get source, compile and build debs sudo apt-get --assume-yes --force-yes install build-essential fakeroot subversion cvs dpkg-dev devscripts debhelper autoconf automake libtool # get the $PACKAGE deps and source from apt repository # (and debian/ dir needed to build the .deb) sudo apt-get --assume-yes --force-yes build-dep $PACKAGE # sudo apt-get --assume-yes --force-yes install libavformat-dev libdv4-dev libgtk2.0-dev libsdl1.2-dev libvorbis-dev libsamplerate0-dev libxml2-dev # sudo aptitude -s -f build-dep $PACKAGE apt-get source $PACKAGE if [ ! -d $OLDVER ]; then find ./ -type d -name "$PACKAGE*" exit fi # ----------------- if [ ! -d $NEWVER ]; then sudo apt-get --assume-yes install libmp3lame-dev svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk $NEWVER fi cd $NEWVER/ # svn revert debian/changelog # git pull svn up cd .. # ----------------- cp -a $OLDVER/debian $NEWVER/ touch $NEWVER/RELEASE # cp $OLDVER/RELEASE $NEWVER/ cd $NEWVER/ # ----------------- # autoreconf -i # --enable-libmp3lame rm debian/patches/series # Unknown option "--disable-vhook". # remove --disable-vhook and --enable-swscale from debian/confflags # rules: dh_installexamples -plibavcodec-dev libavcodec/apiexample.c # ----------------- # bump the version number # if this is not done, the new deb will be the same version as the current, so won't install. ($0 is the name of this script) debchange --nmu $0 # build the .deb dpkg-buildpackage -uc -b # DEB_BUILD_OPTIONS="nostrip" dpkg-buildpackage -uc -b # install the deb. # using this command, on your own :) set +x exit that will make a bunch of .deb that need to be installed in the right order: sudo dpkg -i libavutil*.deb sudo dpkg -i libavcodec*.deb sudo dpkg -i libavformat*.deb sudo dpkg -i libswscale*.deb sudo dpkg -i libavdevice*.deb sudo dpkg -i libavfilter*.deb sudo dpkg -i libpostproc*.deb sudo dpkg -i ffmpeg_*.deb sudo dpkg -i libavutil-dev_*.deb sudo dpkg -i libavcodec-dev_*.deb sudo dpkg -i libavdevice52_*.deb sudo dpkg -i libavdevice-dev_*.deb sudo dpkg -i libavfilter-dev_*.deb sudo dpkg -i libavformat-dev_*.deb sudo dpkg -i libpostproc-dev_*.deb sudo dpkg -i libswscale-dev_*.deb -- Carl K