Darkice Error

Status
Not open for further replies.

faff29

Member
Feed Provider
Joined
Jul 30, 2008
Messages
51
Location
Eastlake, OH
After several months without my SDR and using a standalone scanner I decided to play with the SDR again. Now last time I used it I had it working and broadcasting. Now I am stuck with Darckice getting the below error. I also have put in below that the darckice-stream0.cfg (minus the personal info) to see if something is not right.

Error:
DarkIce 1.3 live audio streamer, Google Code Archive - Long-term storage for Google Code Project Hosting.

Copyright (c) 2000-2007, Tyrell Hungary, Tyrell Hungary Corporation

Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz

This is free software, and you are welcome to redistribute it

under the terms of The GNU General Public License version 3 or

any later version.



Using config file: /etc/darkice.cfg

Using ALSA DSP input device: loop0

Using POSIX real-time scheduling, priority 4

ALSA lib pcm_direct.c:1605:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card

DarkIce: DarkIce.cpp:1273: can't open connector [0]


CFG File:
# 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 = 1 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to the server(s) if disconnected

# this section describes the audio input that will be streamed
[input]
device = loop0 # OSS DSP soundcard device for the audio input
sampleRate = 22050 # sample rate in Hz. 22050 is the RR Standard
bitsPerSample = 16 # bits per sample. 16 for mono feeds, 32 for stereo feeds
channel = 1 # 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 [icecast2-x] and [shoutcast-x] sections

# If you want to send to your own icecast server, you basically copy
# this whole section and put in the values to point the feed to your own
# server instead of the RR information below

# Don't forget, the name [icecast2-0] needs to change to [icecast2-1]
# and 2 and 3 as you add more feed destinations.

[icecast2-0]
# The audio format to encode to, we're using mp3 here
format = mp3

# The bit rate mode to use, the commented out lines are for a fixed bit
# rate "constant bit rate" at 16 bits. I prefer the variable bit rate
# for the sound quality it has and the throughput is very similar on avg

#bitrateMode = cbr
#bitrate = 16

sampleRate = 22050 # sample rate in Hz. 22050 is the RR Standard
bitrateMode = cbr
bitrate = 16

# Quality at .1, max is 1.0, but as you increase, so does the bandwidth
# used. For mono scanner audio .1 is totally fine.
quality = 0.1

# Takes the input and mixes it down to a mono output for the feed.
channel = 1

# Cuts frequency response over 5kHz. For scanner feed this mostly
# eliminates hiss and harshness on paging tones. Saves a bunch of
# bandwidth as well.
lowpass = 5000

# Server shown on your RR feed owner page that hosts your feed
# You need to log in to RR, go to Account -> My Live Audio Feeds ->
# click the feed owner page icon at the far right of your feed listing.
# Then you will see all this information.

# From Feed Technical Details, the "Server"
server = SERVER.broadcastify.com

# From Feed Technical Details, the "Port"
port = 80 # port of the IceCast server, usually 8000

# From Feed Technical Details, the Password exactly as shown
password = PASSWORD

# From Feed Technical Details, the mount...remove the leading "/", it's
# not needed in this file. So if it is /999999 make it just 999999
mountPoint = MOUNTPOINT

# name of the stream
# On My Live Audio Feeds, it's the first part ending in a colon ":"
name = Short name

# On My Live Audio Feeds, it's the part in parentheses in the Feed name
description = Description
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Run the command "aplay -l" and see if it reports any loopback devices?
What are the contents of your /etc/asound.conf?
 
Status
Not open for further replies.
Top