# sample Darklog 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 IceCast server # there may be up to 8 of these sections, named [icecast-0] ... [icecast-7] # these can be mixed with [file-x], [icecast2-x] and [shoutcast-x] sections [icecast-0] bitrateMode = cbr # constant bit rate bitrate = 96 # bitrate of the mp3 stream sent to the server quality = 0.8 # encoding quality server = yp.yourserver.com # host name of the server port = 8000 # port of the IceCast server, usually 8000 password = hackme # source password to the IceCast server mountPoint = sample96 # mount point of this stream on the IceCast server name = DarkIce trial # name of the stream description = This is only a trial # description of the stream url = http://www.yourserver.com # URL related to the stream genre = my own # genre of the stream public = yes # advertise this stream? # 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 [file-x], [icecast-x] and [shoutcast-x] sections [icecast2-0] bitrateMode = abr # average bit rate format = vorbis # format of the stream: ogg vorbis bitrate = 96 # bitrate of the stream sent to the server server = yp.yourserver.com # host name of the server port = 8000 # port of the IceCast2 server, usually 8000 password = hackme # source password to the IceCast2 server mountPoint = sample96 # mount point of this stream on the IceCast2 server name = DarkIce trial # name of the stream description = This is only a trial # description of the stream url = http://www.yourserver.com # URL related to the stream genre = my own # genre of the stream public = yes # advertise this stream? # this section describes a streaming connection to a ShoutCast server # there may be up to 8 of these sections, named [shoutcast-0] ... [shoutcast-7] # these can be mixed with [file-x], [icecast-x] and [icecast2-x] sections [shoutcast-0] bitrateMode = vbr # variable bit rate mode quality = 0.5 # encoding quality server = yp.yourserver.com # host name of the server port = 8001 # source port of the ShoutCast server, usually 8001 password = hackme # source password to the ShoutCast server name = DarkIce trial # name of the stream url = http://www.yourserver.com # URL related to the stream genre = my own # genre of the stream public = yes # advertise this stream? irc = irc.yourserver.com # IRC info related to the stream aim = aim here # AIM info related to the stream icq = I see you too # ICQ info related to the stream # this section describes a split log file # there may be up to 8 of these sections, named [file-0] ... [file-7] # these can be mixed with [icecast-x], [icecast2-x] and [shoutcast-x] sections [file-0] bitrateMode = cbr # constant bitrate mode format = mp3 # File logging has only been tested with mp3 files bitrate = 160 # bitrate of the mp3 files quality = 0.9 # quality #duration of each file, in seconds (0 for infinite), if positive will break #every 'duration' seconds from when the system is started, if negative will #break whenever time() % duration == 0, ie for 300 seconds this should cause #a break at 0, 5, 10, 15, ... minutes past the hour. # #For normal darklog usage a negative duration is recommended, this allows #much more accurate audio retrieval using the standard tools duration = -300 runs = 0 # Number of files to create (0 for infinite) fileName = /log/%.0 # % character is replaced by the current time() # (in seconds since 1 jan 1970)