kissplayer icon indicating copy to clipboard operation
kissplayer copied to clipboard

Replace FMOD

Open andreldm opened this issue 9 years ago • 3 comments

FMOD is a nice library, small, reliable and simple. But there's a problem with KISS Player opensource compliance. We need a replacement that is opensource(GPLv2-compatible), simple, clean and lightweight. It should not add tons of dependencies.

The following were considered:

  • ~~SDL_mixer: Not really suited for this purpose, also it relies on SDL~~
  • ~~Audiere: outdated and supports only OSS on Linux~~
  • ffdshow/FFmpeg/libavcodec: complex, adds bloatware, we won't play videos
  • ~~irrKlang: not opensource~~
  • GStreamer: complex, but it's used in similar projects
  • OpenAL: not really simple and need others libs(Vorbis, MAD...)
  • ~~SoLoud: Only ogg and mod* files~~

It must play at least MP3, OGG, FLAC and WAV.

andreldm avatar Mar 21 '15 22:03 andreldm

i heard you can custom build ffmpeg, add/remove libraries according to your needs. No need bloatware.

SailorOnDaTea avatar Sep 19 '15 01:09 SailorOnDaTea

It seems there aren't many options out there, basically pretty much everything boils down to GStreamer or FFmpeg. They both are far from simple to get working like FMOD is. I also found libVLC, seems nice and simple, but depends on lots of libs for codecs.

Regarding the increased build complexity, both GStreamer and FFmpeg are available on most(all?) of linux distros repositories and are also available for MSYS2 so they shouldn't be a problem to get started or to create packages(currently only Arch's PKGBUILD). Thus custom builds for releases could be an afterthought if necessary.

During the week I'll try to play with GStreamer, FFmpeg and libVLC.

andreldm avatar Sep 22 '15 16:09 andreldm

libVLC sample: http://stackoverflow.com/a/10299025/3109776

andreldm avatar Mar 02 '17 14:03 andreldm