AUDIO STREAMING CLIENT FROM COMMAND LINE
1.DOWNLOAD IT :
#wget http://darkice.tyrell.hu/dist/0.18.1/darkice-0.18.1.tar.gz
#su
password
2. extract with :
#tar -xzvf darkice-0.18.1.tar.gz
3. CHANGE DIRECTORY
cd darkice-0.18.1
4.compile
# ./configure --prefix=/usr --with-lame --with-vorbis --with-faac --with-twolame --with-alsa --with-jack
4.a) If it fails with " no twolame found" or simillar , just emerge those and repeat crap before ...
5. if it looks good now do make *And it just means as it says "make(it so)"
#make
6. if config went OK, and "make" went OK ,then, can not harm.
Even "make test" is usefull sometimes so:
#make all && make install && ldconfig
-if you get something like
/usr/bin/install -c -m 644 'darkice.cfg' '/usr/etc/darkice.cfg'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nancy/darkice-0.18.1'
make[1]: Leaving directory `/home/nancy/darkice-0.18.1'
Looks good all in all, so now we installed it and loaded libs with "ldconfig",
now we just need to feed it with config and actual stream.
You can up-stream MP3 and OGG to IceCast2 server.
Now the next step, actual upstream and listening ..
7. you need a darkice.cfg. take a look on line when you konw your specs.
Save as "darkice.cfg" and copy it to /etc directory.
8.
a) Get some audio Input into either LINE-IN or MIC-IN on your PC/Laptop
b) Enable that INPUT as Recording Source in ALSA mixer or any other mixer
c) Load alsa-oss-mixer and alsa-oss-pcm modules ( You need /dev/dsp for darkice)
to check ls /dev/dsp -lah
10) to fire up darkice
#darkice /usr/bin/darkice -c /etc/darkice.cfg
11) play it in vlc go to
#vlc http://www.YOURstreamer.nl:8888/sister0.ogg
You can make page and embed it in it.
But be sure to kill Skype and all other browser(s) mailers etc.
Must have constant upload of 96 kbit /sec
THANKYOU TO MARKO MAD LINUX
issues:
audio dev is blocked by streaming ( /dev/dsp) so no other app can use it ,but try ....
that is why 1 machine plays "encoder" and other sources (PC , MP3// OGGG player , CD player / MiniDisc / Microphones are mixed before they enter the encoding/streaming machine ...
So lets say on scot's machine You make playlist and feed it to the mixer, on mixer 2nd channel Your Mic and then crossfade fromone to another as needed.
You dohave small mixer asi remember ...
1.DOWNLOAD IT :
#wget http://darkice.tyrell.hu/dist/0.18.1/darkice-0.18.1.tar.gz
#su
password
2. extract with :
#tar -xzvf darkice-0.18.1.tar.gz
3. CHANGE DIRECTORY
cd darkice-0.18.1
4.compile
# ./configure --prefix=/usr --with-lame --with-vorbis --with-faac --with-twolame --with-alsa --with-jack
4.a) If it fails with " no twolame found" or simillar , just emerge those and repeat crap before ...
5. if it looks good now do make *And it just means as it says "make(it so)"
#make
6. if config went OK, and "make" went OK ,then, can not harm.
Even "make test" is usefull sometimes so:
#make all && make install && ldconfig
-if you get something like
/usr/bin/install -c -m 644 'darkice.cfg' '/usr/etc/darkice.cfg'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nancy/darkice-0.18.1'
make[1]: Leaving directory `/home/nancy/darkice-0.18.1'
Looks good all in all, so now we installed it and loaded libs with "ldconfig",
now we just need to feed it with config and actual stream.
You can up-stream MP3 and OGG to IceCast2 server.
Now the next step, actual upstream and listening ..
7. you need a darkice.cfg. take a look on line when you konw your specs.
Save as "darkice.cfg" and copy it to /etc directory.
8.
a) Get some audio Input into either LINE-IN or MIC-IN on your PC/Laptop
b) Enable that INPUT as Recording Source in ALSA mixer or any other mixer
c) Load alsa-oss-mixer and alsa-oss-pcm modules ( You need /dev/dsp for darkice)
to check ls /dev/dsp -lah
10) to fire up darkice
#darkice /usr/bin/darkice -c /etc/darkice.cfg
11) play it in vlc go to
#vlc http://www.YOURstreamer.nl:8888/sister0.ogg
You can make page and embed it in it.
But be sure to kill Skype and all other browser(s) mailers etc.
Must have constant upload of 96 kbit /sec
THANKYOU TO MARKO MAD LINUX
issues:
audio dev is blocked by streaming ( /dev/dsp) so no other app can use it ,but try ....
that is why 1 machine plays "encoder" and other sources (PC , MP3// OGGG player , CD player / MiniDisc / Microphones are mixed before they enter the encoding/streaming machine ...
So lets say on scot's machine You make playlist and feed it to the mixer, on mixer 2nd channel Your Mic and then crossfade fromone to another as needed.
You dohave small mixer asi remember ...