skip to navigation
skip to content

Not Logged In

DeeFuzzer 0.6.5

open, light and instant media streaming tool

Package Documentation

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
  • Relaying : relay and stream 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.5

  • stable WebM live streaming through Stream-m server
  • read yaml configuration files
  • read m3u playlist files
  • minor fixes

0.6.4 is out!

  • Fix install bug again (add main script to install), sorry :(
  • reduce streaming buffer length

0.6.3 Fix install bug !

  • setup rewritten
  • fix MANIFEST

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')

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.

To install it, say on Debian, do:

sudo apt-get install python-pip python-dev liblo-dev libshout3-dev librtmp-dev \
                     python-yaml libcurl4-openssl-dev python-mutagen

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

sudo pip install deefuzzer

or:

sudo easy_install deefuzzer

to upgrade:

sudo pip install --upgrade 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.5.tar.gz
cd DeeFuzzer-0.6.5
sudo python setup.py install

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

  • depends: python, python-dev, python-shout (from pypi.python.org) | shout-python, libshout3, libshout3-dev, python-mutagen, python-pycurl | pycurl
  • optional: python-twitter, python-liblo | pyliblo (>= 0.26), python-yaml
  • recommends: icecast2, python-setuptools, stream-m

For more informations, please see on GitHub or twitt a message to @parisson_studio

Usage

Usage : deefuzzer CONFIGFILE

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

deefuzzer example/deefuzzer.xml

or:

deefuzzer example/deefuzzer.yaml

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

deefuzzer example/deefuzzer.yaml &

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.yaml"

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:

  • playing: next track
  • twitting: start and stop
  • relaying: start and stop
  • jingling: start and stop
  • recording: start and stop

See examples here.

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.

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 released under the terms of the CeCILL license (GPLv2 compatible). as described in the file LICENSE.txt in the source directory or online https://github.com/yomguy/DeeFuzzer/blob/master/LICENSE.txt

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

 
File Type Py Version Uploaded on Size
DeeFuzzer-0.6.5.tar.gz (md5) Source 2013-12-06 57KB
  • Downloads (All Versions):
  • 101 downloads in the last day
  • 507 downloads in the last week
  • 1541 downloads in the last month