PDA

View Full Version : introfile question???


ElkySS
15th January 2003, 11:52
I have my server running and all is well when i don't use a intro file. If i do then, all the listner gets is the into file but then it never skips over to the music. here is the intro file line in my shoutcast server config file.

IntroFile=D:\MP3z\MP3z\~commercials\scpromo-milk.mp3

FesterHead
15th January 2003, 15:06
Is your introfile recorded at the same sample rate and channels as your stream?

ElkySS
15th January 2003, 16:30
probably not. Does that mean that i need to change the introfile to...

IntroFile=D:\MP3z\MP3z\~commercials\scpromo-milk%D.mp3

FesterHead
15th January 2003, 17:26
No. You need to record it (or convert it) in the same sample rate and channels as your stream.

Examples:
A 32kbps 22kHz mono stream needs a 22kHz mono intro file.
A 128kbps 44kHz stereo stream needs a 44kHz stereo introfile.

If I recall, the bitrate is not a factor (see the commented part of the sc_serv.ini corresponding to introfile). The %D is a wild card (well, sort of) and gets replaced with the bitrate of your stream (again, see the commented part of the sc_serv.ini corresponding to introfile).

Example:
If your stream is 32kbps 22kHz mono and your introfile entry is IntroFile=D:\MP3z\MP3z\~commercials\scpromo-milk%D.mp3, then the introfile to get played will be D:\MP3z\MP3z\~commercials\scpromo-milk32.mp3

Note:
I've never setup nor used my own introfile.