Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 8465  / 3 Years ago, sun, june 6, 2021, 3:21:25

When I run youtube-dl and extract the audio it gives me the error:

ERROR: audio conversion failed: Unknown encoder 'libmp3lame'

Could this be because I have ffmpeg and lame installed? Do the two conflict with eachother somehow?


More From » youtube-dl

 Answers
6

Make sure that you have the libavcodec-extra-53 package for encoding to mp3 installed. To install libavcodec-extra-53 from the terminal run:


sudo apt-get install libavcodec-extra-53  

Libav codec library:

Libav is a complete, cross-platform solution to decode, encode, record, convert and stream audio and video.



  • In Ubuntu 14.04 the Libav codec library (libavcodec-extra-53) has been updated to libavcodec-extra-54.

  • In Ubuntu 15.10 and 16.04 the Libav codec library has been updated to libavcodec-ffmpeg-extra56.

  • In Ubuntu 16.10, 17.04, 17.10, and 18.04 Libav codec library has been updated to libavcodec-extra57.

  • In Ubuntu 18.10, 19.04, 19.10, 20.04, 20.10, 21.04, 21.10 and 22.04 Libav codec library has been updated to libavcodec-extra58.


[#27720] Sunday, June 6, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istictroubli

Total Points: 306
Total Questions: 96
Total Answers: 114

Location: Sao Tome and Principe
Member since Wed, Jul 13, 2022
2 Years ago
istictroubli questions
;