Answers for "linux convert mp3 to ogg"

0

linux convert mp3 to ogg

# single file
ffmpeg -i input.mp3 -c:a libvorbis -q:a 4 output.ogg

# whole directory
for f in ./*.mp3; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f/%mp3/ogg}"; done
Posted by: Guest on November-26-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language