Archive for June, 2010

ffmpeg and h.264 in Debian Lenny

Thursday, June 10th, 2010

Ever tried to transcode into H.264 using ffmpeg in Debian Lenny just to end up with this message

Unknown encoder ‘libx264′

Here is how you solve the problem:

  1. Download the debian-multimedia-keyring package
  2. Install it dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
  3. Add the Debian Multimedia repository to your sources.list
  4. Run apt-get update and apt-get upgrade
  5. Install the libx264 and ffmpeg packages; apt-get install libx264 ffmpeg or apt-get --reinstall install libx264 ffmpeg

Good luck!