= Compiling Veejay = == Prerequisities == Required: * '''[http://mjpeg.sf.net MJPEG Tools]''' * '''[http://ffmpeg.sf.net FFmpeg]''' * '''[http://xmlsoft.org libxml2] libXML for gnome''' * '''[http://www.libsdl.org/ SDL]''' * '''[http://libdv.sourceforge.net/ libdv]''' * '''[http://freetype.sourceforge.net freetype2]''' * '''[http://www.gtk.org GTK-2.4 (GTK 2.8 recommended)''' * '''[http://unicap.sf.net Unicap API]''' * '''[http://cairographics.org/introduction Cairo]''' * '''[http://cairographics.org/gtkcairo GtkCairo]''' Optional: * [http://directfb.sourceforge.net DirectFB] f * [http://jackit.sourceforge.net Jack] * [http://libquicktime.sourceforge.net Libquicktime] * openGL library (gl.h and libGL.so) You should check with the package manager of your distribution to see if all development packages have been installed, among others this includes: * glib >= 2.4 dev * automake, autoconf, libtool, gcc, make, etc. * linux kernel header files * the -dev packages of the required dependencies If you are one of those lucky users with a distribution without any compiler pre-installed you will need to setup a build system by installing a gcc, automake, autoconf, etc etc. == Preperation == Veejay requires a recent ffmpeg. If veejay fails to build/link with the ffmpeg on your system, remove it and grab ffmpeg from source. {{{ $ svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg $ cd ffmpeg $ ./configure --enable-shared --enable-swscaler --enable-dts --enable-gpl $ make $ make install }}} You need to set the PKG_CONFIG_PATH environment variable to the directories that contain the .pc files. {{{ $ echo $PKG_CONFIG_PATH $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig }}} 1. Get the sources from Veejay's repository: {{{ $ svn co svn://dyne.org/veejay/trunk/veejay/current }}} 2. Enter the source directory and run autogen.sh {{{ $ cd veejay-current $ sh autogen.sh }}} 3. Run ./configure {{{ $ ./configure }}} If you want to disable the graphical interfaces for some reason, use: {{{ $ ./configure --without-gveejayreloaded }}} If you want to use openGL for video playback, use: {{{ $ ./configure --enable-gl }}} == Building == Type 'make' to build veejay {{{ $ make }}} == Installing == {{{ $ sudo make install }}} or {{{ $ su # make install }}} == Running veejay == Test if veejay works: {{{ $ veejay -d -n }}} To run veejay without accelerated display: {{{ $ veejay -O5 -d -n }}} To run veejay in verbose mode: {{{ $ veejay -O5 -d -n -v }}} To run veejay with openGL display: {{{ $ veejay -O4 -d -n }}} Start another terminal and type: {{{ $ gveejayreloaded }}} or {{{ $ gveejayreloaded -n }}} == Stopping veejay == Open another terminal {{{ $ sayVIMS "600:;" }}} (or press CTRL-C in the terminal running veejay)