Automatische Playlist

Status
Für weitere Antworten geschlossen.

Orbit

Benutzer
Hallo,

neben der kleinen Probleme, siehe hier http://radioforen.de/showthread.php?t=36018 , möchte ich gerne eine automatische Playlist erstellen.
Wichtig wäre, dass ich die Playlist ohne Unterbrechung für den User beenden kann und dann in den Livestream übergehen kann. Außerdem möchte ich sog. .m4a-Dateien abspielen. Ginge das mit sc_trans oder welche Vorschläge hättet ihr?
 
AW: Automatische Playlist

welche Vorschläge hättet ihr?

Zum Problem mit der Unterbrechung die Suchfunktion, das Thema wurde zigfasch durchgekaut.

Und ob du m4a abspielen kannst, hängt nicht vom sc_trans ab sondern davon ob der Codec existiert. Und das wirst du als Serverbetreiber ja sicher wissen, ob du diesen installiert hast.
 
AW: Automatische Playlist

Codec? Ich habe erst mit Shoutcast angefangen und habe keine Codecs extra drauf. Könntest du dazu bitte mehr sagen? Wo bekomme ich ein passendes Codec für m4a her?
 
AW: Automatische Playlist

Wie im anderen Thread erwähnt, is momentan nix mit Glaskugel. Vielleicht kommst du serlbst drauf, welche Infos von dir fehlen :rolleyes:
 
AW: Automatische Playlist

OK, bin nun etwas weiter gekommen. Habe nur das Problem, dass die Playliste, die ich hinterlegt habe, nicht abgespielt wird wegen:
input file samplerate is 1077601328 Hz, must be 44100!

Die Meldung verstehe ich schon, nur wie kann ich eine Umwandlung der .mp3 umgehen? Und ich möchte von der Lösung mit Icecast und Shoutcast als Relay absehen.

Denke mal die configs werden nun nicht viel bringen, da ja sonst alles geht. Aber hier mal die von der sc_trans:
; 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=example.lst

; ServerIP/ServerPort are the target server to send to
ServerIP=xxxxx
ServerPort=8000

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

; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=xxxx
StreamURL=xxxx
Genre=Pop

; 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=64000
SampleRate=22050
Channels=2
; 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=AIMHandle
ICQ=
IRC=shoutcast
 
AW: Automatische Playlist

Sorry für den Doppelpost. Habe heute es mit der Umwandlung probiert. Setze ich z.B. 32Hz, so kommt folgende Meldung:
<05/08/08@21:27:08> Warning: input file samplerate is 32000 Hz, must be 44100!
<05/08/08@21:27:08> [DECODE] Opened 1.mp3
<05/08/08@21:27:08> Warning: input file samplerate is 32000 Hz, must be 44100!

Konvertiere ich in 44,1 Hz so kommt diese Meldung:
Code:
<05/08/08@21:25:05> Warning: input file samplerate is -1208978695 Hz, must be 44100!
<05/08/08@21:25:05> [STREAM] Creating stream socket
<05/08/08@21:25:05> [STREAM] Error connecting to stream host [waiting 10s]
<05/08/08@21:25:05> Warning: input file samplerate is -1208978695 Hz, must be 44100!
<05/08/08@21:25:05> Warning: input file samplerate is -1208978695 Hz, must be 44100!
<05/08/08@21:25:05> [DECODE] Opened 1.mp3
<05/08/08@21:25:08> [MAIN] Title Update Failed

Also kann es nicht am Format, sondern an was anderem liegen. Nur an was? Habe im anderen Thread auch gelesen, dass die Ports anders sein könnten. Doch die sind in beiden Config-Files auf 8000 gestellt. Weiß noch jemand einen Rat?
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben