Skip to content

Internet Broadcasting

Sean M. Pappalardo edited this page Feb 22, 2011 · 40 revisions

Broadcasting your Mixxx over the Internet

Starting with version 1.9.0, Mixxx directly supports live broadcasting which allows you to connect to Shoutcast and Icecast servers. Using the preferences dialogue, you can simply supply Mixxx with all information needed to establish a server connection. To enable live broadcasting you can either use the options menu or the checkbox within the preference dialogue.

MP3 streaming

Dependent on the server technology you can stream in OGG and MP3 format. However, MP3 streams are not supported out of the box for legal reasons. Here is how to install the needed software for OSs Mixxx supports.

Linux

On Ubuntu and Linux-based operating systems MP3 streams can be activated by installing the package libmp3lame. Dependent on your Linux distribution the package might be slightly named different such as lame.

sudo apt-get install libmp3lame0

Windows

To activate MP3 streaming on Windows, the following steps are necessary:

  1. Download LAME 3.98.4 binaries from http://lame.bakerweb.biz/. The ZIP file includes x86 and x64 DLLs
  2. Unpack the archive
  3. If you have the 32-bit version of Mixxx, copy libmp3lame.dll from the x86 folder to the location you have installed Mixxx.
  4. If you have the 64-bit version of Mixxx, copy libmp3lame.dll from the x64 folder to the location you have installed Mixxx.
  5. Rename the DLL to lame_enc.dll

Please note that Audacity and other web sites provide lame binaries too. DO NOT USE THESE VERSIONS. If you do, Mixxx will show an error when activating live broadcasting.

Mac OSX

On OS X the easiest way to achieve MP3 streaming is to use MacPorts which is a repository manager (like apt on Ubuntu) for Open Source software. Having installed this piece of software, installing MP3 support is rather simple.

sudo port install lame

Alternate methods

Here are some other ways our users have found to broadcast their mix sessions, useful for Mixxx versions 1.8.x and earlier.

Linux via JACK and edcast

Hello, all! It's thread here with a quick description of how I have Mixxx stream out to dnbradio.com's shoutcast servers every Tuesday.

I run mixxx under the Ubuntu-based linux distribution, Crunchbang Linux. Using Jack, I feed Mixxx's main L/R outputs to the simple, console-based edcast (http://www.oddsock.org/tools/edcast_jack/), which is then able to encode the audio to mp3 in realtime and feed it up to the remote server.

I fire up Jack using the very simple frontend, qjackctl. Then I start Mixxx and set it to output its audio via Jack. After some straightforward editing of the edcast configuration file, I launch it, specifying the configuration file and the jack sockets to stream from, with something like this:

~/apps/edcast$ bin/edcast -c etc/edcast.conf PortAudio:out_0 PortAudio:out_1

And if all goes well, edcast will start telling you how many kilobits were sent up every second, until it is killed with ctrl+c.

Linux via JACK and IDJC

This is Madjester (pwhelan). I broadcast from Mixxx using JACK and IDJC. IDJC is a fully featured program for Streaming like a Radio Jockey.

I fire up Jack using the qjackctl frontend, just like thread. Next step, I fire up Mixxx. I then connect the Mixxx Portaudio:out_0 and Portaudio:out_1 connectors to idjc:aux_lt and idjc:aux_rt using Patchage.

You should be able to press the Auxilary button in IDJC to hear and/or broadcast Mixxx.

Clone this wiki locally