Git Product home page Git Product logo

audio-streamer's Introduction

Audio Streamer allow to convert virtually any audio file format to a mp3 stream or file.

Published under the LGPL licence.

In order to work, this class needs external decoding/encoding tool.
You can find the list of usefull decoders and encoders below,
you can comment or decomment decoder/encoder line to match with your actual 
server configuration.

By exemple, if your lame version has been compiled with ogg support,
you can use lame with --ogginput, so decomment the third lines of decoders and encoders and
comment the fourth line of decoder.

If you don't have ffmpeg available, you can comment all ffmpeg decoder lines.
And if ffmpeg is installed, check what formats are supported 
(i.e witch libraries are on your system) with the command line `ffmpeg -formats`.
You must comment all unsupported formats, and/or add lines for the supported ones.

You can even use a general option for all unspecified formats by uncommenting the * line,
if theire is no specific decoder, the class will try to decode the audio file 
with the * decoder (ffmpeg by default)

This class should works on windows and *nix systems, for windows system you'll need to install
the tee utilitie (tee.com) to use the save_stream() method (or you'll need to rewrite it).

All listed decoders should be available for both systems.
I join the lame encoder for window and debian, this should be usefull for most people.

This class is not complete and not documented, sorry, i want to add an internal cache sytem, 
but i know that you can use any personnal caching system for a custom solution 
by using save_stream() method.

audio-streamer's People

Contributors

adriengibrat avatar

Stargazers

Enene Harrison avatar

Watchers

Enene Harrison 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.