darkice.cfg

Status
Not open for further replies.

k7ieu

Member
Joined
Mar 23, 2018
Messages
15
Reaction score
1
can anyone post there config to get darkice to properly stream my feed ?

i'm getting an error ( DarkIce: ConfigSection.cpp:117: format missing in section icecast-0 [0] )

here is what i have now

/etc/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
reconnect = yes # reconnect to the server(s) if disconnected
realtime = yes # run the encoder with POSIX realtime priority
rtprio = 3 # scheduling priority for the realtime threads

# this section describes the audio input that will be streamed
[input]
device = /dev/dsp # OSS DSP soundcard device for the audio input
sampleRate = 11025 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 1 # 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 = 96 # bitrate of the stream sent to the server
server = audio3.boradcastify.com
# host name of the server
port = 80 # port of the IceCast2 server, usually 8000
password = PASSWORD # source password to the IceCast2 server
mountPoint = /9jhqv1tc576g # mount point of this stream on the IceCast2 server
name = k7ieu
# name of the stream
description = This is only a trial
# description of the stream
url = K7IEU – Welcome to my ham radio site.
# URL related to the stream
genre = public safety # genre of the stream
public = yes # advertise this stream?
localDumpFile = dump.ogg # local dump file

# 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 [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 a ShoutCast server
# there may be up to 8 of these sections, named [shoutcast-0] ... [shoutcast-7]
# these can be mixed with [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
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,653
Reaction score
184
Location
Massachusetts
Assuming that you are just trying to stream to Broadcastify:

[general]
duration = 0
bufferSecs = 5
reconnect = yes
realtime = yes
rtprio = 3

[input]
device = /dev/dsp
sampleRate = 11025
bitsPerSample = 16
channel = 1

[icecast2-0]
bitrateMode = cbr
format = mp3
bitrate = 16
server = audio3.broadcastify.com
port = 80
password = PASSWORD
mountPoint = 9jhqv1tc576g #REMOVE THE LEADING /
name = k7ieu
description = This is only a trial
url = K7IEU – Welcome to my ham radio site.
genre = public safety
public = yes
localDumpFile = dump.ogg


Try the above. Get rid of all the junk you don’t need. No slash in the mount point. Put in your password. I am not sure that you have the device= correct.
 

k7ieu

Member
Joined
Mar 23, 2018
Messages
15
Reaction score
1
Assuming that you are just trying to stream to Broadcastify:

[general]
duration = 0
bufferSecs = 5
reconnect = yes
realtime = yes
rtprio = 3

[input]
device = /dev/dsp
sampleRate = 11025
bitsPerSample = 16
channel = 1

[icecast2-0]
bitrateMode = cbr
format = mp3
bitrate = 16
server = audio3.broadcastify.com
port = 80
password = PASSWORD
mountPoint = 9jhqv1tc576g #REMOVE THE LEADING /
name = k7ieu
description = This is only a trial
url = K7IEU – Welcome to my ham radio site.
genre = public safety
public = yes
localDumpFile = dump.ogg


Try the above. Get rid of all the junk you don’t need. No slash in the mount point. Put in your password. I am not sure that you have the device= correct.


I changed my config to include just the following data and i believe I am all good to go:

[general]
duration = 0
bufferSecs = 10
reconnect = yes
[input]
device = Default
sampleRate = 11025
bitsPerSample = 16
channel = 1
paSourceName = Loopback1.monitor
[icecast2-0]
bitrateMode = cbr
format = mp3
bitrate = 16
quality = 0.1
channel = 1
lowpass = 4000
sampleRate = 11025
server = audio3.broadcastify.com
port = 80
password = password
mountPoint = 9jhqv1tc576g
name = North Pacific County Police and Fire Dispatch

thank you!
 
Status
Not open for further replies.
Top