|
List Info
Thread: Darkice Runs but does not Encode.
|
|
| Darkice Runs but does not Encode. |

|
2006-11-23 11:56:05 |
|
Flow completely quiet streaming.
Icecast 2.3.1 + DarkIce 0.17.1 is supposed to recover all what passes by the sound card, but that does not go me at home.
I thought that it was my sound card its AC97 integrated which posed problem. Thus I have to buy a sound card M-audio Revolution51 ice1724 VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller
I use Gentoo x86-64.
Files asound.conf ou .asoundrc with darkice is necessary or just use /dev/dsp?
it is what it is to better use darkice with jack?
Here my files: "/etc/modules.d/alsa" ,"/etc/asound.conf ", "/etc/darkice.cfg"
cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file. # $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/ # alsa-modules.conf-rc
,v 1.1 2003/08/05 21:07:55 johnm Exp $
# ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore
## ALSA portion alias snd-card-0 snd-ice1724 ## OSS/Free portion
alias sound-slot-0 snd-card-0
# OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss
# Set this to the correct number of cards. options snd cards_limit=1
cat /etc/asound.conf
pcm.ice1724 { type hw card 0 }
ctl.ice1724 { type hw card 0 }
pcm.!default { type plug slave.pcm "spdif" }
cat /etc/darkice.cfg
# sample DarkIce configurat ion 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
# this section describes the audio input that will be streamed
[input] #device = /dev/audio # OSS DSP soundcard device for the audio input #device = /dev/dsp # OSS DSP soundcard device for the audio input device = plughw:0 # OSS DSP soundcard device for the audio input
sampleRate = 48000 # sample rate in Hz. try 11025, 22050 or 44100 #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
# this section describes a streaming connection to an IceCast server # there may be up to 8 of these sections, named [icecast-0] ... [icecast-7] # these can be mixed with [icecast2-x] and [shoutcast-x] sections
# 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 # en bitrate constant format = mp3 # bon on sait ce n'est pas libre bitrate = 128 # et voila donc pourquoi on limite la qualité server = localhost # host name of the server
port = 80 # port of the IceCast2 server, usually 8000 password = ************** # source password to the IceCast2 server mountPoint = sample96.mp3 # mount point of this stream on the IceCast2 server
name = DarkIce trial # name of the stream description = This is only a trial # description of the stream url =
http://www.yourserver.com # URL related to the stream genre = my own # genre of the stream public = no # advertise this stream? | |