Привет всем! Хочу расшарить фм по сетке. Тюнер и звуковую карточку установил, настроил, все ок. В качестве вещательного сервера выбрал DarkIce 0.13.1 и IceCast 2.0-beta-3, они уже установлены вместе со всеми зависимостями, которые они за собой потянули. Если с настройкой DarkIce все более менее понятно, то с IceCast очень смутно, бо его настройки, я так понял, находятся в icecast.xml. Подскажите, как этот файлик корректно отредактировать чтоли и немного о самих настройках IceCast2? FreeBSD 4.6. Спасибо.
В общем получилось клиентом зацепиться, но слышно только шум, сигнал от тюнера присутствует, выход тюнера соединен со входом звуковой, но увы...
конфиги:darkice.cfg:
# sample DarkIce configuration file, edit for your needs before using
# see the darkice.cfg man page for details# this section describes general aspects of the live streaming session
[general]
duration = 0 # duration of encoding, in seconds. 0 means forever
bufferSecs = 5 # size of internal slip buffer, in seconds# this section describes the audio input that will be streamed
[input]
device = /dev/dsp # OSS DSP soundcard device for the audio input
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo# this section describes a streaming connection to an IceCast2 server
# there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]
# these can be mixed with [icecast-x] and [shoutcast-x] sections
[icecast2-0]
bitrateMode = abr # average bit rate
format = vorbis # format of the stream: ogg vorbis
bitrate = 128 # bitrate of the stream sent to the server
#server = badger.sigma
server = 127.0.0.1
# host name of the server
port = 8000 # port of the IceCast2 server, usually 8000
password = 111111 # source password to the IceCast2 server
mountPoint = icy0.ogg # mount point of this stream on the IceCast2 server
name = FM radio Sigma
# name of the stream
description =
# description of the stream
url = http://www.muzic.sigma
# URL related to the stream
genre = various # genre of the stream
public = yes # advertise this stream?
quality = 0.8 # encoding qualityicecast.xml:
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>102400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits><authentication>
<!-- Sources log in with username 'source' -->
<source-password>111111</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>111111</relay-password><!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>111111</admin-password>
</authentication><!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://yp.icecast.net/cgi-bin/yp.cgi</yp-url>
</directory>
--><hostname>localhost</hostname>
<!-- You can use these two if you only want a single listener -->
<port>8000</port>
<bind-address>127.0.0.1</bind-address><!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<bind-address>192.168.100.3</bind-address>
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
--><!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>111111</master-password>-->
<!--
<relay>
<server>127.0.0.1</server>
<port>8000</port>
<mount>/icy0.ogg</mount>
<local-mount>/different.ogg</local-mount><relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
--><!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
-->
<mount>
<mount-name>icy0</mount-name><username></username>
<password></password><max-listeners>1</max-listeners>
<!-- <dump-file>/tmp/dump-example1.ogg</dump-file> -->
<fallback-mount>/example2.ogg</fallback-mount>
</mount><fileserve>1</fileserve>
<paths>
<basedir>/usr/local/icecast</basedir><!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>/usr/local/icecast</logdir>
<webroot>/usr/local/share/icecast/web</webroot>
<adminroot>/usr/local/share/icecast/admin</adminroot>
<pidfile>/usr/local/icecast/icecast.pid</pidfile><!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
</paths><logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging><security>
<chroot>0</chroot>
<!--
<changeowner>
<user>admin</user>
<group>wheel</group>
</changeowner>
-->
</security>
</icecast>Помогите pls разобраться, где траблы!
нарыл, что шум может быть оттого, что линейный вход не установлен источником для записи, mixer показывает:
Mixer vol is currently set to 75:75
Mixer synth is currently set to 75:75
Mixer pcm is currently set to 75:75
Mixer speaker is currently set to 75:75
Mixer line is currently set to 75:75
Mixer mic is currently set to 0:0
Mixer cd is currently set to 75:75
Mixer line1 is currently set to 75:75
вроде микрофон выключен. Други, не оставляйте без внимания. Кто что скажет?