On Thursday 10 November 2011 14:07:24 Joseph Matthews wrote:
> Perhaps I need a bit of clarification. I have installed darkice, and
> believe I have it configured correctly. My darkice.cfg:
>
> [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
>
> # this section describes the audio input that will be streamed
> [input]
> device = jack # OSS DSP soundcard device for the audio input
> sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
> bitsPerSample = 16 # bits per sample. try 16
> channel = 2 # channels. 1 = mono, 2 = stereo
>
> [icecast2-0]
> format = vorbis
> bitrateMode = cbr
> bitrate = 96
> quality = 0.8
> server = xxx.xxx.xx.xx # Live365 IP address
> mountPoint = # Live365 doesn't require a mount pint
> port = xxxxx # Live365 port
> password = xxxxxxxx # Live365 account password
> public = yes
>
> As far as I can tell, this configuration is correct. However, when I run
> darkice, I get this:
Here is something that used to work for me:
++++++++++
[general]
duration = 0 # duration of encoding, in seconds. 0 means
forever
bufferSecs = 9 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to server(s) if connection is broken
[input]
device = hw:1 # ALSA sound card device for the audio input
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo
# Added 1/8 by MattRock for radioplay archiving
# modded by dR for multiple stations
[file-0] ### Archive File for radioplay ###
bitrateMode = cbr # average/constant bit rate
format = mp3 # format of the stream: vorbis/mp3
bitrate = 128 # bitrate of the stream sent to the server
quality = 0.9
fileName = /var/lib/radioplay/radioplayy_active.mp3
# 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 = cbr # constant bit rate
format = mp3 # format of the stream: mp3
bitrate = 32 # bitrate of the stream sent to the server
sampleRate = 22050
channel = 1
server = 192.168.xxx.xxx
# host name of the server
port = 4321 # port of the IceCast2 server, usually 8000
password = password # source password to the IceCast2 server
mountPoint = y.mp3 # mount point of this stream on the IceCast2
server
name = Y 98 (mp3)
# name of the stream
description = Y 98 FM mp3 music stream
# description of the stream
url = http://www.100jamz.com/y/index.html
# URL related to the stream
genre = Hot Adult Contemporary # genre of the stream
public = yes # advertise this stream?
#[icecast2-1]
#bitrateMode = abr # average bit rate
#format = vorbis # format of the stream: ogg vorbis
#quality = 0.8 # encoding quality
#bitrate = 32 # bitrate of the stream sent to the server
#sampleRate = 22050
#channel = 1
#server = 192.168.xxx.xxx
# # host name of the server
#port = 4321 # port of the IceCast2 server, usually 8000
#password = password # source password to the IceCast2 server
#mountPoint = y.ogg # mount point of this stream on the IceCast2 server
#name = Y 98 (ogg)
# # name of the stream
#description = Y 98 FM ogg music stream
# # description of the stream
#url = http://www.100jamz.com/y/index.html
# # URL related to the stream
#genre = Hot Adult Contemporary # genre of the stream
#public = yes # advertise this stream?
++++++++++
Try adjusting your vorbis section to match mine where possible. See if the
parameters work for you then, if so, adjust one at a time back to your
desired ones. See where it breaks.
Try setting up a local icecast2 server and streaming to that before trying to
stream to Live365
drew
>
> DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
> Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
>
> Using config file: /etc/darkice.cfg
> Using JACK audio server as input device.
> Using POSIX real-time scheduling, priority 98
> Registering as JACK client darkice-12432
> DarkIce: VorbisLibEncoder.cpp:142: vorbis lib opening underlying sink error
> [0]
>
> From what I can tell Googling around, this error message typically means
> that darkice can't connect to the server. Am I missing a step here?
>
> Thanks for the help!
>
> Joseph Matthews
>
> On Nov 4, 2011, at 6:59 PM, James Harrison wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Okay, here's how it fits together in theory:
> >
> > * Rivendell talks to JACK, obviously
> > * Darkice accepts JACK input (configured in /etc/darkice.cfg usually)
> > and converts that audio to a stream of MPEG-3 data (or ogg, or whatnot)
> > * Icecast accepts that stream, and broadcasts it by retransmission
> > (effectively) to any clients who want to listen
> >
> > So, all you need to do is connect darkice to Rivendell, point darkice at
> > an Icecast server (yours or a hosted one - will need appropriate
> > bandwidth) and point Live365 at your Icecast server.
> >
> > The best way to set this up is probably using a small shell script - you
> > can connect ports with jack_connect. So if you configure darkice to
> > provide two ports named darkice:left and darkice:right, and want the
> > main RD output patched to that:
> >
> > #!/bin/bash
> > # Run darkice in a screen session, detatched from this window (check my
> > options- doing this off memory so they may be wrong)
> > screen -DmS darkice darkice
> > # wait a bit
> > sleep 5
> > # patch it in
> > jack_connect rivendell:outport_left darkice:left
> > jack_connect rivendell:outport_right darkice:right
> >
> > That should do the trick. If you want to just patch what you hear to
> > darkice you should check JACK's monitor mode - you can set up software
> > monitor ports so anything going out gets duplicated to an input you can
> > then patch to darkice.
> >
> > Darkice is very much the way to go if you ask me but Liquidsoap is
> > another popular tool, if a little more complex to configure. It does
> > have the advantage of giving you more flexibility, and potentially some
> > processing of audio prior to TX, but I prefer to do that processing with
> > Jamin (a JACK audio mastering program, which can do you a multiband
> > compressor, lots of EQ and a lookahead limiter). You can patch in that
> > or JACK-Rack or anything else like that (LinuxDSP has a multiband
> > compressor with JACK support for instance) in the same way as described
> > above. The jack_lsp (and jack_lsp -c) commands are helpful for
> > debugging, and check out Patchage (available in the Ubuntu repos) for a
> > nice simple GUI to help you play around with things.
> >
> > Hope that helps!
> >
> > Cheers,
> > James Harrison
> >
> > On 04/11/2011 22:35, Joseph Matthews wrote:
> >> I'm hoping that someone can perhaps provide me with a good starting
> >
> > point for streaming from Rivendell. I am using Rivendell 2.0.2 and JACK
> > under Unbuntu 10.04 LTS. I want to stream directly from JACK to Live365.
> > I have Googled and searched the Rivendell list, but really can't figure
> > out where to start. I've read about dark ice, darksnow, icecast,
> > edcast-jackā¦. But can't even begin to figure out how to configure
> > anything or make connections to JACK.
> >
> >> Your help is greatly appreciated!
> >>
> >> Joseph Matthews
> >> _______________________________________________
> >> Rivendell-dev mailing list
> >> [email protected]
> >> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.9 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEARECAAYFAk60blQACgkQmJV2s0zjsDi6PgCeJ1XMRdKanJiQAdEP2cPtv4KC
> > 8KAAn01g+emYjeJ4wBZ+90c7fEBNskFL
> > =LTkX
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Rivendell-dev mailing list
> > [email protected]
> > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev