gusrc / darkice-svn

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

DarkIce: DarkIce.cpp:1140: can't open connector [0] - shoutcast #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hello, i'm french,
i launch darkice and message error :

Using config file: /etc/darkice.cfg
Using ALSA DSP input device: hw:0,0
Using POSIX real-time scheduling, priority 98
DarkIce: DarkIce.cpp:1140: can't open connector [0]

---------------------------

my darkice.cfg :

[general]
duration        = 0        # durée de l'encodage, en seconde. 0 pour tout
le temps
bufferSecs      = 30         # Taille de buffer d'attente, en seconde
reconnect       = yes       # yes, tente de se reconnecter en cas de
déconnection

[input]  # 

device          = hw:0,0  # Utilise le périphérique alsa comme entrée
sampleRate      = 32000     # Échantillonnage
bitsPerSample   = 16        # Bits par sample, laissez 16
channel         = 2         # Canal. 1 = mono, 2 = stereo

[shoutcast-0]

bitrateMode     = abr       # average bit rate
bitrate         = 96       # bitrate du flux envoyer au server
quality        = 1    # Meilleur qualité
server          = radio.weborganisation.org # en local c'est localhost
port            = 8801
password        = MyPassword
channel        = 2  # Canal. 1 = mono, 2 = stereo
name            = Test radio denis UBUNTU  # Nom du flux
description     = Test radio denis UBUNTU
url             = no #Url relative au flux
genre           = Radio test    # genre  du flux
public          = No       # Dire si le flux est en ligne
format=mp3 # Format d'encodage mp3

my system is UBUNTU 9.04 and rivendell (2 sound card)

thank you, denis (doc_denis)

Original issue reported on code.google.com by bouteaud...@gmail.com on 26 May 2010 at 10:43

GoogleCodeExporter commented 9 years ago
Wrong port number... 

Change: 
 port = 8801
In
 port = 8001

;-)

Original comment by overshoo...@gmail.com on 1 Oct 2010 at 8:19

GoogleCodeExporter commented 9 years ago
I got the same error message only when attempting to do a stream and record at 
the same time.

Original comment by cyberdu...@gmail.com on 1 Oct 2010 at 4:18

GoogleCodeExporter commented 9 years ago
I don't understand.. describe the situation and all the procedure ;-)

p.s. Sorry for my bad english ;-)

Original comment by overshoo...@gmail.com on 2 Oct 2010 at 9:30

GoogleCodeExporter commented 9 years ago
"overshootradio"
port 8800 and 8801 are the ports that I use for this stream, the port 8000 is 
already used for another flow

port works very well with winamp, I have the error message with darkice.
streaming treated with winamp can listen here> 
http://radio.le85.com:8900/listen.pls
I try to treat my ubuntu streaming to be 100% linux

"cyberdunks"
I tried in the treatment effect of streaming in from the entrance of my sound 
card, what very well dsp winamp

... I always look for an option

Original comment by bouteaud...@gmail.com on 6 Oct 2010 at 2:03

GoogleCodeExporter commented 9 years ago
If you're using alternate ports in DarkIce and you're streaming on top of 
IceCast, you need to update the Icecast.xml file to reflect the correct ports.  
So check icecast.xml (if you're using that, I can't tell from your ticket) and 
make sure port 8800 is set up there too.

Original comment by jiva...@gmail.com on 17 Feb 2011 at 2:17