Giter VIP home page Giter VIP logo

gst-nonstream-audio's Introduction

gst-nonstream-audio

About

This is a set of plugins for GStreamer 1.0 audio decoders which are not based on a streaming model. These decoders load the encoded data completely, at once, and then commence playback. Examples are: module music (MOD, S3M, XM, IT, ...) , video game music (VGM, GYM, GBS, ...) various Amiga music files, AdLib music, etc.

GStreamer's GstAudioDecoder base class is very powerful, and suitable for most kinds of audio decoders. However, it assumes a certain kind of model that is simply not applicable for the aforementioned types of media. Using that base class for this purpose ends up in massive amounts of overrides, effectively creating a new base class. So it was decided to do just that - create a new bass class, called GstNonstreamAudioDecoder. It takes care of most GStreamer specifics and adds support for subsongs (essentially like alternate tracks in the same song) and loops (songs can contain loops, which cause playback to go back to the beginning, or playback loops in a subset of the song).

PLEASE NOTE THAT THIS CODE IS STILL IN AN ALPHA STAGE! Compatibility-breaking changes may happen!

Available plugins

  • dumb : module music decoder using the DUMB (Dynamic Universal Music Bibliotheque) library. Instead of the original, which has been abandoned since 2005, the plugin uses kode54's improved version. Note that the plugin will not work correctly with the original; however, this codebase contains the improved version as a git submodule.
  • gme : video game music decoder using the Game Music Emulator library. As with DUMB, an improved fork is used.
  • openmpt : module music decoder using libopenmpt, a library version of OpenMPT.
  • wildmidi: MIDI music decoder using the WildMidi software synthesizer.
  • sidplayfp: SID music decoder using the sidplayfp library.
  • uade: Amiga music decoder using UADE.

How to build

Right after git-cloning this repository, run:

git submodule init
git submodule update

Then, execute this line:

./waf configure

To build and install after configuring, simply run:

./waf
./waf install

Now there should be a dumbdec plugin. To check, run:

gst-inspect-1.0 dumbdec

gst-nonstream-audio's People

Contributors

dv1 avatar manxorist avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.