10. Transmissão Ao Vivo - Comece sua própria rádio na Internet

A Transmissão Ao Vivo no Mixxx permite que você transmita a sua mixagem pela Internet para os ouvintes pelo mundo.

Veja também

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

10.1. Servidores de Streaming

Servidor de streaming remoto

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 como cliente fonte de streaming transmitindo para um servidor de streaming remoto

Servidor de streaming 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 como cliente fonte de streaming transmitindo para um servidor de streaming local

10.2. Configurando o Mixxx

Comece fornecendo ao Mixxx toda a informação necessária para estabelecer a conexão ao servidor de streaming:

Preferências do Mixxx - Configurando a transmissão ao vivo

Preferências do Mixxx - Configurando a transmissão ao vivo

10.2.1. Server Connection

  • Tipo: Selecione o tipo de servidor de streaming que você quer se conectar. Os servidores Shoutcast 1, Icecast 1 e Icecast 2 são suportados.

    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: Você pode digitar o hosto como um nome de host um endereço IP.

  • 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.

  • Montagem: Um ponto de montagem é um nome único identificando uma stream particular. Para o Shoutcast não é necessário especificar um ponto de montagem. A configuração não pode estar em branco se você está usando o Icecast tente os padrões /mount ou /live. Se não te deram um ponto de montagem específico você pode geralmente fazer um. Ele sempre começa com uma / (barra) seguido por um texto sem caracteres especiais.

  • Porta: Como fornecido pelo seu provedor de servidor de streaming. Muitos servidores usam a porta padrão 8000.

  • Senha: Como fornecida pelo seu provedor de servidor de streaming, a não ser que você esteja rodando o seu próprio servidor de rádio. Ela é necessária para estabelecer a conexão com o servidor e para começar uma transmissão.

Aviso

Não digite uma URL no host! http://exemplo.com:8000 não funciona. Em vez disso use exemplo.com no campo Host e 8000 no campo Porta.

10.2.2. Stream Settings

  • Stream pública: Se ativada, essa opção adiciona a sua estação de rádio no diretório Shoutcast/Icecast.

  • Utilizar metadados UTF-8: Se ativado, essa opção conserta acentos quebrados e símbolos de linguagens estrangeiras nos metadados, assumindo que o provedor de streaming configurou o servidor para suportar metadados UTF-8.

  • 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.

  • Nome da Stream: Então, qual é o nome do seu show?

  • Site: O site que você quer que seus ouvintes visitem.

  • Descrição: Digite o seu nome de DJ e um slogan curto.

  • Gênero: Liste os gêneros principais que você toca. Isso atrai resultados de pesquisa em diretórios de stream. O Gênero não pode estar em branco.

10.2.3. Encoding

  • Taxa de bits: Selecionar uma taxa de bits de 128 ou 160 kbps é comum e provê qualidade suficiente para os seus ouvintes. Taxas de bits maiores vão usar um pedaço maior da largura de banda da sua conexão de Internet para transmitir e também das dos seus ouvintes para receber a stream.

  • Formato: O MIxxx suporta streaming para servidores Icecast em formato MP3 ou Ogg Vorbis, e o streaming para servidores Shoutcast é suportado em formato term:MP3.

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.

As mudanças não afetam o caso para a combinação de OGG/Icecast2.

10.2.4.2. Custom metadata

Por padrão, o Mixxx transmite a informação do artista e título dos arquivos que você toca para os seus ouvintes. Você pode desativar essa funcionalidade e usar os seus próprios metadados personalizados.

  • Ativar metadados personalizados: Ativa/Desativa metadados personalizados.

  • Artista: Insira os seu metadado personalizado de artista aqui, o seu nome de DJ por exemplo.

  • Título: Insira o seu metadado personalizado de título.

Nota

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

10.2.5. Icecast vs. Shoutcast

Os dois essencialmente servem para a mesma proposta. Um servidor Icecast pode transmitir MP3 ou Ogg Vorbis. Porém, embora o Ogg seja mais eficiente e efetivo (você consegue um som de maior fidelidade do que com um MP3 em taxas de dados mais baixas) nem todos os ouvintes podem reproduzir uma stream de Ogg. Como resultado, o MP3 é provavelmente uma escolha mais segura, a não ser que você saiba que os seus ouvintes possam escutar uma stream de Ogg com sucesso.

10.2.6. Diretórios de Transmissão

Geralmente um servidor de streaming adiciona a sua estação de rádio ao diretório do Shoutcast/Icecast, se você ativar a opção Stream Pública em Preferências ‣ Transmissão Ao Vivo ‣ Configurações de Stream.

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. Solução de Problemas

  • Se você está com problemas ao conectar com o servidor de streaming, verifique a configuração nas Preferências do Mixxx - Configurando a transmissão ao vivo.

  • You may need the LAME libraries to stream in MP3. See Activate MP3 streaming support.

  • Você pode ter selecionado o formato Ogg Vorbis que não é suportado pelos servidores Shoutcast.

  • Você pode precisar verificar as suas configurações de firewall. Ambos Icecast e Shoutcast usam duas portas. Se você está transmitindo em uma porta (por exemplo, porta 8000) então você precisa abrir a próxima porta (porta 8001) também.

  • Você pode precisar fazer port forwarding se você estiver atrás de um roteador ou se o seu roteador for bloquear pedidos na sua porta de streaming (por exemplo, porta 8000)

10.4. Activate MP3 streaming support

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.

Dica

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

10.4.1. Activate MP3 streaming support on 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.

    Dica

    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. Restart 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.

Aviso

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. Method A: Download

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. Restart 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. Restart Mixxx

Macports:

  1. Open a terminal and type the following commands:

    sudo port install lame
    
  2. Restart Mixxx

10.4.3. Activate MP3 streaming support on 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. Restart Mixxx