Re: [RDD] ALSA JACK Darkice/Icecast
Karl et al tried nobody/nogroup, audio/audio still did not work. seems to center around missing /dev/dsp also all the oss libs are installed but still dsp not created and usual methods of modprobe either gen errors or don't create /dev/dsp Maybe someone in the forum can opine whether I have got the big picture of audio right below: 1. on startup the kernel detects all hardware and loads all needed modules for existing hardware. 2. when ALSA is chosen to be used, these modules are configured such that they communicate with the ALSA server first then the hardware. 3. when JACK is installed it wraps ALSA with an additional layer such that all inputs and outputs from ALSA are first fed through JACK thence back to ALSA and then the hardware via the modules once the connections are defined in JACK connections. 4. JACK aware applications talk to JACK which communicates with ALSA thence to the hardware modules. 5. NON-JACK aware applications communicate directly with ALSA and thence to the hardware supposedly; NO? but they don't when JACK is running (unless alsaloop is running as some suggest) 6. All applications, jack-aware and non aware, will work via ALSA directly when JACK is not running. PulseAudio has been removed and omitted from the big picture becuz it just makes people more confused and their heads hurt. ***grin*** Thanks Andy On 14-03-22 10:49 PM, Karl Koscher wrote: Try setting the user that darkice runs as in /etc/default/darkice. It should be the same user that everything else runs as. On Sat, Mar 22, 2014 at 3:22 PM, VE4PER/Andy ve4...@aim.com mailto:ve4...@aim.com wrote: On 14-03-22 10:14 PM, Karl Koscher wrote: Is darkice running as the same user as jackd? Is installed the same as all the other media programs like audacity, alsaplayer etc and run the same; they work darkice doesn't. I will give it some thought this weekend though. all were installed under sudo, you may have a point qjackctl is run by a user, as are all the media players and editors; but darkice has to be launched as sudo which is different that qjackctl On Sat, Mar 22, 2014 at 9:00 AM, VE4PER/Andy ve4...@aim.com mailto:ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on
Re: [RDD] ALSA JACK Darkice/Icecast
On Saturday 22 March 2014 18:22:56 VE4PER/Andy wrote: but darkice has to be launched as sudo which is different that qjackctl IIRC, for darkice and jack to work, darkice has to be run as the same user as jack and caed has to run as that user as well. This just needs to be configured properly. all the best, drew -- ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] ALSA JACK Darkice/Icecast
On 14-03-23 11:48 AM, drew Roberts wrote: On Saturday 22 March 2014 18:22:56 VE4PER/Andy wrote: but darkice has to be launched as sudo which is different that qjackctl IIRC, for darkice and jack to work, darkice has to be run as the same user as jack and caed has to run as that user as well. This just needs to be configured properly. all the best, drew I tried that drew but couldn't run jack as su successfully so tried launching darkice from user instead of su stil no audio. tried stopping jack and just running darkice from su, no success. then tried from user with alsa as the darkice device still no go; however when I stopped jack, changed darkice device to hw:0,0 darkice comes up and stays up and the output stream works via the m3u mount point link. I get the following message when it launches: Using config file: /usr/local/icecast2/conf/darkice.cfg Using ALSA DSP input device: hw:0,0 Could not set POSIX real-time scheduling, this may cause recording skips. Try to run darkice as the super-user. happy to be up and running just to prove darkice and icecast2 work as advertised; but with the removal of oss libraries/modules and hence the loss of /dev/dsp in ubuntu it appears to have created some problems for applications, jack, and alsa to play nice together. Nevertheless now that I see darkice and icecast2 work well and simply together I can just kep sloggin' through alsa and jack now. Thanks for the tips drew et al ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] ALSA JACK Darkice/Icecast
Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on the IceCast2 server .mp3 or .ogg name= ccor58 --- sysinfo -Computer- Processor: 2x AMD Athlon(tm) II X2 215 Processor Memory : 3791MB (1934MB used) Operating System: Ubuntu 12.04.4 LTS User Name: userid (Maintenance) Date/Time: Sat 22 Mar 2014 03:51:42 PM UTC -Display- Resolution: 2944x1080 pixels OpenGL Renderer: GeForce 9200/integrated/SSE2 X11 Vendor: The X.Org Foundation -Multimedia- Audio Adapter: HDA-Intel - HDA NVidia Audio Adapter: Em28xx-Audio - Em28xx Audio -Input Devices- Power Button Power Button em28xx IR (em28xx HDA NVidia Line HDA NVidia Front Mic HDA NVidia Rear Mic HDA NVidia Front Headphone HDA NVidia Line-Out CLFE HDA NVidia Line-Out Surround HDA NVidia Line-Out Front -Version- Kernel: Linux 3.2.0-60-generic (x86_64) Compiled: #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 C Library: Unknown Default C Compiler: GNU C Compiler version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Distribution: Ubuntu 12.04.4 LTS -Current Session- Computer Name : workstation User Name: userid (Maintenance) Home Directory : /home/userid Desktop Environment: XFCE 4 -Memory- Total Memory: 3791656 kB Free Memory: 400064 kB - ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] ALSA JACK Darkice/Icecast
We couldn't ever get the version of Darkice in the Ubuntu repositories to work. We moved Darkice to a Debian system using the Deb-Multimedia repository. You might want to download/compile the latest version from the project site or find a third-party Ubuntu repo with a newer version. Latest is 1.2. Hope that helps. On Mar 22, 2014, at 11:05 AM, VE4PER/Andy ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on the IceCast2 server .mp3 or .ogg name= ccor58 --- sysinfo -Computer- Processor: 2x AMD Athlon(tm) II X2 215 Processor Memory : 3791MB (1934MB used) Operating System: Ubuntu 12.04.4 LTS User Name: userid (Maintenance) Date/Time: Sat 22 Mar 2014 03:51:42 PM UTC -Display- Resolution: 2944x1080 pixels OpenGL Renderer: GeForce 9200/integrated/SSE2 X11 Vendor: The X.Org Foundation -Multimedia- Audio Adapter: HDA-Intel - HDA NVidia Audio Adapter: Em28xx-Audio - Em28xx Audio -Input Devices- Power Button Power Button em28xx IR (em28xx HDA NVidia Line HDA NVidia Front Mic HDA NVidia Rear Mic HDA NVidia Front Headphone HDA NVidia Line-Out CLFE HDA NVidia Line-Out Surround HDA NVidia Line-Out Front -Version- Kernel: Linux 3.2.0-60-generic (x86_64) Compiled: #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 C Library: Unknown Default C Compiler: GNU C Compiler version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Distribution: Ubuntu 12.04.4 LTS -Current Session- Computer Name : workstation User Name: userid (Maintenance) Home Directory : /home/userid Desktop Environment: XFCE 4 -Memory- Total Memory: 3791656 kB Free Memory: 400064 kB - ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] ALSA JACK Darkice/Icecast
We have it working on Debian (squeeze and wheezy) on this setup: 1. Do a FRESH install of Debian with ONLY SSH and utilities !!! (DON'T INSTALL ANYTHING ELSE YET) 2. wget and dpkg -i darkice, libaac, libfaac and libmp3 from here http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full squeeze http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full%20squeeze http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full wheezy http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full%20wheezy 3. apt-get install libasound2 4. if still any uninstalled dependancies do apt-get -f install 5. apt-get install darksnow (if you like it, I do) Now you can start installing Gnome / XFCE etc , RD, Jack and so on. Open terminal, give the darksnow command and fill in the details, works with any codec ! Daniel Willson schreef op 22-3-2014 17:57: We couldn't ever get the version of Darkice in the Ubuntu repositories to work. We moved Darkice to a Debian system using the Deb-Multimedia repository. You might want to download/compile the latest version from the project site or find a third-party Ubuntu repo with a newer version. Latest is 1.2. Hope that helps. On Mar 22, 2014, at 11:05 AM, VE4PER/Andy ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on the IceCast2 server .mp3 or .ogg name= ccor58 --- sysinfo -Computer- Processor: 2x AMD Athlon(tm) II X2 215 Processor Memory : 3791MB (1934MB used) Operating System: Ubuntu 12.04.4 LTS User Name: userid (Maintenance) Date/Time: Sat 22 Mar 2014 03:51:42 PM UTC -Display- Resolution: 2944x1080 pixels OpenGL Renderer: GeForce 9200/integrated/SSE2 X11 Vendor: The X.Org Foundation -Multimedia- Audio Adapter: HDA-Intel - HDA NVidia Audio Adapter: Em28xx-Audio - Em28xx Audio -Input Devices- Power Button Power Button em28xx IR (em28xx HDA NVidia Line HDA NVidia Front Mic HDA NVidia Rear Mic HDA NVidia Front Headphone HDA NVidia Line-Out CLFE HDA NVidia Line-Out Surround HDA NVidia Line-Out Front -Version- Kernel: Linux 3.2.0-60-generic (x86_64) Compiled: #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 C Library: Unknown Default C Compiler: GNU C Compiler version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Distribution: Ubuntu 12.04.4 LTS -Current Session- Computer Name : workstation User Name: userid (Maintenance) Home Directory
Re: [RDD] ALSA JACK Darkice/Icecast
I found a link to patch (see below) but no instructions on where or how to apply it or whether it is relevant/obsolete now?? does anybody here know? biggest initial problem with darkice was had to use ==prefix=/usr in the ./configure to install the lame vorbis and ogg libraries. once that was done I am just left with this one error now. PATCH ( obtained from web site for a church radio station; sorry no link saved) Index: src/JackDspSource.cpp === --- src/JackDspSource.cpp(revision 479) +++ src/JackDspSource.cpp(working copy) @@ -206,7 +206,7 @@ snprintf(client_name, 255, darkice-%d, getpid()); } -if ((client = jack_client_new(client_name)) == NULL) { +if ((client = jack_client_open(client_name, (jack_options_t)0, NULL)) == NULL) { throw Exception( __FILE__, __LINE__, JACK server not running?); } Reporter::reportEvent( 1, Registering as JACK client, client_name); _ On 14-03-22 05:09 PM, Rick wrote: We have it working on Debian (squeeze and wheezy) on this setup: 1. Do a FRESH install of Debian with ONLY SSH and utilities !!! (DON'T INSTALL ANYTHING ELSE YET) 2. wget and dpkg -i darkice, libaac, libfaac and libmp3 from here http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full squeeze http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full%20squeeze http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full wheezy http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full%20wheezy 3. apt-get install libasound2 4. if still any uninstalled dependancies do apt-get -f install 5. apt-get install darksnow (if you like it, I do) Now you can start installing Gnome / XFCE etc , RD, Jack and so on. Open terminal, give the darksnow command and fill in the details, works with any codec ! Daniel Willson schreef op 22-3-2014 17:57: We couldn't ever get the version of Darkice in the Ubuntu repositories to work. We moved Darkice to a Debian system using the Deb-Multimedia repository. You might want to download/compile the latest version from the project site or find a third-party Ubuntu repo with a newer version. Latest is 1.2. Hope that helps. On Mar 22, 2014, at 11:05 AM, VE4PER/Andy ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on the IceCast2 server .mp3 or .ogg name= ccor58 --- sysinfo -Computer- Processor: 2x AMD Athlon(tm) II X2
Re: [RDD] ALSA JACK Darkice/Icecast
Hi, If you're not wedded to darkice, I really recommend you move to something like liquidsoap. Its never let me down and I've been running it for nearly 3 years now (currently on Ubuntu Server 12.04 but used to use 10.04 before that). My current uptime is 438days 23minutes. When I used to use darkice, I think 60 days was the most I ever had without something going wonky (more usually it was a few days to a week). Liquidsoap is also much more powerful in that you can use silent monitors, backup failover streams, re-encoding to multiple formats etc etc. Guide including upstart scripts available here: http://pastebin.com/u/MezzFA0 Regards, Wayne On 2014-03-22 17:31, VE4PER/Andy wrote: I found a link to patch (see below) but no instructions on where or how to apply it or whether it is relevant/obsolete now?? does anybody here know? biggest initial problem with darkice was had to use ==prefix=/usr in the ./configure to install the lame vorbis and ogg libraries. once that was done I am just left with this one error now. PATCH ( obtained from web site for a church radio station; sorry no link saved) Index: src/JackDspSource.cpp === --- src/JackDspSource.cpp(revision 479) +++ src/JackDspSource.cpp(working copy) @@ -206,7 +206,7 @@ snprintf(client_name, 255, darkice-%d, getpid()); } -if ((client = jack_client_new(client_name)) == NULL) { +if ((client = jack_client_open(client_name, (jack_options_t)0, NULL)) == NULL) { throw Exception( __FILE__, __LINE__, JACK server not running?); } Reporter::reportEvent( 1, Registering as JACK client, client_name); _ On 14-03-22 05:09 PM, Rick wrote: We have it working on Debian (squeeze and wheezy) on this setup: 1. Do a FRESH install of Debian with ONLY SSH and utilities !!! (DON'T INSTALL ANYTHING ELSE YET) 2. wget and dpkg -i darkice, libaac, libfaac and libmp3 from here http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full squeeze http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full%20squeeze http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full wheezy http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full%20wheezy 3. apt-get install libasound2 4. if still any uninstalled dependancies do apt-get -f install 5. apt-get install darksnow (if you like it, I do) Now you can start installing Gnome / XFCE etc , RD, Jack and so on. Open terminal, give the darksnow command and fill in the details, works with any codec ! Daniel Willson schreef op 22-3-2014 17:57: We couldn't ever get the version of Darkice in the Ubuntu repositories to work. We moved Darkice to a Debian system using the Deb-Multimedia repository. You might want to download/compile the latest version from the project site or find a third-party Ubuntu repo with a newer version. Latest is 1.2. Hope that helps. On Mar 22, 2014, at 11:05 AM, VE4PER/Andy ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2
Re: [RDD] ALSA JACK Darkice/Icecast
Probably the best advice, somebody posted a more stable Darkice a few days ago and i am in the process of setting this version online, but I must agree I have the same experience with Darkice as Wayne has, my best uptime over the last 3 months was about 10 days or so, somebody called Cowboy in this list also advised to used liquidsoap earlier on to me Wayne Merricks schreef op 22-3-2014 20:33: Hi, If you're not wedded to darkice, I really recommend you move to something like liquidsoap. Its never let me down and I've been running it for nearly 3 years now (currently on Ubuntu Server 12.04 but used to use 10.04 before that). My current uptime is 438days 23minutes. When I used to use darkice, I think 60 days was the most I ever had without something going wonky (more usually it was a few days to a week). Liquidsoap is also much more powerful in that you can use silent monitors, backup failover streams, re-encoding to multiple formats etc etc. Guide including upstart scripts available here: http://pastebin.com/u/MezzFA0 Regards, Wayne On 2014-03-22 17:31, VE4PER/Andy wrote: I found a link to patch (see below) but no instructions on where or how to apply it or whether it is relevant/obsolete now?? does anybody here know? biggest initial problem with darkice was had to use ==prefix=/usr in the ./configure to install the lame vorbis and ogg libraries. once that was done I am just left with this one error now. PATCH ( obtained from web site for a church radio station; sorry no link saved) Index: src/JackDspSource.cpp === --- src/JackDspSource.cpp(revision 479) +++ src/JackDspSource.cpp(working copy) @@ -206,7 +206,7 @@ snprintf(client_name, 255, darkice-%d, getpid()); } -if ((client = jack_client_new(client_name)) == NULL) { +if ((client = jack_client_open(client_name, (jack_options_t)0, NULL)) == NULL) { throw Exception( __FILE__, __LINE__, JACK server not running?); } Reporter::reportEvent( 1, Registering as JACK client, client_name); _ On 14-03-22 05:09 PM, Rick wrote: We have it working on Debian (squeeze and wheezy) on this setup: 1. Do a FRESH install of Debian with ONLY SSH and utilities !!! (DON'T INSTALL ANYTHING ELSE YET) 2. wget and dpkg -i darkice, libaac, libfaac and libmp3 from here http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full squeeze http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full%20squeeze http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full wheezy http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full%20wheezy 3. apt-get install libasound2 4. if still any uninstalled dependancies do apt-get -f install 5. apt-get install darksnow (if you like it, I do) Now you can start installing Gnome / XFCE etc , RD, Jack and so on. Open terminal, give the darksnow command and fill in the details, works with any codec ! Daniel Willson schreef op 22-3-2014 17:57: We couldn't ever get the version of Darkice in the Ubuntu repositories to work. We moved Darkice to a Debian system using the Deb-Multimedia repository. You might want to download/compile the latest version from the project site or find a third-party Ubuntu repo with a newer version. Latest is 1.2. Hope that helps. On Mar 22, 2014, at 11:05 AM, VE4PER/Andy ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0]
Re: [RDD] ALSA JACK Darkice/Icecast
I have found that Icecast2 will only work on port 8000. To get it to deliver on some other port we port shifted on the router. I did try various configurations and there may be some way to get it to work on other ports, but too tough for me to figure out. Robert Jeffares Radio Spice On Sat, 2014-03-22 at 16:00 +, VE4PER/Andy wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on the IceCast2 server .mp3 or .ogg name= ccor58 --- sysinfo -Computer- Processor: 2x AMD Athlon(tm) II X2 215 Processor Memory : 3791MB (1934MB used) Operating System: Ubuntu 12.04.4 LTS User Name: userid (Maintenance) Date/Time: Sat 22 Mar 2014 03:51:42 PM UTC -Display- Resolution: 2944x1080 pixels OpenGL Renderer: GeForce 9200/integrated/SSE2 X11 Vendor: The X.Org Foundation -Multimedia- Audio Adapter: HDA-Intel - HDA NVidia Audio Adapter: Em28xx-Audio - Em28xx Audio -Input Devices- Power Button Power Button em28xx IR (em28xx HDA NVidia Line HDA NVidia Front Mic HDA NVidia Rear Mic HDA NVidia Front Headphone HDA NVidia Line-Out CLFE HDA NVidia Line-Out Surround HDA NVidia Line-Out Front -Version- Kernel: Linux 3.2.0-60-generic (x86_64) Compiled: #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 C Library: Unknown Default C Compiler: GNU C Compiler version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Distribution: Ubuntu 12.04.4 LTS -Current Session- Computer Name : workstation User Name: userid (Maintenance) Home Directory : /home/userid Desktop Environment: XFCE 4 -Memory- Total Memory: 3791656 kB Free Memory: 400064 kB - ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] ALSA JACK Darkice/Icecast
I just changed the port using the http://hostname:8000/admin/ login at thesame time I changed the password. then found the config file and got rid of all the other hackme passwords (ie relays, sources etc). I just ssh userid@servername and sw to su then nano the config files. userid has to already have been created as a valid user on the ubuntu server; then this method will work. On 14-03-22 07:47 PM, Robert wrote: I have found that Icecast2 will only work on port 8000. To get it to deliver on some other port we port shifted on the router. I did try various configurations and there may be some way to get it to work on other ports, but too tough for me to figure out. Robert Jeffares Radio Spice On Sat, 2014-03-22 at 16:00 +, VE4PER/Andy wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on the IceCast2 server .mp3 or .ogg name= ccor58 --- sysinfo -Computer- Processor: 2x AMD Athlon(tm) II X2 215 Processor Memory : 3791MB (1934MB used) Operating System: Ubuntu 12.04.4 LTS User Name: userid (Maintenance) Date/Time: Sat 22 Mar 2014 03:51:42 PM UTC -Display- Resolution: 2944x1080 pixels OpenGL Renderer: GeForce 9200/integrated/SSE2 X11 Vendor: The X.Org Foundation -Multimedia- Audio Adapter: HDA-Intel - HDA NVidia Audio Adapter: Em28xx-Audio - Em28xx Audio -Input Devices- Power Button Power Button em28xx IR (em28xx HDA NVidia Line HDA NVidia Front Mic HDA NVidia Rear Mic HDA NVidia Front Headphone HDA NVidia Line-Out CLFE HDA NVidia Line-Out Surround HDA NVidia Line-Out Front -Version- Kernel: Linux 3.2.0-60-generic (x86_64) Compiled: #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 C Library: Unknown Default C Compiler: GNU C Compiler version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Distribution: Ubuntu 12.04.4 LTS -Current Session- Computer Name : workstation User Name: userid (Maintenance) Home Directory : /home/userid Desktop Environment: XFCE 4 -Memory- Total Memory: 3791656 kB Free Memory: 400064 kB - ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] ALSA JACK Darkice/Icecast
I discovered after getting jack working that applications (ie media players or editors) that are not jack-aware do not play sounds direct from alsa; apparently there is a workaround to use alsaloop some have had success with but it also has some drawbacks when going back an forth between jack and alsa. My intent was to get this working once with darkice then move to liquidsoap; but one thing at a time. being retired linux is my sudoku/crossword/checkers hehe was a eng tech system analyst but never got time to get right into the guts and understand as I do now. most of the other forums are production types that hit and swat the boxes just to get the output they want and there is a huge lack of how or why it worked which of course is worsened by the use of so many flavors of linux. On 14-03-22 07:36 PM, Rick wrote: Probably the best advice, somebody posted a more stable Darkice a few days ago and i am in the process of setting this version online, but I must agree I have the same experience with Darkice as Wayne has, my best uptime over the last 3 months was about 10 days or so, somebody called Cowboy in this list also advised to used liquidsoap earlier on to me Wayne Merricks schreef op 22-3-2014 20:33: Hi, If you're not wedded to darkice, I really recommend you move to something like liquidsoap. Its never let me down and I've been running it for nearly 3 years now (currently on Ubuntu Server 12.04 but used to use 10.04 before that). My current uptime is 438days 23minutes. When I used to use darkice, I think 60 days was the most I ever had without something going wonky (more usually it was a few days to a week). Liquidsoap is also much more powerful in that you can use silent monitors, backup failover streams, re-encoding to multiple formats etc etc. Guide including upstart scripts available here: http://pastebin.com/u/MezzFA0 Regards, Wayne On 2014-03-22 17:31, VE4PER/Andy wrote: I found a link to patch (see below) but no instructions on where or how to apply it or whether it is relevant/obsolete now?? does anybody here know? biggest initial problem with darkice was had to use ==prefix=/usr in the ./configure to install the lame vorbis and ogg libraries. once that was done I am just left with this one error now. PATCH ( obtained from web site for a church radio station; sorry no link saved) Index: src/JackDspSource.cpp === --- src/JackDspSource.cpp(revision 479) +++ src/JackDspSource.cpp(working copy) @@ -206,7 +206,7 @@ snprintf(client_name, 255, darkice-%d, getpid()); } -if ((client = jack_client_new(client_name)) == NULL) { +if ((client = jack_client_open(client_name, (jack_options_t)0, NULL)) == NULL) { throw Exception( __FILE__, __LINE__, JACK server not running?); } Reporter::reportEvent( 1, Registering as JACK client, client_name); _ On 14-03-22 05:09 PM, Rick wrote: We have it working on Debian (squeeze and wheezy) on this setup: 1. Do a FRESH install of Debian with ONLY SSH and utilities !!! (DON'T INSTALL ANYTHING ELSE YET) 2. wget and dpkg -i darkice, libaac, libfaac and libmp3 from here http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full squeeze http://www.deb-multimedia.org/dists/oldstable/main/binary-i386/package/darkice-full%20squeeze http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full wheezy http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/darkice-full%20wheezy 3. apt-get install libasound2 4. if still any uninstalled dependancies do apt-get -f install 5. apt-get install darksnow (if you like it, I do) Now you can start installing Gnome / XFCE etc , RD, Jack and so on. Open terminal, give the darksnow command and fill in the details, works with any codec ! Daniel Willson schreef op 22-3-2014 17:57: We couldn't ever get the version of Darkice in the Ubuntu repositories to work. We moved Darkice to a Debian system using the Deb-Multimedia repository. You might want to download/compile the latest version from the project site or find a third-party Ubuntu repo with a newer version. Latest is 1.2. Hope that helps. On Mar 22, 2014, at 11:05 AM, VE4PER/Andy ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below
Re: [RDD] ALSA JACK Darkice/Icecast
On 14-03-22 10:14 PM, Karl Koscher wrote: Is darkice running as the same user as jackd? Is installed the same as all the other media programs like audacity, alsaplayer etc and run the same; they work darkice doesn't. I will give it some thought this weekend though. all were installed under sudo, you may have a point qjackctl is run by a user, as are all the media players and editors; but darkice has to be launched as sudo which is different that qjackctl On Sat, Mar 22, 2014 at 9:00 AM, VE4PER/Andy ve4...@aim.com mailto:ve4...@aim.com wrote: Hello all, I have installed ALSA,JACK, and Darkice. Jackd2 is running in real time no problem and audacity, ardour, alsaplayer and aqualung all wok as advertised with it. Where I have a problem is Darkice, I cannot get it to connect to icecast2 server input nor show up in Jack Connections/Patchbay. Icecast2 is workting fine and when I click on the listen Live link on the station website it opens alsaplayer as it is supposed to; so I assume all is well with icecast2. Thanks, Andy the problem is as below (and if someone could point me to a patch and procedure to apply it) : - darkice -c /usr/local/icecast2/conf/darkice.cfg DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, 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: /usr/local/icecast2/conf/darkice.cfg Using JACK audio server as input device. Using POSIX real-time scheduling, priority 98 jack_client_new: deprecated Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started DarkIce: JackDspSource.cpp:216: JACK server not running? [0] config file [general] duration = 0 # duration in s, 0 forever bufferSecs = 1 # buffer, in seconds reconnect = yes# reconnect if disconnected [input] device = jackauto # for jack audio connection sampleRate = 44100 # sample rate 11025, 22050 or 44100 bitsPerSample = 16 # bits channel = 2 # 2 = stereo [icecast2-0] bitrateMode = vbr # variable bit rate (`cbr' constant, `abr' average) quality = 1.0 # 1.0 is best quality format = mp3 # format. Choose `vorbis' for OGG Vorbis bitrate = 256 # bitrate server = woodchipper # or IP port= 8049 # port for IceCast2 access password= password# source password to the IceCast2 server mountPoint = ccor58.mp3 # mount point on the IceCast2 server .mp3 or .ogg name= ccor58 --- sysinfo -Computer- Processor: 2x AMD Athlon(tm) II X2 215 Processor Memory : 3791MB (1934MB used) Operating System: Ubuntu 12.04.4 LTS User Name: userid (Maintenance) Date/Time: Sat 22 Mar 2014 03:51:42 PM UTC -Display- Resolution: 2944x1080 pixels OpenGL Renderer: GeForce 9200/integrated/SSE2 X11 Vendor: The X.Org Foundation -Multimedia- Audio Adapter: HDA-Intel - HDA NVidia Audio Adapter: Em28xx-Audio - Em28xx Audio -Input Devices- Power Button Power Button em28xx IR (em28xx HDA NVidia Line HDA NVidia Front Mic HDA NVidia Rear Mic HDA NVidia Front Headphone HDA NVidia Line-Out CLFE HDA NVidia Line-Out Surround HDA NVidia Line-Out Front -Version- Kernel: Linux 3.2.0-60-generic (x86_64) Compiled: #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 C Library: Unknown Default C Compiler: GNU C Compiler version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Distribution: Ubuntu 12.04.4 LTS -Current Session- Computer Name : workstation User Name: userid (Maintenance) Home Directory : /home/userid Desktop Environment: XFCE 4 -Memory- Total Memory: 3791656 kB Free Memory: 400064 kB - ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org mailto:Rivendell-dev@lists.rivendellaudio.org