rafael2k / darkice

DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.

Home Page:http://www.darkice.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0 bytes transferred to the encoders

allegfede opened this issue · comments

hello, my system need a 192khz jack audio server and some clients to get audio to do "stuff".
One of those clients is Darkice that gets the 192KHz input and have to feed a darkice server.
this is my darkice.cfg:

[general]
duration = 0
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
[input]
device = jack
sampleRate = 192000 #in this case chane samplerate in output section
bitsPerSample = 16 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo
[icecast1-0]
samplerate = 48000 #note that ogg need 48000 only
bitrateMode = abr # average bit rate
format = vorbis # format of the stream: ogg vorbis
bitrate = 96 # bitrate of the stream sent to the server
server = 192.168.1.16 # host name of the server
port = 8000 # port of the IceCast2 server, usually 8000
password = passichoose
mountPoint = radiostranamore # mount point of stream on the IC2 server
name = Radio Stranamore # name of the stream
description = Musica e notizie 24 ore al giorno # description
url = http://www.tele-galileo.it # URL related to the stream
genre = news and music # genre of the stream
public = yes # advertise this stream?

i'm member of the audio group (jack audio is running smoothly) but if i run darkice i got:
0 bytes transferred to the encoders

Any hint of possible causes?

PS: also a more verbose output and moving the cfg in the home do not solve:
darkice -c darckice.cfg -v 10
DarkIce 1.3 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
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: darckice.cfg
18-Feb-2019 17:47:32 Using JACK audio server as input device.
18-Feb-2019 17:47:32 encoding
18-Feb-2019 17:47:32 scheduler high priority 99
18-Feb-2019 17:47:32 Using POSIX real-time scheduling, priority 3
18-Feb-2019 17:47:32 Registering as JACK client darkice-28930
18-Feb-2019 17:47:32 0 bytes transferred to the encoders
18-Feb-2019 17:47:32 encoding ends

I find this hard to judge, but my wild guess would be that jackd sends no data to the output where darkice is connected to. I'd start with verifying the active jack connections.