10. Transmisiune live - Porniți propriul radio pe internet

Transmisiunea live în Mixxx vă permite să difuzați mixajul pe internet ascultătorilor din întreaga lume.

Vezi și

The Using Microphones chapter has detailed instructions for including input from microphones in your broadcasted mixes.

10.1. Servere de difuzare

Server de difuzare distant

Mixxx allows you to feed your audio stream directly to Shoutcast and Icecast streaming servers. Depending on the number of listeners, streaming audio requires a significant amount of bandwidth. Streaming servers provide the required bandwidth and broadcast the stream to your listeners. A popular free streaming service is Caster.fm. A review of several free and paid stream hosts is available at broadcastingworld.net.

Mixxx as client-side streaming source broadcasting to an
remote streaming server

Mixxx as client-side streaming source broadcasting to an remote streaming server

Server de difuzare local

For experienced users, it may be interesting to set up your own local streaming server. This turns your personal computer into a radio station and listeners connect directly to your server. Mixxx as a streaming source does not need to run on the same computer as your streaming server. However, professional stations often run the streaming source on the same computer as the streaming server for stability and reliability reasons. Keep in mind that if want to stream audio to a significant number of listeners, you’ll need enough bandwidth. Read the Shoutcast documentation or Icecast documentation for server setup instructions.

Mixxx as client-side streaming source broadcasting to an
remote streaming server

Mixxx as client-side streaming source broadcasting to an local streaming server

10.2. Configurarea Mixxx

Start by supplying Mixxx with all information needed to establish a connection to the streaming server:

Preferințe Mixxx - Configurarea transmisiunilor live

Preferințe Mixxx - Configurarea transmisiunilor live

10.2.1. Server Connection

  • Type: Select the type of streaming server you want to connect with. Shoutcast 1, Icecast 1, and Icecast 2 servers are supported.

    Mixxx works with Shoutcast 2 using the Shoutcast 1 protocol if you provide a stream name in Preferences ‣ Live Broadcasting ‣ Stream Settings. If you don’t provide a stream name, Shoutcast 2 rejects the connection (where Shoutcast 1 would accept this case).

  • Host: You can enter the host as either a host name or an IP address.

  • Login: As provided by your streaming server provider. Without this, you will not connect successfully to the server. The default login for Icecast is source while the default login for Shoutcast is admin.

  • Mount: A mount point is a unique name identifying a particular stream. For Shoutcast it is not necessary to specify a mount point. The setting must not be blank if you are using Icecast. Try the default /mount or /live. If you haven’t been given a specific mount point you can usually make one up. It always begins with a / (slash) followed by a text without any special characters in it.

  • Port: As provided by your streaming server provider. Most servers use the default port 8000.

  • Password: As provided by your streaming server provider, unless you run your own radio server. It is required to establish the connection to the server and to start the broadcast.

Atenționare

Do not enter a URL as the host! http://example.com:8000 does not work. Use example.com in the Host field and 8000 in the Port field instead.

10.2.2. Stream Settings

  • Public stream: If enabled, this option adds your radio station to the Shoutcast/Icecast directory.

  • Enable UTF-8 metadata: If enabled, this option fixes broken accented and foreign language symbols in metadata, assuming the streaming provider has configured the server to support UTF-8 metadata.

  • Dynamically update Ogg Vorbis metadata: Due to flaws in some streaming clients, updating Ogg Vorbis metadata dynamically can cause listener glitches and disconnections. Check this box to update the metadata anyway. Some players that listeners can use have bugs that can cause audio glitches or disconnections when the Ogg Vorbis metadata is updated dynamically. If this is not a problem, you can enable this checkbox.

  • Stream name: So, what’s the name of your show?

  • Website: The website you would like your listeners to visit.

  • Description: Enter your DJ name and a short tagline.

  • Genre: List the main genres you play. This attracts search hits on stream directories. Genre must not be blank.

10.2.3. Encoding

  • Bitrate: Selecting a bitrate of 128 or 160 kbps is common and provides sufficient quality to your listeners. Higher bitrates will use a larger chunk in your Internet connection bandwidth to stream and for your listeners to receive the stream.

  • Format: Mixxx supports streaming to Icecast servers either in MP3 or Ogg Vorbis format, streaming to Shoutcast servers is supported in MP3 format.

10.2.4. Metadata

10.2.4.1. Shoutcast metadata format

This allows to set custom metadata formats for the Shoutcast title field. Previously only artist - title was allowed. For example if you were broadcasting as part of a station, you could add the station’s name or the presenter’s name in the title: MyStation | $artist - $title. Or if you were doing a live mix with several artists, you could have: Live mix by MyName - currently playing: $artist. Or even if you wanted a very unusual format: Hey, I like $artist, here is $title by $artist.

The changes do not affect the case for the combination of OGG/Icecast2.

10.2.4.2. Custom metadata

