у меня есть небольшой пример но незнаю поможет ли те это или нет
Шаг 1. Скачиваем и устанавливаем IceCast2 и EzStream.
Для создания собственного не-интерактивного радио с помощью бесплатного программного обеспечения вам потребуются следующие компоненты:
IceCast2 (icecast2 win32 v2.3.1.exe),
EzStream (ezstream win32 0.2.1.exe),
а также WinServ (winserv.zip) или FireDaemon для того, чтобы сделать запуск радио автоматическим в виде сервиса.
Имена папок, куда будете устанавливать эти программы, лучше выбрать попроще и покороче (например, C:\Radio\ezstream, C:\Radio\icecast2).
Шаг 2. Создание плейлиста.
В WinAmp'e создаём плейлист и сохраняем его, к примеру, под именем radio.m3u.
Шаг 3. Настраиваем EzStream.
Создаём файл ezstream.xml примерно следующего содержания (не забудьте поменять пароли):
<ezstream>
<url>
http://localhost:8000/radio</url>
<sourcepassword>my_password</sourcepassword>
<format>MP3</format>
<filename>C:\Radio\radio.m3u</filename>
<svrinfoname>Cool radio</svrinfoname>
<svrinfourl>
http://forum.spark-media.ru/index.php?showforum=107
</svrinfourl>
<svrinfogenre>Various</svrinfogenre>
<svrinfodescription>Mega Radio</svrinfodescription>
<svrinfobitrate>192</svrinfobitrate>
<svrinfochannels>2</svrinfochannels>
<svrinfosamplerate>44100</svrinfosamplerate>
<svrinfopublic>1</svrinfopublic>
</ezstream>
Шаг 4. Настройка IceCast2.
Создаём файл icecast.xml примерно следующего содержания (смените пароли и IP-адрес; sourcepassword в EzStream и source-password в IceCast2 должны совпадать):
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>my_password</source-password>
<relay-password>my_password</relay-password>
<admin-user>admin</admin-user>
<admin-password>my_mega_password</admin-password>
</authentication>
<hostname>ВАШ IP-АДРЕС</hostname>
<listen-socket>
<port>8000</port>
<bind-address>0.0.0.0</bind-address>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<basedir>C:/Radio/iсecast2</basedir>
<logdir>C:/Radio/iсecast2/logs</logdir>
<webroot>C:/Radio/iсecast2/web</webroot>
<adminroot>C:/Radio/iсecast2/admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
</logging>
<security>
<chroot>0</chroot>
</security>
</icecast>
Шаг 5. Тестовый запуск.
Делаем запускающие файлы:
start_ezstream.bat:
ezstream.exe -c ezstream.xml
start_icecast2.bat:
icecast2console.exe -c icecast.xml
Запускаем оба bat-файла и тестируем радио следующим образом:
Смотрим сайт
http://localhost:8000.
Запускаем радио: в WinAmp'е делаем "Add URL" ->
http://localhost:8000/radio.
Если все сделано правильно, будет играть ваша музыка.
Шаг 6. Делаем автозапуск радио при работе компьютера.
Устанавливаем WinServ и создаём сервисы:
winserv install ezstream -start auto -interactive "C:\Radio\ezstream\ezstream.exe" -c "C:\Radio\ezstream\ezstream.xml"
winserv install icecast2 -start auto -interactive "C:\Radio\icecast2\icecast2console.exe" -c "C:\Radio\icecast2\icecast.xml"