View previous topic :: View next topic |
Author |
Message |
wedge
Joined: 05 Sep 2011 Posts: 3
|
Posted: Wed Sep 07, 2011 5:21 pm Post subject: GRRR....What am I doing wrong here.. |
|
|
Trying to get icecast and vlc to work together on a windows box.
Icecast Configuration:
<icecast>
<limits>
<clients>10</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>102400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>
<authentication>
<admin-user>admin</admin-user>
<admin-password>XXXXXX</admin-password>
</authentication>
<hostname>192.168.1.10</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<mount>
<source-password>XXXXXX</source-password>
<mount-name>/stream.ogg</mount-name>
</mount>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel>
</logging>
</icecast>
VLC Configuration:
:sout=#transcode{vcodec=theo,vb=800,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:std{access=shout,mux=ogg,dst=source:XXXXXX@192.168.1.10:8000//stream.ogg} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep
I can't get VLC to connect and you see the mount point in the admin panel, but 1) I can't connect to it 2) I see no local video.
Any ideas would be greatly appreciated.
Ultimately this will be going on a centOS box, that I have to rebuild as my last one caught fire . |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 07, 2011 10:02 pm Post subject: |
|
|
regarding the xml, the 2 most obvious issues that stand out are the clients limit being very low (only 10 allowed?) and the queue size is only 100k which is small for a video stream. For the queue, use 512k minimum but probably more depending on the expected bitrate of the stream, you probably should increase the burst-size to something larger than 64k as well.
If there is still an issue, then set log level to 4 and retry, check the error log for what is actually happening.
karl. |
|
Back to top |
|
|
wedge
Joined: 05 Sep 2011 Posts: 3
|
Posted: Thu Sep 08, 2011 6:10 pm Post subject: |
|
|
xml changes
<limits>
<clients>100</clients>
<sources>10</sources>
<threadpool>5</threadpool>
<queue-size>512000</queue-size>
<client-timeout>300</client-timeout>
<header-timeout>150</header-timeout>
<source-timeout>100</source-timeout>
</limits>
Still local video is very choppy, takes a long time to update and I can now view via firefox, but it's very slow. |
|
Back to top |
|
|
wedge
Joined: 05 Sep 2011 Posts: 3
|
Posted: Thu Sep 08, 2011 6:19 pm Post subject: |
|
|
I get this error..
[2011-09-08 14:16:04] INFO connection/connection.c Source (/stream.asf) attempted to login with invalid or missing password
??? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Sep 08, 2011 8:59 pm Post subject: |
|
|
what bitrate are you expecting of the stream? As suggested before, up the burst size from 64k. Is the encoder cpu usage getting max'd out?
karl. |
|
Back to top |
|
|
|