Installation Instructions of the CC/PP Apache module for Apache 2.x
The module that we developed is tested with the 2.0.43 version of the Apache Server. The platforms used for the implementation for that module was RedHat Linux 8.This module transforms the Apache Web Server to a transcoding web server. The files subject to that transcoding are MPG video files, MP3 audio files and GIF images.
In order to achieve the transcoding of those files we used two external libraries.
- The FFmpeg library for the MP3 audio files and MPEG video files (used by the ffmpeg.c file)
- The ImageMagick library for the transcoding of the GIF images (used by the cp_images.c file).
The module can be downloaded from here (mod_ccpp.c)
Also, you can download a Makefile in order to compile the module and
the libraries(Makefile).
- Download the mod_ccpp.c module and files ffmpeg.c, cp_images.c used for the transcoding.
- Download FFmpeg and ImageMagick libraries (the ImageMagick library is already contained in the RedHat and Mandrake distributions, otherwise install both of them)
- Store the module and the other files (cp_ffmpeg.c, cp_images.c, and all the .c and .h files that included in the decoder.tar.gz and encoder.tar.gz) under the apache2/modules/ directory of the source tree of the Apache software.
- Change the paths in the Makefile according to your system. We are using the DSO mechanism to install the module(apxs - APache eXtenSion)
- After these changes type make ccpp and make install to install the server
In order for the module to be activated and the transcoding process to start a CC/PP Profile in the appropriate CC/PP headers have to be added in the HTTP headers. This can be achieved by the usage of an intermediate proxy. We have implemented such a proxy and is listening for connection at the address 139.91.70.5 at port 22223.
Here is a Profile that we used when testing our server.
In order to see the module working we have installed a CC/PP aware Apache server. Demo web page for apache 2.x .
For any questions or comments contact: moschous@ics.forth.gr





