Enumerating format from libav instead of hardcoding them