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 

config option: Intro
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 01, 2006 1:30 pm    Post subject: Reply with quote

I suspect that you are editing an xml file that icecast isn't aware of, not only isn't the intro file option even logged as set, neither are some of the other options you've set, eg hidden. You can confirm that by changing the burst and/or queue size to something different and rechecking the log.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sat Apr 01, 2006 1:41 pm    Post subject: Reply with quote

umm yeah maybe you're right i noticed things like this yesterday. eg i changed the passwords but was still able to conenct, then i was even able to connect when icecast was closed and later uninstalled (runs as system device)

1st test in mount:
<burst-size>55555</burst-size>

[2006-04-01 15:37:41] DBUG source/source.c burst size to 65535

2nd test in limits:
<burst-size>55555</burst-size>

[2006-04-01 15:42:17] DBUG source/source.c burst size to 55555

so what to do? i mean when i re-installed it, i wasn't able to conenct, so i edited the xml for the passwords and hostname and it worked again.
looks like it doesn't read the mount settings at all?


<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/DiscogsRadio.mp3</mount-name>
<burst-size>65535</burst-size>
<intro>/intro.mp3</intro>
<hidden>1</hidden>
<no-yp>1</no-yp>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>

<mount>
<mount-name>/auth_example.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>

-->
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 01, 2006 1:51 pm    Post subject: Reply with quote

that snippet there is actually a comment ie

<!-- any unparsed junk in here gets ignored -->

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sat Apr 01, 2006 2:19 pm    Post subject: Reply with quote

DOH!!!! Idea ok i didn't know this comment affects the whole cetion till -->

intro is beeing played now but when i connect in foobar i get this error:

INFO (CORE) : startup time: 141 ms
INFO (CORE) : opening file for playback :
INFO (CORE) : location: "http://XXXXXX:XXXX/DiscogsRadio.mp3" (0)
INFO (CORE) : Clipping detected.
WARNING (foo_input_std) : mpeg stream error at 52668 bytes, attempting resync
INFO (foo_input_std) : mpeg stream resync successful
INFO (CORE) : opening file for playback :
INFO (CORE) : location: "http://XXXXXX:XXXX/DiscogsRadio.mp3" (0)
INFO (CORE) : Clipping detected.
WARNING (foo_input_std) : mpeg stream error at 52668 bytes, attempting resync
INFO (foo_input_std) : mpeg stream resync successful


Last edited by Anonymous on Sat Apr 01, 2006 2:36 pm; edited 1 time in total
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 01, 2006 2:30 pm    Post subject: Reply with quote

Those aren't errors. I can't comment on the clipping part as that is within the content of the mp3 so icecast hasn't touched that, the resync is just the player locating another mp3 block. It plays here in xmms

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sat Apr 01, 2006 2:35 pm    Post subject: Reply with quote

ok so it isn't bad? foobar doesn't show it when i stream in ogg though.
at least it plays back properly so i don't care about it.
in winamp all is fine. WHOO! thanks man!

now, are there more options like a fade in of the actual stream after the intro stopped?


summary: locate the intro file(s) in icecasts web folder and change the mount section in the config like this:
-->

<mount>
<mount-name>/mountpoint.ogg</mount-name>
<burst-size>65536</burst-size>
<intro>/intro.ogg</intro>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>

<mount>
<mount-name>/mountpoint.mp3</mount-name>
<burst-size>65536</burst-size>
<intro>/intro.mp3</intro>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>

<mount>
<mount-name>/auth_example.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>

-->

dunno about auth_example section though
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 01, 2006 4:10 pm    Post subject: Reply with quote

intro will work with all files, ogg/mp3/aac/nsv, but you have to match the intro to the stream format, don't expect players to handle a midstream switchover to work from say mp3 to ogg. Fade in/out is a question of the content, icecast doesn't do encoding but your intro file itself could fade in and out if need be.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sat Apr 01, 2006 4:38 pm    Post subject: Reply with quote

that's clear to me ok too bad Smile
Back to top
Anonymous
Guest





PostPosted: Sun Apr 02, 2006 3:26 pm    Post subject: Reply with quote

are you using IIS to setup the webserver?
I am trying to but i don't know how my client come to the server
i try
192.168.0.30:8000/Radio/live
but it's not working
Back to top
Anonymous
Guest





PostPosted: Sun Apr 02, 2006 7:30 pm    Post subject: Reply with quote

yes i use IIS
you need to give out your real server IP. 192.168.0.X is a network IP. if you dunno your server IP (you should), open this in your browser on the server http://www.whatismyip.com/

your mount is called /Radio/live ??? try /Radio.mp3
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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