Username:   Password:  

Record MP3 audio via ALSA using ffmpeg

ffmpeg -f alsa -ac 2 -i hw:1,0 -acodec libmp3lame -ab 96k out.mp3

Record audio to an MP3 file via ALSA. Adjust -i argument according to arecord -l output.

Tags

audio bash mp3 recording