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.
http://www.darkice.org
200 stars 47 forks source link

0 bytes transferred to the encoders #144

Open allegfede opened 5 years ago

allegfede commented 5 years ago

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

DanielEckl commented 5 years ago

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.

allegfede commented 5 years ago

That was quite strange. I must confess that I bypass the problem using liquidSoap, but seems his resample is not so good :-( Is working in the 192khz mode but darkice encode is better.

... So I suppose that Jack is passing data in the right way ...

Il mer 20 feb 2019, 16:22 DanielEckl notifications@github.com ha scritto:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rafael2k/darkice/issues/144#issuecomment-465622805, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXE2uTM_dAhPE-eWie2sivdTyVvPaUJks5vPWgkgaJpZM4bBPy5 .