JamesKyburz/youtube-audio-stream

raspberry pi issue with ffmpeg

Closed this issue · 4 comments

ERROR Error: ffmpeg exited with code 1: Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec mp3) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:0

I had to sudo apt-get install libavcodec-extra

Still the same error @calebeby

Finally I solved installing sudo apt-get install libmp3lame-dev and compiling again ffmpeg