Convert wav to ogg vorbis in Python

How to transcode a wav file to ogg vorbis format using Python?

I can convert to mp3 using PyMedia 1.3.7.3, but when I set the output stream type to "ogg", I get an error: oggvorbis_encode_init: init_encoder failedand the script dies.

+5
source share
1 answer

From PyMedia website:

OGG (optional with vorbis library)

You need to install Vorbis for the OGG encoder to work. Since the old version of your question tells me that you are on windows, you can grab it here:
http://www.vorbis.com/setup_windows/

+2
source

All Articles