FFMPEG cant convert MP4 to MP3 | No MP3 Encoder

by lukay97   Last Updated September 27, 2017 13:02 PM

I'm facing the problem that I cant convert MP4 Videos to MP3 with FFMPEG. Every time I try it, I get this error:

Unknown encoder 'libmp3lame'

But I installed FFMPEG and LAME with the flags: --enable-libmp3lame

So when I'm running: ffmpeg -codecs help | grep 'mp3' in the console I see that the Flags are set but in the list there is still no libmp3lame like it should be:

  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
 //HERE SHOULD BE LIBMP3LAME
 D.A.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float )
 D.A.L. mp3adu               ADU (Application Data Unit) MP3 (MPEG audio layer 3) (decoders: mp3adu mp3adufloat )
 D.A.L. mp3on4 

As someone metioned in this Ubuntu Thread

lame packages won't add mp3 encoding to FFmpeg

So how can I install libmp3lame on Debian so FFMPEG can use it?

Also I already tried to install libmp3lame0 from Debian Packages but that also didnt change anything.

Tags : ffmpeg debian lame


Related Questions


Converting mp4 to mp3

Updated December 31, 2016 08:00 AM

Why is my Lame install failing?

Updated March 01, 2017 12:02 PM