Shoutcast problem

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
a-n
Posts: 145
Joined: 2004-05-10 10:15
 

Shoutcast problem

Post by a-n »

Hallo,

ich habe in den Logs des öfteren folgende Meldung:

Code: Select all

<08/06/05@12:24:06> [DECODE] Opened Mein-Dong.mp3
<08/06/05@12:24:06> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:06> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:06> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:06> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:07> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:07> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:07> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:07> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:07> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:07> Warning: input file samplerate is 24000 Hz, must be 44100!
<08/06/05@12:24:07> Warning: input file samplerate is 24000 Hz, must be 44100!
Und wie folgt sieht meine Config aus:

Code: Select all

muzik@Server2:~/stream$ cat sc_trans.conf
; Sample sc_trans/0.35-j config file
; j.frankel 12/05/00
; t.pepper 10/31/00
; (relays not supported, yo)
;
; sc_trans operates in one of two modes, either reading mp3s off disk, decoding,
; re-encoding, and then broadcasting them, or relaying from a shoutcast server,
; transcoding to a lower bitrate, and broadcasting to a new server.

; sc_trans accepts the following signals:
; HUP - flush logfiles (close and reopen) -- will make console logging stop
; WINCH - jump to next song
; USR1 - reload playlist off disk (will not interrupt current playing stream)
; USR2 - toggle shuffle on/off
; TERM - normal sc_trans shutdown (clean)

; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst
PlaylistFile=/home/xxx/stream/radio2.lst

; ServerIP/ServerPort are the target server to send to
ServerIP=80.xxx.xxx.xxx
ServerPort=x000

; Password is the password on the sc_serv you're sending to.
Password=xxxxxxxxxxxxxx

; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=Radio Stream
StreamURL=meinesite.com
Genre=Radio Stream

; Logfile optionally denotes a text file to log sc_trans to.  a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=sc_trans.log

; Shuffle the playlist
Shuffle=1

; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=24000
SampleRate=24000
Channels=1
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1


; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000

UseID3=0

; Public determines whether or not this station will show up in the directory
Public=1

; Put stuff here for user interaction (AOL IM, ICQ, IRC)
;AIM=
;ICQ=
;IRC=
Ich weiß nicht genau was er von mir will, und der Stream muss mit 24 Kbit/s laufen.

Zwar läuft der Stream weiterhin, aber bei den Songs wo die Meldung kommt wird nicht abgespielt. Ich weiß nicht woran das liegen kann.

Hat jemand eine Ahnung ?
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Shoutcast problem

Post by Roger Wilco »

A-N wrote:Hat jemand eine Ahnung ?
Es steht doch alles in der Meldung in deinen Logs. Die MP3-Datei wurde mit einer Samplerate von 24 KHz aufgenommen, Shoutcast will es aber in 44.1 KHz.

Ich nehme mal an, dass der Wert in der Config angibt, in welches Format konvertiert werden soll, nicht das Format der Quelle.
a-n
Posts: 145
Joined: 2004-05-10 10:15
 

Re: Shoutcast problem

Post by a-n »

Roger Wilco wrote:
A-N wrote:Hat jemand eine Ahnung ?
Es steht doch alles in der Meldung in deinen Logs. Die MP3-Datei wurde mit einer Samplerate von 24 KHz aufgenommen, Shoutcast will es aber in 44.1 KHz.

Ich nehme mal an, dass der Wert in der Config angibt, in welches Format konvertiert werden soll, nicht das Format der Quelle.
Das stimmt aber nicht, die mp3 ist mit 44 kHz und mit einer Bitrate von 128 Kbit/s

Und in der config steht ja, das er die mp3´s mit 22 kHz abspielen soll.

Daher ja bin ich so ratlos :cry:

Code: Select all

Bitrate=24000 
SampleRate=24000 
Channels=1 
Post Reply