By default, Mixxx broadcasts artist and title information of the files that you play to your listeners. You can disable this feature and use your own custom metadata.

  • Enable custom metadata: Toggles custom metadata on and off.

  • Artist: Insert your custom artist metadata here, your DJ name for example.

  • Title: Insert your custom title metadata here.

Notă

Due to licensing restrictions, MP3 streaming is not enabled by default. For information on how to enable MP3 streaming, go to the chapter Activare suport difuzare MP3.

10.2.5. Icecast vs. Shoutcast

Both essentially serve the same purpose. An Icecast server can stream either MP3 or Ogg Vorbis. However, although Ogg is more efficient and effective (you get higher-fidelity sound than MP3 at lower data rates) not all players can play Ogg streams. As a result MP3 is probably a safe choice unless you know your listeners can hear an Ogg stream successfully.

10.2.6. Broadcast directories

Generally your streaming server host adds your radio station to the Shoutcast/Icecast directory, if you enable the Public Stream option in Preferences ‣ Live Broadcasting ‣ Stream Settings.

Often streaming hosts will run their own directories. Check your host’s FAQ to find out. If you want to promote your streaming radio station even more, register at services like streamfinder.com. An overview of different internet radio directories is available at shoutcheap.com

10.3. Depanarea

  • If you have trouble connecting to your streaming server, check the configuration in the Preferințe Mixxx - Configurarea transmisiunilor live.

  • You may need the LAME libraries to stream in MP3. See Activare suport difuzare MP3.

  • You may have selected the Ogg Vorbis format that is unsupported by Shoutcast servers.

  • You may need to check your firewall settings. Both Icecast and Shoutcast use two ports. If you are streaming on a port (for example, port 8000) then you need to open up the next port (port 8001) as well.

  • You may need to configure port forwarding if you are behind a router or your router will block requests to your streaming port (for example, port 8000)

10.4. Activare suport difuzare MP3

Due to licensing restrictions, MP3 streaming is not enabled by default. In order to enable MP3 streaming you must install the LAME MP3 codec yourself. The following section explains how you can do that.

Sugestie

If you have activated MP3 streaming support, you’ll be also able to record your mixes in MP3 format. Go to the chapter Recording Your Mix for more information.

10.4.1. Activare suport difuzare MP3 în Windows

To activate MP3 streaming on Windows, follow these steps:

  1. Download LAME 3.98.4 binaries from https://www.rarewares.org/mp3-lame-libraries.php.

    Sugestie

    The download page includes 32-bit and 64-bit versions. Make sure the version you download matches the version of Mixxx that you use, not the version of Windows. If you are on 64bit Windows but are using 32bit Mixxx, you need the 32bit (“x86”) version of the LAME binaries.

  2. Unpack the downloaded archive. You need a utility for manipulating archives like the free 7zip.

  3. Copy libmp3lame.dll to the location you have installed Mixxx, probably C:\Program Files\Mixxx\.

  4. Only if you are running Mixxx 1.11 or earlier, you must also rename libmp3lame.dll to lame_enc.dll in the folder where you have installed Mixxx. Select Help ‣ About to find out your version of Mixxx.

  5. Repornire Mixxx

10.4.1.1. Windows Troubleshooting

  • Double check that the version of LAME you use (“x86” = 32-bit vs. “x64” = 64-bit) matches the version of Mixxx you use.

  • If you are running Mixxx 1.11 or earlier, did you rename the libmp3lame.dll to lame_enc.dll?

  • Make sure you put the correct LAME *.dll file in the same folder that contains the installation of Mixxx you are using.

Atenționare

Some websites like Audacity provide lame binaries too. Do not use these versions or Mixxx will show an error when activating live broadcasting and your stream will fail.

10.4.2. Activate MP3 streaming support on macOS

10.4.2.1. Metoda A: Descărcarea

To activate MP3 streaming on macOS, follow these steps:

  1. Download LAME Intel (macOS 10.8+ 64-bit)

  2. Double-click on the downloaded zip file to unpack the file and you’ll get an installer package file

  3. Double-click on the installer package file and follow the step-by-step instructions in the installer

  4. Repornire Mixxx

10.4.2.2. Method B: Package manager

Another easy way to activate MP3 streaming is to use Homebrew or MacPorts, which are package managers like apt on Debian/Ubuntu Linux. They provide a convenient way to install many Open Source packages. Once Homebrew or Macports is installed, adding MP3 support to Mixxx is rather simple.

Homebrew:

  1. Open a terminal and type the following commands:

    brew install lame
    
  2. Repornire Mixxx

Macports:

  1. Open a terminal and type the following commands:

    sudo port install lame
    
  2. Repornire Mixxx

10.4.3. Activare suport difuzare MP3 pe Linux

On Ubuntu and GNU/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.

  1. Open a terminal and type the following commands:

    sudo apt-get install libmp3lame0
    
  2. Repornire Mixxx