Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast 2.0 and Liveice

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Thu Jul 07, 2005 3:42 am    Post subject: Icecast 2.0 and Liveice Reply with quote

I can use icecast and liveice and connect to it from a windows machine
running WinAmp. It works OK except winamp stops every few seconds and
tells me that it's buffering. It buffers for a few seconds and then
plays a few more seconds. Does anyone have any ideas here?
Thank
Back to top
Anonymous
Guest





PostPosted: Thu Jul 07, 2005 4:37 pm    Post subject: Reply with quote

Not enough bandwith?
Back to top
EvilOverlord
Forum Admin
Forum Admin


Joined: 12 Jun 2005
Posts: 173
Location: Isle of Man

PostPosted: Thu Jul 07, 2005 8:46 pm    Post subject: Reply with quote

The machine you're doing the live encoding on probably doesn't have enough CPU power to do the job.

Run "vmstat 1" to get an idea of how loaded the machine is.

--
Project Maintainer http://liveice.sf.net/
Back to top
View user's profile Send private message Visit poster's website
Anonymous
Guest





PostPosted: Sat Jul 09, 2005 5:39 pm    Post subject: Icecast 2.0 and Liveice Reply with quote

I have a LAN, there I have a server Linux with mandrake 10.1 where this Icecast Server and the Liveice running and a PC with Windows XP in the same LAN , in XP I connect to the Icecast server and I don't present the problem, now I have a connection of Wide Band of with 384 kbps, can this be the problem?


Report of the dslreports.com
2005-07-09 13:30:25 EST: 288 / 130
Your download speed : 295100 bps, or 288 kbps.
A 36 KB/sec transfer rate.
Your upload speed : 134097 bps, or 130 kbps

Report of the vmstat

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 78988 3184 41568 53516 0 1 3 5 110 86 1 0 99 0
0 0 78988 3184 41568 53516 0 0 0 0 1161 923 21 3 76 0
2 0 78988 3136 41572 53580 0 0 64 68 1159 927 20 2 78 0
0 0 78988 3136 41572 53580 0 0 0 0 1156 923 19 3 78 0
1 0 78988 3136 41572 53580 0 0 0 0 1155 925 20 3 77 0
0 0 78988 3136 41572 53580 0 0 0 0 1157 919 19 2 79 0
0 0 78988 3088 41572 53644 0 0 64 0 1158 923 21 3 76 0
1 0 78988 3088 41572 53644 0 0 0 28 1166 925 21 3 76 0
1 0 78988 3088 41572 53644 0 0 0 0 1155 928 19 3 78 0
0 0 78988 3088 41572 53644 0 0 0 0 1154 905 21 2 77 0
0 0 78988 2992 41572 53708 0 0 64 0 1149 922 20 3 77 0
0 0 78988 2992 41572 53708 0 0 0 0 1166 920 21 3 76 0
2 0 78988 2992 41576 53708 0 0 0 32 1169 921 21 1 78 0
0 0 78988 2992 41576 53708 0 0 0 0 1154 922 20 2 78 0
0 0 78988 2944 41576 53772 0 0 64 0 1159 914 20 2 78 0
1 0 78988 2944 41576 53772 0 0 0 0 1154 924 20 3 77 0
1 0 78988 2944 41576 53772 0 0 0 0 1164 920 20 3 77 0
0 0 78988 2944 41584 53772 0 0 0 28 1157 930 21 3 76 0
0 0 78988 2944 41584 53772 0 0 0 4 1159 931 19 2 79 0
0 0 78988 2896 41584 53836 0 0 64 0 1158 921 20 2 78 0
1 0 78988 2896 41584 53836 0 0 0 0 1157 930 19 5 76 0
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 78988 2896 41584 53836 0 0 0 0 1161 928 19 2 79 0
Back to top
Anonymous
Guest





PostPosted: Sat Jul 09, 2005 6:54 pm    Post subject: Reply with quote

Well, if you connect through your LAN, even if it's an old 10 Mbps, there won't be any problem. If you access your Icecast server through your DSL / whatever connection, it might be more problematic : is 384 kbps your upload speed? If so, no problem by this side.

