Codecs
Quality from high to low:
libopus > libvorbis >= libfdk_aac > libmp3lame >= eac3/ac3 > aac > libtwolame > vorbis > mp2 > wmav2/wmav1
libvorbis
If output extension is .ogg
, codec libvorbis
is automatically selected.
shellffmpeg -i input.wav output.ogg