2 Installation
2.1 Requirements
Upipe has the following dependencies:
a C99 compiler (Upipe won't probably compile with any other compiler than gcc >= 4.1)
support for Intel atomic built-ins (there is a fallback with semaphores for architectures/compilers that don't support them, but it is really not recommended)
a recent version of autoconf (http://www.gnu.org/software/autoconf/), automake (http://www.gnu.org/software/automake/) and libtool (http://www.gnu.org/software/libtool/)
Upipe has the following optional dependencies:
http://www.freedesktop.org/wiki/Software/pkg-config/ pkg-config to detect installed dependencies
http://dist.schmorp.de/libev/ libev library and headers (only required for the optional libupump-ev library), tested with 4.11.
http://www.nongnu.org/mkdoc/ mkdoc to compile the documentation
http://ffmpeg.org/ or http://libav.org/ libraries and headers for upipe-av and upipe-sws. Tested with libav v9.10, and ffmpeg 1.1 up to 2.1.1 . FFmpeg/libav needs to be configured with --enable-pic --enable-shared.
perl is needed in the build process of upipe-av
http://www.videolan.org/developers/bitstream.html headers to build upipe-ts, upipe-framers, and a few upipe-modules components. bitstream should always be fetched from the latest git.
http://www.videolan.org/developers/x264.html for upipe-x264
a GL/GLU/GLX and X11 implementation for upipe-gl
2.2 Build
Upipe comes with a pretty standard autotools build system, so
./bootstrap && ./configure && make
should be enough to build it. Unit tests can be built and run with:
make check
2.3 Execution
Upipe is a set of developement headers for pipes and librares for applications, and thus runs inside an application. Simple examples are however provided in the tests/ and examples/ directories.