You might be able to extract the audio track from .avi videos and save it in a separate audio file, which can then be converted to Ogg Vorbis format (.ogg), which will essentially achieve avi to ogg conversion for you. This operation can be performed in a lot of multimedia conversion software, either directly or via middle step audio export to some exchange format.
Updated: November 4, 2022