[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Playing MP3 with SDL_mixer 1.2 using libmpg123
- To: Pygame Mail List <pygame-users@xxxxxxxx>
- Subject: [pygame] Playing MP3 with SDL_mixer 1.2 using libmpg123
- From: Lenard Lindstrom <len-l@xxxxxxxxx>
- Date: Fri, 4 Sep 2015 12:14:04 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 04 Sep 2015 15:22:19 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=telus.net; s=neo; t=1441394045; bh=LE1aFKWMQ5NU98QtA3RnconHQlYmkf0P3VD7lA8rO70=; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type: Content-Transfer-Encoding; b=JhshS7PDwuSkpZOI9UmlwlC/hqO2Rl4aibHLBksHO5NNgD7SzVpyLJXSk+YQ0IOZT Au0O9c7vUiZj3Oe59lROrws9QDbTZ1Jz63QSwdWH5cdlNkE0aX/rPtqAbGmdgInUiQ gEiPfc9NroPAc0tLPnQsu4KkiN0+RCK+1ZtfYftgQ0+z2Zw7hizucSix0SZBPOJ80o wdxjBt6iCNR/dxvYcVmX7WP8dAoYG4VGLa5terGAYN9L4z4n+7CYqTeRV0U/6WmNBp e77R/gc4e0apVZEWedMrfzObkywIV6xeTO1bPKzpWiswnlK3chQUNFntXvGFb8qUR+ HRFAVLvAp9IQQ==
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
Hi everyone,
I have taken the last couple of weeks to prepare a patch to SDL_mixer
1.2 that replaces SMPEG and the MAD library with libmpg123 as the MPEG
decoder. The SDL_mixer interface to SMPEG is simply broken, and has
probably been removed from SDL_mixer 2 by now. Also, I have read
criticisms of SMPEG's ability to handle MP3 music files. The MAD library
is GPL licensed, which is incompatible with Pygame's LGPL license, or so
I have been lead to understand. The mpg123 library is LGPL, and appears
to support many MP3 flavors.
The patch is available at
https://bitbucket.org/llindstrom/sdl_mixer-1.2-patches/overview . I
intend to use it in the prebuilt x86 and x64 Windows binaries for Pygame
1.9.2. I will have 32-bit Pygame 1.9.2 installers out shortly for Python
3.4, and hopefully 2.7. I will also have x64 prebuilt libraries ready
for download (They work on Wine 64, but are untested in an actual Pygame
build on an actual x64 Windows system.)
Have fun,
Lenard Lindstrom