ffmpeg -i <file>.wav <file>.ogg
There are some extra flags for higher quality but I don't remember what they are right now. 10 being highest quality Vorbis allows, I think FFMPEG's default is 7.
@amolith I did oggenc --quality=10
Because polka is the highest quality music there is.
Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.