But, as EvilOverlord told you, you should check the caracteristics of your two computers (CPU, mem, free disk space, etc... any thing that can slow down encoding or decoding). But, I'm sorry, I'm not skilled enough with vmstat to read its output Smile
Back to top
EvilOverlord
Forum Admin
Forum Admin


Joined: 12 Jun 2005
Posts: 173
Location: Isle of Man

PostPosted: Sun Jul 10, 2005 4:16 am    Post subject: Re: Icecast 2.0 and Liveice Reply with quote

Well the encoding PC is only running about 30% load, so that's not the problem.

What bitrate is the stream?

If you're using 128 then you don't have enough upload bandwidth.
antonandres wrote:
Your upload speed : 134097 bps, or 130 kbps

A 128kbps mp3 stream isn't really 128, it's really a few kbps more than that. So you will be getting all the buffering problems you are seeing.
Back to top
View user's profile Send private message Visit poster's website
Anonymous
Guest





PostPosted: Sun Jul 10, 2005 2:07 pm    Post subject: Reply with quote

I should learn how to read. Sad
Back to top
Anonymous
Guest





PostPosted: Sun Jul 10, 2005 11:19 pm    Post subject: Icecast 2.0 and Liveice Reply with quote

I change the BITRATE 128 at 96 and it works perfectly, thank you for their collaboration, now I need an additional favor I want to have two liveice instances one configured with a BITRATE 96000 running and another with a BITRATE 128000, both start up but I believe that interrunpe the execution of the other one
Thank you for their collaboration..

PD: the icecast server this configured to listen for two ports (8000,8001)


Configuration # 1

# liveice configuration file
# Automatically generated
SERVER 172.29.254.5
PORT 8000
NAME Radio 3AM
GENRE Live
URL http://zepellin.homelinux.net:8000/radio3am
PUBLIC 0
# X_AUDIOCAST_LOGIN
# ICY_LOGIN
HTTP_LOGIN
MOUNTPOINT radio3am
PASSWORD ******
SAMPLE_RATE 44100
STEREO
NO_SOUNDCARD
HALF_DUPLEX
USE_LAME3 lame
BITRATE 96000
#VBR_QUALITY 1
MIXER
PLAYLIST /home/mp3/plist/playlist1
DECODER_COMMAND mpg123
#MIX_CONTROL_LOGGED
MIX_CONTROL_MANUAL
CONTROL_FILE mix_command
TRACK_LOGFILE /var/log/track_radio3am.log

Configuration # 2

# liveice configuration file
# Automatically generated
SERVER 172.29.254.5
PORT 8001
NAME Streaming Home
GENRE Live
URL http://zepellin.homelinux.net:8001/br128kbps
PUBLIC 0
# X_AUDIOCAST_LOGIN
# ICY_LOGIN
HTTP_LOGIN
MOUNTPOINT br128kbps
PASSWORD ***
SAMPLE_RATE 44100
STEREO
NO_SOUNDCARD
HALF_DUPLEX
USE_LAME3 lame
BITRATE 128000
#VBR_QUALITY 1
MIXER
PLAYLIST /home/mp3/plist/playlist
DECODER_COMMAND mpg123
#MIX_CONTROL_LOGGED
MIX_CONTROL_MANUAL
CONTROL_FILE mix_command
TRACK_LOGFILE /var/log/track_br128kbps.log
Back to top
EvilOverlord
Forum Admin
Forum Admin


Joined: 12 Jun 2005
Posts: 173
Location: Isle of Man

PostPosted: Tue Jul 12, 2005 6:24 pm    Post subject: Reply with quote

Well liveice uses OSS (Open Sound System) to interface with the sound card. ALSA (which I assume you are using) has configurable modules for OSS compataility and multi device use. You need to look at the asound.conf and activate the dsnoop & dmix plugins. I have done this before so it does work, but it was a while ago.

The other option is to use oddsock's stream transcoder to take the 128kbps stream as an input and output a 96kbps stream back to the server.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber