
Compiling Veejay ¶
Prerequisities ¶

Required:

    * MJPEG Tools
    * FFmpeg
    * libxml2 for saving project data
    * SDL for the video window
    * libdv for playback of DV Video
    * DirectFB for secundary head (TVOut)
    * Jack for audio playback
    * freetype2 for font rendering
    * libjpegMMX for SIMD optimized JPEG decoding
    * [http://www.gtk.org GTK-2.4 (GTK 2.6 recommended)
    * [http://www.gnome.org GdkPixbuf (comes with Gnome)
    * Cairo (needed for GVeejay Reloaded)
    * GtkCairo (needed for GVeejay Reloaded)
    * Libquicktime for Quicktime]
    * openGL library (gl.h and libGL.so) for the video window
    * Unicap API for more video input devices] 

You should check with the package manager of your distribution to see if all development packages have been installed, among others this includes:

    * libdv-dev
    * cairo
    * jack-dev
    * glib >= 2.4 dev
    * gtk >= 2.4 dev
    * libglade >= 2.2 dev
    * automake, autoconf, libtool, etc.
    * linux kernel header files 

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.

    * Compiling On Ubuntu: doc/HowtoUbuntu.txt

Preperation ¶
Configuration ¶

Before running configure, check if the PKG_CONFIG_PATH variable is setup correctly:

 $ echo $PKG_CONFIG_PATH

If echo is silent, you must set the PKG_CONFIG_PATH to point to the directory containing all your .pc files (like for example libdv.pc or jack.pc )

 $ find /usr -name libdv.pc
 /usr/local/lib/pkgconfig/libdv.pc

 $ export PKG_CONFIG_PATH=/usr/local/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 --without-gveejay

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)

