----- Original Message -----
From: "Eri Mendz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 07, 2006 12:28 PM
Subject: Re: [plug] Linux as live audio streaming server
Until now i really DONT understand what is audio/video streaming is.
it is just simply stream audio and video over the network using udp over
ip....
But for video streaming i really dont have a clue. Paano ito magamit
halimbawa sa home network? I cant think of any good use.
IPTV is one good use of it....
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of alum
Sent: Tuesday, March 07, 2006 7:50 AM
To: Philippine Linux Users' Group (PLUG) Technical Discussion List
Subject: [plug] Linux as live audio streaming server
Hi everybody,
i would just like to ask is there a program from linux capable of
translating the Line In from a live source into Icecast.
ICES is a source client of icecast server that supported getting source
input from line in....
http://www.icecast.org/ices.php
or any other way?, we are currently transferring our windows media
server into linux, our client is a an FM station.
linux have two sound drivers... open sound system
(http://www.4front-tech.com/) and advanced linux sound architecture
(http://www.alsa-project.org/)... you can manipulate any input device (eg.
line in) from your soundcard...
if you know how to program in C language.. you can use their API to get raw
sound data from the input device and convert it to mp3 format using LAME (an
mp3 encoder - http://lame.sourceforge.net/) and feed it to any audio
streaming server (eg. icecast, darwin streaming server, etc)... i prefer mp3
audio streaming format because lots of audio player or audio client
supported mp3 format... therefore you have a wider audience ....
if you like winamp... winamp player can be a source client for its audio
streaming server known as shoutcast (http://www.shoutcast.com/)... just get
its input plugin for line in and output plugin for feeding to the shoutcast
server...
your source client and streaming server must be in separate machine for a
heavy connections... mp3 encoding from a raw sound data eats a lot of cpu
cycles...
i wrote a program that get the raw sound from line in and feed it to darwin
streaming server using open sound system (for portability to other unix
system), lame mp3 encoder and icecast protocol for the communication between
my client and darwin streaming server.... it supported 8 bit, 16 bit, 24 bit
, 32 bit sound card and either mono or stereo channel as input and upto 320
bitrate and 48khz sampling frequency as mp3 output with less cpu utilization
compare to others line in to mp3 encoding...
fooler.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph