FFmpeg info

To transcode your videos locally on your server, OpenPackage Video uses FFmpeg. This is free software, like Drupal.

If you are using the transcoder at openpackage.biz, then you do not require FFmpeg.

Installation

These instructions are specific to unix systems like Linux. For FFmpeg under Microsoft Windows see this site. We, of course, recommend you use OpenPackage Video (and Drupal in general) on a unix system.

The important thing when installing FFmpeg is ensuring that it supports the codecs you require. The FFmpeg packaged with your distro may have poor codec support (e.g. Debian / Ubuntu's FFmpeg doesn't support mp3).

To ensure you have all the codecs you require we recommend you compile the latest version of FFmpeg.

You need subversion installed. Use your distro's package manager to install it. Then checkout FFmpeg from its repository:

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg

You then need to configure FFmpeg. Below is the configure command we recommend. However, it may detect that you do not have all the required libraries in place. In this case, either install them with your distro's package manager or remove them from the configure command. If you are using Fedora, you may wish to try Livna.

./configure --prefix=/usr --enable-static --enable-shared --enable-gpl --enable-postproc --enable-swscale --enable-pthreads --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264 --disable-ffserver --disable-ffplay --disable-debug --disable-network --enable-nonfree --enable-avfilter --enable-avfilter-lavf --disable-devices --disable-vhook

You then need to build FFmpeg and install it:

make
sudo make install

I have made it!!!!!!!!!!!! It works more or less.
Two steps to upgrade this tutorial:
"chmod + x configure version.sh"

and I mad with ./configure with no options.
But now the video conversion is ok, but with no audio...
Can you help me to correct this configuration mistake?

Thank you

Bendo

You need to enable the codecs. --enable-libmp3lame is essential for sound.

Thank you man!
What I have to do now? Launch again configure - make - install with the new option?
Can I install the lame using apt-get install?
(I use Debian 3.1)

Thanks again

Here is some information on how to get it to work on Ubuntu 6.10: http://drupal.org/node/202133#comment-663842