[darkice] Re: Cant Get Creative E-MU USB audio interface to work
- From: Ben Edwards <ben@xxxxxxxxxxxxx>
- To: darkice@xxxxxxxxxxxxx
- Date: Fri, 1 Apr 2016 10:53:03 +0100
On 01/04/2016 10:40, Niels Dettenbach wrote:
Am Freitag, 1. April 2016, 10:31:42 schrieb Ben Edwards:
# this section describes the audio input that will be streamed
[input]
device = hw:1,0 # Alsa soundcard device for the audio
input (barenger)
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
...as in my last mail - pls add:
inbitsPerSample = 24
means:
bitsPerSample = 16
inbitsPerSample = 24
...
many thanks,
OK, just tried that
pi@cuberadio:~ $ sudo darkice -v 10
DarkIce 1.2 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: /etc/darkice.cfg
01-Apr-2016 10:51:57 Using ALSA DSP input device: hw:1,0
01-Apr-2016 10:51:57 buffer size: 882000
01-Apr-2016 10:51:57 encoding
01-Apr-2016 10:51:57 scheduler high priority 99
01-Apr-2016 10:51:57 Using POSIX real-time scheduling, priority 3
*DarkIce: AlsaDspSource.cpp:159: can't set sample format [0]*
darkice.cfg
# sample DarkIce configuration file, edit for your needs before using
# see the darkice.cfg man page for details
# this section describes general aspects of the live streaming session
[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
realtime = yes # run the encoder with POSIX realtime
priority
rtprio = 3 # scheduling priority for the realtime
threads
# this section describes the audio input that will be streamed
[input]
device = hw:1,0 # Alsa soundcard device for the audio
input (barenger)
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or
44100
*bitsPerSample = 16**
**inbitsPerSample = 24*
channel = 2 # channels. 1 = mono, 2 = stereo
# 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 = vbr # average bit rate
format = mp3 # format of the stream: ogg vorbis
quality = 0.99 # between 0 and 1
server = prsc.org.uk
# host name of the server
port = 8000 # port of the IceCast2 server, usually 8000
password = tortilla # source password to the IceCast2 server
mountPoint = RadioMicroplex.mp3
# mount point of this stream on the
IceCast2 server
name = Radio Microplex
# name of the stream
description = Live From Cube Microplex, Bristol
# description of the stream
url =
http://media.cubecinema.com:8000/RadioMicroplex.mp3
# URL related to the stream
genre = mixed # genre of the stream
public = yes # advertise this stream?
localDumpFile = /mnt/usb/stream.mp3 # local dump file
Regards,
Ben
Nielos.
--
*Ben Edwards, Video Editor/Colorist & Cameraman*
w:www.funkytwig.com t. 01179 118 144 m.:07773 02 44 82
skype:funkytwig twitter:@funkytwig
PGP Public key available from pgp.mit.edu
If you are a freelancer FreeAgent is a great system to do your accounts,
if you use
http://www.freeagent.com/?referrer=42j4d743
(referral code is 42j4d743) you get 10% off each month.
Other related posts: