Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   sc_serv found introfile at startup but get error message when try to play (http://forums.winamp.com/showthread.php?t=302071)

JimTrail 14th January 2009 18:26

sc_serv found introfile at startup but get error message when try to play
 
Hello;

I am having difficulty getting the introfile to play. When I try to play the introfile with the RealPlayer I get the following message:
Quote:

RealPlayer says this:

The clip cannot be played.
It contains unexpected data and may be corrupt.

The directory path is ok I think.

I am pretty sure that I have got the directory path to the introfile right. The startup found the introfile on my PC when I started the sc_serv from the command line. Here's the line from the logfile:

Quote:

<01/14/09@11:46:03> [main] introfile: c:\My Documents\radio\shoutcast\intro24.mp3
Here is a line from the logfile showing that there is an error trying to open the introfile:

Quote:

<01/14/09@11:30:28> [client: c:\My Documents\radio\shoutcast\intro24.mp3] Error opening intro file
I have saw from other threads in this forum that the samplerate/bitrate is an issue with the introfile. I don't know if that is my problem or not. If it is I don't see how to set the right samplerate/bitrate.

I have got the 5.31 version of Winamp. At the Encoder I have got the settings at 24kbps, 22.050kHz, Mono. I think that this is the bitrate. But I don't see anywhere how to set the samplerate.

Does anybody have any suggestions about how I can solve my problem?

Thanks.

fc*uk 14th January 2009 22:06

Try encoding the intro file to what you stream at. Most audio software can change the sample rate for you. Audacity is a great free program that can do this for you.

Oh, your sample rate is 22.050 kHz.

JimTrail 15th January 2009 02:59

fc*uk;

Thanks for responding to my question. I'll give it a try. I have already got the Audacity on my PC.

I'll do that tomorrow morning.

Thanks again. :)

JimTrail 18th January 2009 16:10


.
.

I'm still having difficulties. (I changed the introfile to intro32.mp3 instead of intro24.mp3) Here is the Audacity program with the introfile:

http://i228.photobucket.com/albums/e...tcastpost1.jpg

.
.

Here is the drop down menu showing that the introfile is at 32 bits:

http://i228.photobucket.com/albums/e...tcastpost2.jpg

.
.

Here is the drop down showing it at 22050 Hz:

http://i228.photobucket.com/albums/e...tcastpost3.jpg

.
.

Here is the Winamp encoder showing 32kbps; 22.050 kHz; Mono

http://i228.photobucket.com/albums/e...tcastpost4.jpg

.
.

Here is Winamp showing the input a 22050 Hz

http://i228.photobucket.com/albums/e...tcastpost5.jpg

(image hosting courtesy Photobucket dot com)

.
.

The only difference I see is the Winamp encoder says 22.050 kHz and the Audacity rate says 22020 Hz - but I think that they mean the same thing.

The SHOUTcast broadcasts live just fine. It's just that I can't get the introfile to work.

I would appreciate any suggestions that anyone might have.

Thanks. :)

fc*uk 18th January 2009 17:05

Then I would guess that the problem you are having is going to be related to the path of the intro file. Start out easy and drop it your root C:\ directory and see if it works.

Jkey 19th January 2009 11:35

Just a side note,Its been a while since i used realplayer but i remember that it did not play the intro file of a shoutcast stream for some reason.

This may have been fixed over the years but try winamp with the stream and if it plays fine then realplayer still stucks :).

But as fc*uk says for the other problem drop your intro into c:\ or the same folder where the sc_serv binary is located.

Slinkyfm 21st March 2009 17:48

This is a problem that we are aware of as well with Realplayer. However the problem has been around fro a while so I would not expect a fix anytime soon to Realplayer.

coskel 10th November 2009 11:13

Linux server and intro file?
 
where would the intro file be located on a remote linux box?

IntroFile=C:\intro%d.mp3

is for Windows.

My web host suggested /usr/local/mp3, /var/ or /backup/ but none of those worked.

any suggestions? a search of the archives brought up this message and some Windows users, not Linux

coskel 12th November 2009 11:30

SOLUTION - using intro.mp3 file on Linux
 
Hi all -

This is for those of you who have Shoutcast remotely on a Linux box and want to use the
IntroFile= C:\intro%d.mp3 to play a small promo, announcement, etc.

Most Linux distros have you install Shoutcast in the usr/local/ directory, and make a folder for Shoutcast.

Ex: usr/local/shoutcast - this is your "path" in Linux.

inside the shoutcast folder would be your sc_serv.conf file which you need to edit.

Line 33 - Change ;IntroFile=C:\intro%d.mp3

to

IntroFile=intro.mp3

and place the mp3 file INTO the usr/local/shoutcast directory, this means the mp3 file sits in the same folder as the sc_serv.conf file.

FTP the new verison of sc_serv.conf up.

RESTART SHOUTCAST.

NOTE: the mp3 MUST be the same bitrate as your stream - if your stream in SAM is 96kbps/44.1k, then the mp3 has to match or this will not work.

drechami 6th May 2016 09:46

Hi all,
I noticed allot of issues with the intro file on Ubuntu/linux in this forum. Have to say that for me the only thing that worked is to edit the intro file in NERO Wave Editor® and save it as mp3PRO in the same samplerate/channels you stream in. Audiacity® did not work for me.
Place the intro file into the same dir as your sc_serv.conf file (usually the /server dir)
Edit your sc_serv.conf file and put this line "streamintrofile=intro128.mp3 " (without the quotes) In my case, my stream is 128kb/44.1
Restart the DNAS and works like a charm!! :-D


All times are GMT. The time now is 14:33.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.