On Wednesday, November 28, 2012 2:28:30 AM UTC+11,
to...@rendertom.com wrote:Hi guys.
I am total newby when it comes to building stuff.
I usually use FFMPEG for my video conversions, and now I want to try FFMBC, but have no idea how to build it.
Please, can someone give a link on HOW TO? Or maybe a built binary for that?
[..]
This works for much of the open source software around. There are other systems, but this is the most common. I'm no expert, this is just from experience.
First cd to the directory with the source code (eg cd ~/Downloads/ffmbc* ) then basically the three magic words are:
./configure
make
sudo make install
or for a one liner:
./confgure && make && sudo make install
(if you do it
like this with the && separator it runs the next command only if the previous was successful)
./configure runs the configure script which is in the source distribution. It sets up a makefile which the built in program "make" uses to actually build the binary and the last line installs it. Now it's not as simple for ffmbc, because you usually want to have some extra libraries installed like libx264 or libmp3lame or whatever. If you type
./configure --help
that will list all the options. If you type
ffmpeg --version
you'll see what your version of ffmpeg has been compiled with. For reference here's my list of options for ffmbc:
--enable-gpl --enable-nonfree --enable-frei0r --enable-libass --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-runtime-cpudetect --enable-libopenjpeg
So when I build I type
configure --enable-gpl --enable-nonfree --enable-frei0r --enable-libass --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-runtime-cpudetect --enable-libopenjpeg
make && sudo make install
A lot of those will involve doing the same thing for the dependencies - eg to get libx264 you need to download the x264 source (from the vlc people) and do the ./confgure && make && sudo make install dance for it (and if it has any dependencies you need to get them and build them (and their dependancies (and their dependencies ...)))) This can be very frustrating. Be prepared for a bit of googling. FFMBC compiles pretty well but some of the other libraries don't.
HTH
-stib