How to re-encode all WAV files in the current directory to OPUS
reencode_wav_to_opus.sh
for i in *.wav ; do ffmpeg -i "${i}" -c:a libopus -vbr on -compression_level 10 "${i}.opus" ; done
Check out similar posts by category:
Audio
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow