Bug 236611

Summary: www/youtube_dl: Missing dependency: Unknown encoder 'libmp3lame'
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed Not A Bug    
Severity: Affects Only Me CC: yuri
Priority: --- Flags: bugzilla: maintainer-feedback? (araujo)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/ytdl-org/youtube-dl/issues/20391

Description Yuri Victorovich freebsd_committer freebsd_triage 2019-03-18 01:31:38 UTC
The command to download a youtube audio in the mp3 format fails:
> youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?[...]

Error message:
> ERROR: audio conversion failed: Unknown encoder 'libmp3lame'

There is no relevant port option that would enable mp3, even though it is a very common format.

Please add the missing dependency, possibly with the corresponding port option.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-03-18 02:14:06 UTC
This was caused by the missing LAME=on option in ffmpeg.