Convert all WAV files to mono, low-bitrate MP3 for podcasts (ffmpeg)
for f in *.wav; do ffmpeg -i "$f" -hide_banner -loglevel error -nostats -ac 1 -c:a libmp3lame -q:a 8 -joint_stereo 1 -compression_level 9 -map_metadata 0 -metadata composer="" -metadata ENCODED-BY="" -metadata comment="" -metadata encoded_by="FFmpeg$(ffmpeg -version | head -n1 | awk '{print $3}')" -id3v2_version 3 "${f%.wav}.mp3"; done
Converts all .wav files in the current directory to mono MP3 files with a lower bitrate (variable, around 64-80kbps), optimized for speech, preserving metadata and adding encoding information, which is ideal for podcast audio.