I have test in Debian testing (Sid)
for more doc www.xiph.org
# apt-get install icecast2
edit /etc/default/icecast2
icecast2
=====
ENABLE=true
=====
start the icecast
/etc/init.d/icecast2 start
edit /etc/icecast2/icecast.xml enable the relay if you want.
There are two types of relays: a “Master server relay” or a “Specific Mountpoint relay.” A Master server relay is only supported between icecast2 servers and is used to relays all mountpoints on a remote icecast2 server.
icecast.xml
=======
master-server 127.0.0.1 master-server
master-server-port 8001 master-server-port
master-update-interval 120 master-update-interval
master-password hackme master-password
relays-on-demand 1 relays-on-demand
on-demand 1 on-demand
relay-shoutcast-metadata 1 relay-shoutcast-metadata
example:
relay
server 127.0.0.1 server
port 8001 port
mount /example.ogg mount
local-mount different.ogg local-mount
on-demand 1 on-demand
(if your want to stream the mounted /example.ogg via /different.ogg in server)
========
restart the icecast server
/etc/init.d/icecast2 restart
with your browser
http://localhost:8000/
(user: admin, pass: hackme, by default)
copy a audio.ogg or video.ogg in your “/usr/share/icecast2/web/” and test it with your player.
Ices2 config
(Ogg Vorbis streaming source for Icecast 2)
#apt-get install ices2
cd /usr/share/doc/ices2/examples/
To stream some pre-encoded ogg files
cp /usr/share/doc/ices2/examples/ices-playlist.xml /usr/share/icecast2/web/
edit the /usr/share/icecast2/web/ices-playlist.xml
ices-playlist.xml
==========
hostname localhost hostname
port 8000 port
password hackme password
mount /example1.ogg mount
param name=”restart-after-reread” 1 param (optional)
==========
you can hear it via
http://localhost:8000/example1.ogg
if you change it to /example.ogg,
then you can hear it via
http://localhost:8000/example.ogg
or
http://localhost:8000/different.ogg (via the relay)
create a playlist “playlist.txt” in /usr/share/icecast2/web/
playlist.txt
=======
fordername/01-name.ogg
fordername/02-name.ogg
fordername/03-name.ogg
………………………
=======
start the stream
# ices2 ices-playlist.xml
To stream from Input (alsa or oss)
cp /usr/share/doc/ices2/examples/ices-alsa.xml /usr/share/icecast2/web/
edit the /usr/share/icecast2/web/ices-alsa.xml if your need.
ices-alsa.xml
=========
hostname localhost hostname
port 8000 port
password hackme password
mount /example1.ogg mount
===========
you can hear it via
http://localhost:8000/example1.ogg
if you change it to /example.ogg,
then you can hear it via
http://localhost:8000/example.ogg
or
http://localhost:8000/different.ogg (via the relay)
start the live stream
# ices2 ices-alsa.xml
Video Streaming
#apt-get install ffmpeg ffmpeg2theora oggfwd
example:
#ffmpeg2theora output.ogg -x 320 -y 240 -V 150 -A 64 -o – –optimize | oggfwd localhost 8000 hackme /theora.ogg
(if your want to stream the output.ogg via mountpoint /theora.ogg in icecast server)
play http://localhost:8000/theora.ogg
done π
2009; 101 2 70 71 buy cialis online europe T cells isolated on day 1 were incubated with CMPTX dye solution for 40 minutes at 37 degrees C
I blog quite often and I seriously thank you for your content.
The article has truly peaked my interest. I’m going to book mark your site and keep checking
for new details about once a week. I subscribed to your RSS feed too.
Very nice article. I absolutely appreciate this site. Continue
the good work!
There is certainly a lot to find out about this topic.
I love all the points you’ve made.
ΠΊΠ°ΠΊΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ ΡΠΊΠΎΡΠΎ ΡΠ°Π·Π»ΠΈΡΠΈΡΡ Π½Π°ΡΡΠΎΡΡΡΡ ΠΊΡΠ°ΡΠ½ΡΡ ΠΈΠΊΡΡ ΠΎΡΠΎ ΠΏΠΎΠ΄Π΄Π΅Π»ΠΊΠΈ
Great post. I was checking constantly this weblog and I’m impressed!
Extremely useful info specifically the remaining part :
) I take care of such info much. I was looking for this particular info for a very lengthy time.
Thank you and best of luck.
ΠΏΠ»Π°ΡΠ° Π·Π° ΠΏΡΠΎΠΊΠ°Ρ Π°Π²ΡΠΎΡΡΠ°Π½ΡΠΏΠΎΡΡΠ°: ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ, Π΄ΠΎΡΠΎΠΆΠ½ΠΎΠΉ,
ΡΠ°ΡΡΠ΅Π½ΠΊΠΈ
Stop by my web blog; Π°ΡΠ΅Π½Π΄Π° ΡΠΏΠ΅ΡΡΠ΅Ρ Π½ΠΈΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΊΠΈΠ΅Π²