Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Vis 4.2.5 crashes while looping mp3 background music

  • #1, by Lebostein 11 years ago Zitieren
    If you use mp3 files for background music, then 4.2.5 crashes if the music is finished. With 4.2.0 at this point the music starts again (I think looped playback is standard). I have tested this with different mp3 files (all these files are successful used in 4.2.0). All these tested files cause a crash (Windows and Mac OS) at the point of the first replay loop.
  • #2, by afrlme 11 years ago Zitieren
    Use OGG (vorbis) files. You would need to acquire a license to use mp3 files in your game anyway - especially if you intend on releasing your game with the intention of making a profit.
  • #3, by Lebostein 11 years ago Zitieren
    I report a bug and I get a hint to licence things? Very curious....

    OK, we simply suppose, I have a license. Back to the first question.
  • #4, by SimonS 11 years ago Zitieren
    Mp3 is proprietary, if you sell games with mp3 you will need to pay to the Fraunhofer Institut: http://www.iis.fraunhofer.de/de/ff/amm/prod/audiocodec/audio...

    It's not our fault. Nobody asks about your vis license. Mp3 is extremely unstable in the current build and will crash.
  • #5, by Lebostein 11 years ago Zitieren
    It's not our fault. Nobody asks about your vis license. Mp3 is extremely unstable in the current build and will crash.

    In Visionaire 4.2 it works without problems, with Visionaire 4.2.5 it crashes

    Why you don't remove the mp3 "support"? If there is a licence problem and a technical problem, then it is inevitable to remove the mp3 "support" completely from visionaire.
  • #6, by SimonS 11 years ago Zitieren
    I didn't know it would crash, but in the future it will be removed.
  • #7, by Lebostein 11 years ago Zitieren
    You should add a warning in future (while loading or starting a project) if mp3 files are used in the current project. By the way you can add some hints for helpless users (in tutorial section), how they can convert their mp3 files to ogg (Audacity, ffmpeg...)

    Personally I use the command line tool ffmpeg (-aq is the quality level 0...9):
    ffmpeg -i music.mp3 -acodec libvorbis -aq 6 music.ogg
    

    https://ffmpeg.org/
  • #8, by afrlme 11 years ago Zitieren
    Recommended audio, video & image formats are all mentioned in the manual section of the wiki. There is even a mini-guide to encoding / converting for each one too.

    I use Audacity for audio conversion. XnConvert for image conversion (freeware batch converter with macros & webp support). As for videos, I couldn't tell you as I'm not very savvy on video encoding.
  • #9, by ke4 11 years ago Zitieren
    It's probably best to use ffmpeg ( or there are other converters ) for videos as i couldn't find a way to render directly to vp8/vp9 codec.