EZStream

De Pontão Nós Digitais
Revisão de 12h05min de 23 de fevereiro de 2010 por Avena (discussão | contribs) (Nova página: '''easy media streaming client over icecast servers''' http://www.icecast.org/ezstream.php<br> Ezstream is an audio and video streaming client which feeds any icecast server with audi...)
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Ir para navegaçãoIr para pesquisar

easy media streaming client over icecast servers

http://www.icecast.org/ezstream.php
Ezstream is an audio and video streaming client which feeds any icecast server with audio data and metadata from a standard input without reencoding. It thus requires very little CPU resources. Some playlists can be looped and composed with MP3, Ogg Vorbis or Ogg Theora media files. Shoutcast metadata are also supported.


Vamos criar/editar o Arquivo: ezstream_mp3.xml

<ezstream>
    <url>http://estudiolivre.org:8000/Ponto_de_Montagem</url>
    <sourcepassword>Sua Senha</sourcepassword>
    <format>MP3</format>
    <filename>minha_lista_musica.m3u</filename>

    <stream_once>1</stream_once>


    <svrinfoname>Nome da Radio</svrinfoname>
    <svrinfourl>Uma Url sobre a radio</svrinfourl>
    <svrinfogenre>O Gênero da Radio</svrinfogenre>
    <svrinfodescription>Descrição sobre a Radio Web</svrinfodescription>
    <svrinfobitrate>64</svrinfobitrate>            # informa a taxa de bitrate a ser enviado
    <svrinfochannels>2</svrinfochannels>           # informa de stereo = 2 ou mono = 1
    <svrinfosamplerate>44100</svrinfosamplerate>   # informa o samplerate/taxa de amostragem

    <svrinfopublic>0</svrinfopublic>
</ezstream>


Vamos criar um script com nome radio para dar start fácil.

#!/bin/bash
nohup ezstream -c ezstream_mp3.xml > ezstream.log 2>&1 &


Referência:
http://philipe.wordpress.com/2008/07/25/streaming-de-video-em-ogg-com-playlist-e-usando-o-ezstream/
http://www.acooke.org/cute/SettingupR0.html