an open, light and instant media streaming tool
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.
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 !
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’)
and enjoy the video streaming ! ;)
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.
IMPORTANT: Please first install libshout3 and liblo from source OR libshout3-dev, liblo-dev, gnutls-dev and librtmp-dev from your own distribution package manager.
Now, the easiest way to install the DeeFuzzer from a shell:
sudo pip install deefuzzer
sudo easy_install deefuzzer
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.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 on GitHub or twitt a message to @parisson_studio
Usage : deefuzzer CONFIGFILE
where CONFIGFILE is the path for a XML config file. For example:
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"
Some examples of markup configuration files:
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:
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.
Everybody is welcome to participate to the DeeFuzzer project ! We use GitHub to collaborate: https://github.com/yomguy/DeeFuzzer
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
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
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.