[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Does PyGame support Ogg Vorbis "OOTB"?



I can only speak for Pygame 1.8 on Windows, but I did build it fully loaded. According to the SDL_image docs Pygame should read image formats "BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG, TGA, and TIFF". Pygame can write BMP, TGA, PNG and JPEG (.jpg) files.

On the audio side "SDL_mixer supports playing music and sound samples from the following formats:
- WAVE/RIFF (.wav)
- AIFF (.aiff)
- VOC (.voc)
- MOD (.mod .xm .s3m .669 .it .med and more) using included mikmod
- MIDI (.mid) using timidity or native midi hardware
- OggVorbis (.ogg) ...
- MP3 (.mp3)"

To get timidity support unpack the GUS patches, http://www.libsdl.org/projects/mixer/timidity/timidity.tar.gz , under C:\ . This installs a single timidity directory.

Finally, contrary to the documentation, the movie module is available for Windows and does works for me. I have played .mpg files with it. However, the loop feature was removed.



Lenard


Ian Mallett wrote:
I have had no problems loading .png, .gif, .bmp, or .jpg, and I can
save to .bmp, and I believe also to .jpg, but I'm not sure.