The libopusenc libraries provide a high-level API for encoding .opus files.