Ffmpeg on Fulong

From In The Wings
Revision as of 16:09, 19 December 2007 by Jka (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

OK... so I was looking for things to do with the Fulong, so I headed over to Freshmeat and found something that interested me, namely a program called Clive.

Building

Well, reading up on this thing a bit more, it turns out that one of the options for it is to push the files through ffmpeg and urlgrabber in order to reencode them. urlgrabber is just a python script, so no big deal there, but I needed ffmpeg.

It turns out that ffmpeg is only available via svn (i.e. Subversion), and of course the Fulong doesn't have THAT installed. So now I have to install Subversion. Welcome to dependency hell. Subversion in turn requires apr and apr-util, both of which are parts of the Apache Portable Runtime. So I go and grab those. apr compiles and installs without problem with a simple configure and make. apr-util required a bit more finesse on the configure line because it depended on apr:

./configure --with-apr=/home/src/apr-1.2.12

OK, so we have the dependencies of subversion down. Now to build subversion. Of course, a bit more finessing on the configure line is involved here:

./configure --with-apr=/home/src/apr-1.2.12 --with-apr-util=/home/src/apr-util-1.2.12