Skip to main content

an open, light and instant media streaming tool

Project description

http://github.com/yomguy/DeeFuzzer/raw/master/doc/img/logo_deefuzzer.png

Introduction

DeeFuzzer is an open, light and instant software made for streaming audio and video over internet. It is dedicated to media streaming communities who wants to create web radios, web televisions, live multimedia relaying or even as a personal home radio, with rich media contents including track metadata.

Here are the main features of the deefuzzer:

  • MP3, OGG Vorbis file and live streaming over internet

  • Full metadata encapsulation and management

  • RSS podcast generator (current tracks and playlists)

  • M3U playlist generator

  • Recursive, random (shuffled) or pre-defined playlists

  • Multi-threaded architecture : multiple station streaming with one config file

  • Auto Twitter posting of the current playing and new tracks

  • Jingling between main tracks

  • OSC controller : control the main functions from a distant terminal

  • Station relaying : stream other stations like LIVE sessions !

  • Very light and optimized streaming process

  • Fully written in Python

  • Works with Icecast2, ShoutCast, Stream-m

  • EXPERIMENTAL: WebM video streaming support

It is only neccessary to provide a config file which sets all needed parameters. Please see example/deefuzzer.xml for an example.

Because our aim is to get DeeFuzzer as light as possible it is NOT capable of re-encoding or transcoding media files.

News

0.6.2 has been released !

0.6.1 is out !

  • new HTTP steamer based on pycurl to handle streaming over stream-m servers (WebM streaming) see http://code.google.com/p/stream-m/

  • live webm relaying works good, webm playlist reading NEED testing

  • new <station><server><type> parameter (‘icecast or ‘stream-m’)

Download it

and enjoy the video streaming ! ;)

Full CHANGELOG

Installation

DeeFuzzer has now only been well tested on Linux, but should work on any other platform. You would then need to install libshout3 and liblo libraries for it. On Windows, an install inside Gygwin should work well.

Please first install libshout3 and liblo from source OR libshout3-dev and liblo-dev from your own distribution package manager.

Now, the easiest way to install the DeeFuzzer from a shell:

sudo pip install deefuzzer

or:

sudo easy_install deefuzzer

To install the DeeFuzzer from sources, download the last archive there

Uncompress, go to the deefuzzer app directory and run install as root. For example:

tar xzf deefuzzer-0.6.tar.gz
cd deefuzzer-0.6
sudo python setup.py install

Follow the related package list to install optional or recommended applications:

  • depends: python, python-dev, python-xml, python-shout | shout-python, libshout3, libshout3-dev, python-mutagen, python-pycurl | pycurl

  • optional: python-twitter, python-liblo | pyliblo (>= 0.26)

  • recommends: icecast2, python-setuptools, stream-m

For more informations, please see https://github.com/yomguy/DeeFuzzer or twitt a message to @parisson_studio

Usage

Usage : deefuzzer CONFIGFILE

where CONFIGFILE is the path for a XML config file. For example:

deefuzzer example/deefuzzer.xml

To make the deefuzzer act as a deamon, just play it in the background:

deefuzzer example/deefuzzer.xml &

Note that you must edit the config file with right parameters before playing. You can find an example for a draft XML file in the “example” directory of the source code.

WARNING: because we need the DeeFuzer to be a very stable streaming process with multiple channel management, the multi-threaded implementation of deefuzzer instances avoids shutting down the process with a CTRL+C. You have to kill them manually, after a CTRL+Z, making this:

pkill -9 deefuzzer

or, more specificially:

pkill -9 -f "deefuzzer example/deefuzzer.xml"

XML Configuration

Some examples of markup configuration files:

OSC Control

Some of the DeeFuzzer function parameters can be control through the great OSC protocol. The OSC server is only active if the <control><mode> tag is set up to “1” in the config file (see example/deefuzzer.xml again..).

The available parameters are:

  • play next track

  • start/stop twitting

  • start/stop relaying

  • start/stop jingling

Then any OSC remote (PureDate, Monome, TouchOSC, etc..) can a become controller ! :)

We provide some client python scripts as some examples about how to control the parameters from a console or any application (see deefuzzer/scripts/).

Twitter (manual and optional)

To get track twitting, please install python-twitter, python-oauth2 and all their dependencies.

Install or make sure python-oauth2 and python-twitter are installed:

sudo easy_install oauth2
sudo pip install python-twitter

As Twitter access requires oauth keys since 07/2010, you need to get your own access token key pair. Please run the dedicated script to do this from the main deefuzzer app directory:

python tools/get_access_token.py

You will be invited to copy/paste an URL in your browser to get a pin code. Then copy/paste this code into the console and press ENTER. The script gives you a pair of keys : one access token key and one access token secret key.

Change the <twitter> block options in your deefuzzer XML config file, giving the 2 keys. For example:

<twitter>
        <mode>1</mode>
        <key>85039615-H6yAtXXCx7NobF5W40FV0c8epGZsQGkE7MG6XRjD2</key>
        <secret>A1YW3llB9H9qVbjH8zOQTOkMlhVqh2a7LnA9Lt0b6Gc</secret>
        <tags>Music Groove</tags>
</twitter>

Your DeeFuzzer will now tweet the currently playing track and new tracks on your profile.

API

http://files.parisson.com/doc/deefuzzer/

Development

Everybody is welcome to participate to the DeeFuzzer project ! We use GitHub to collaborate: https://github.com/yomguy/DeeFuzzer

Join us!

Author

YomguY aka Guillaume Pellerin:

License

This software is licensed under the terms of the CeCILL license (much like GPLv2) as described in the file LICENSE in the source directory or online https://github.com/yomguy/DeeFuzzer/blob/master/LICENSE

Aknowledgements

This work is inspired by the great - C coded - Oddsock’s streaming program : Ezstream. Since I needed to patch it in order to modify the playlist (randomize for example) and make external batch tools to create multiple channels, I decided to rewrite it from scratch in python.

Some parts of this work are also taken from another Parisson’s project : Telemeta (see http://telemeta.org).

Contact / Infos

Twitter: @yomguy @parisson_studio

GitHub : https://github.com/yomguy/DeeFuzzer

Expertise, Business, Sponsoring: http://parisson.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DeeFuzzer-0.6.2.tar.gz (28.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page