MantisBT - VCMI
View Issue Details
0000933VCMISound, music, videospublic2012-04-18 11:262012-10-06 14:17
beegee 
beegee 
lowfeaturealways
closedfixed 
Fedora
 
 
0000933: No music support in Fedora
The standard Fedora repository for installing software doesn't provide any framework/library for playing Mp3 files due to Fedora's license terms and the patents which protect the Mp3 encoding/decoding mechansim. SDL_mixer resides in that repo and thus meaning it can't be used for playing Mp3.
Proposal:

We shouldn't provide converted OGG files to players due to legal issues. Compiling sdl_mixer with Mp3 support may result in unstable VCMI execution. It's also more complicated if you got two versions of SDL_mixer and you have to specify the one with Mp3.

The easiest way I think for both players and devs is:
1. Run the bash script dirogg http://freecode.com/projects/dirogg. [^] It's simple to use and can convert one folder recursively from Mp3 to Ogg.
2. When the resource management re-organization(branch animRewrite) is finished it'll be easily possible to wrap the music loading logic so that a ogg file takes precedence over a Mp3 file.
3. A RPM installation script may then convert Mp3 to Ogg automatically when installing VCMI. (the player has nothing additionally to do)
No tags attached.
Issue History
2012-04-18 11:26beegeeNew Issue
2012-10-06 14:17beegeeNote Added: 0003169
2012-10-06 14:17beegeeStatusnew => closed
2012-10-06 14:17beegeeAssigned To => beegee
2012-10-06 14:17beegeeResolutionopen => fixed

Notes
(0003169)
beegee   
2012-10-06 14:17   
Issue closed. Mp3 files can be converted to OGG by the user and due to the new filesystem API, VCMI can handle playing OGG files in the /Mp3 folder. Wikipage of Linux installation instructions has been updated, see here: http://wiki.vcmi.eu/index.php?title=Installation_on_Linux [^]