Home

Converting filetypes#

If you want to convert a single ogg-file into mp3.

ffmpeg -i "file.ogg" "file.mp3"

If there are multiple files, instead of writing a script, you could use gnu/parallel to use all of your CPU cores.

parallel ffmpeg -i "{}" "{.}.mp3" ::: *.ogg

Changing bitrate#

ffmpeg -i sounds.mp3 -b:a 128k sounds.mp3

These are the different bitrates.