Tag Archives: ffmpeg

super easy installing ffmpeg, ffmpeg-php, lame, libogg, libvorbis, mplayer, mencoder and flvtool2 in Debian 6

There are new comer Linux users that still think that installing ffmpeg, mencoder and flvtool2 is hard to do in Linux. I can understand this because not many tutorial site tell them how to do it easily. If you do not need “bleeding-edge” features of the latest ffmpeg, ffmpeg-php, mencoder, mplayer and flvtool2, you can use this tip I wrote. You need additional Debian repository to do this tip.

Add debian-multimedia repository in your /etc/apt/sources.list (edit this file using your favorite text editor such as vim or nano)

You can choose the nearest debian-multimedia repository server here: http://debian-multimedia.org/debian-m.php. Choose the one that near your server, at least in the same continent.

After adding to sources.list, do some:

then, to install ffmpeg, mencoder, mplayer and flvtool2 in Debian Squeeze, do some:

you’re done! It should be less than 5 minutes for a fast server.
apt-get will handle the dependency (such as libmp3lame, libogg, libvorbis) for you! No meddling with source code, no need to compile by yourself, no dependency headache, no libraries conflict, just working environment with some simple steps!

For ffmpeg-php there is additional repository: dotdeb repository. Read the instruction on how to add dotdeb repository in your current Debian 6 /etc/apt/sources.list
After adding dotdeb repository, you can simply install ffmpeg-php by:

That easy!

Installing more updated version of ffmpeg on Debian 5 (Lenny)‏

Problem: 
my ffmpeg chain-of-command used in my mp3 to Youtube uploader didn’t work with some error. Something like this:

I’m trying to ‘place’ the site on a Debian 5 (Lenny) server. I’m using ffmpeg from Debian 5 repository (with no additional repo added).
Cause:
the ffmpeg version installed is ‘too old‘, it has bugs that casing the conversion fail.

Solution: 
get the most updated version of ffmpeg for Debian 5 (Lenny)
You need to add Debian-multimedia repository into your /etc/apt/sources.list

  • update your package list and upgrade old packages

  • reinstall ffmpeg:

done!