views:

17

answers:

0

I want to use Python to convert a wav file to ogg vorbis format, so it can be streamed to a browser for playback.

I've been able to use PyMedia 1.3.7.3 to encode to mp3 format, but when I set the output stream type to 'ogg', I get the error: oggvorbis_encode_init: init_encoder failed and the script dies.

Perhaps I don't have the right dll's or libraries installed? Perhaps there is another way to transcode on the fly? I would use ffmpeg, but its license is incompatible with my application.

I'm looking for a walk-through of the components I need to install to get pymedia to work encoding ogg vorbis files, or at least an alternative way to programmatically convert wav files to ogg vorbis.