Skip to content
Advertisement

Enabling libmp3lame for FFMPEG on elastic beanstalk

I am trying to enable libmp3lame with FFMPEG in elastic beanstalk (Amazon Redhat Linux machine).

I am able to successfully install FFMPEG in /ffmpeg.config with the following script:

JavaScript

I need to install libmp3lame however. I’ve tried to do this with an --enable-libmp3lame flag and the directions here. The modified script:

JavaScript

This doesn’t work. Command 01-install_libmp3lame completes. Command 02-ffmpeg_install fails because:

JavaScript

I have tried installing libmp3lame in /ffmpeg-3.2 and got the same issue.

Advertisement

Answer

  1. You used --prefix="$HOME/ffmpeg_build", but you didn’t tell ffmpeg to look there for it. You can omit this and it will probably use /usr/local/ by default.

  2. You are trying to run --prefix=/usr as an independent command instead of part of your ffmpeg ./configure. You can omit this.

  3. If you’re going to use a release branch of ffmpeg instead of the git snapshot you should use the latest version which is currently 3.3, not 3.2. However, 3.4 is due very soon (within days or a week I’m guessing).

  4. No need for sudo to configure, but you may need it for make install depending on your system and user.

Below are commands you can adapt. I didn’t verify the paths are correct to the directories containing the source for lame and ffmpeg.

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement