Friday, November 18, 2011

Fix FFMpeg to Convert Audio

When trying to use FFMPEG to convert AC3 audio in a video file to AAC, I kept receiving the error message "Unknown encoder 'libfaac'." Finally I found the solution to this on Ubuntuforums.org. FFMPEG that comes with Ubuntu has no proprietary non-free codecs included. Instead of recompiling FFMPEG, simply install Medibuntu repositories, the install additional codec libraries. From the Medibuntu site:

The following bash command adds Medibuntu's repository to Ubuntu. It also adds Medibuntu's GPG key to your keyring, which is needed to authenticate the Medibuntu packages.

This command should be run in the Terminal (Applications → Accessories → Terminal):

sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

Medibuntu's repository is deactivated by upgrading to a newer Ubuntu release, so you should run this command again after the release upgrade.

You may also wish to add the following packages. The first will cause many apps from the Medibuntu repository to appear in Ubuntu Software Center (Ubuntu 9.10+) or Add/Remove Applications (versions prior to 9.10). The second will allow users to generate crash reports against Medibuntu packages and submit them to the Medibuntu bugtracker.

sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu 

2 comments:

  1. Avdshare Audio Converter can Convert between various audio formats with zero quality loss.https://www.avdshare.com/audio-converter-mac-windows

    ReplyDelete
  2. Avdshare Video Converter can Remove subtitles from MKV without recoding the original streams
    https://www.avdshare.com/remove-subtitles-from-mkv

    ReplyDelete