-
Notifications
You must be signed in to change notification settings - Fork 1
Updated information that isn't in the installation guides
to install gfx (for pdf thumbnails) for rhel5, (probably similar names on ubuntu) you need to -
-
Add the rpmforge repo (for lame)
sudo rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
-
Get the dependencies:
yum install zlib-devel libjpeg-devel.x86_64 freetype-devel giflib-devel fftw3 lame zziplib
-
In a scratch/source/temp directory
curl http://www.swftools.org/swftools-0.9.2.tar.gz -o swftools-0.9.2.tar.gz Make, build, clean tar -xzvf swftools-0.9.2.tar.gz cd swftools-0.9.2 ./configure make make install
-
And finally, move the .so files made during the build process in swftools-0.9.2/lib/python to your python site-packages directory: sudo cp lib/python/*.so /usr/lib/python2.6/site-packages/
Now this should work:
python -c 'import gfx'
mdid3 uses ffmpeg for audio & video media.
The setting in settings.py is:
FFMPEG_EXECUTABLE = os.path.join(install_dir, 'dist', 'windows', 'ffmpeg', 'bin', 'ffmpeg.exe')
which won't work on linux installations, naturally.
Linux admins should install ffmpeg if it isn't installed and add the correct path (get with which ffmpeg
) to settings_local.py, for example on RHEL/Centos:
FFMPEG_EXECUTABLE = '/usr/local/bin/ffmpeg'
Installation on RHEL 5 & 6 can follow this guide if a yum package is not available for your specific version & architecture: http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide