Autor Beitrag
MasterTobi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 10.11.09 12:02 
Hallo

habe mir ma das Netradio bsp von der bass.dll zu herzen genommen :) es ist echt praktisch und gefällt mir funkt auch super.

so nun ist aber das problem das wenn ich auf diesen server(95.208.31.166:8000/listen.pls) connecten will er mir immer sagt "can not play the stream " oder so.

habe mir mal die listen.pls angeschaut :

[playlist]
NumberOfEntries=1
File1=95.208.31.166:8000/

liegt es daran das dort " Title: Length1= Version= " fehlt ?

oder an was kann das liegen, zurzeit gibt er mir den fehlercode 0 aus, der sagen soll "es ist alles ok "

p.s. atm ist der stream aus, wird erst heut nachmittag/abend online sein, wenn es einer testen will


MFG
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 10.11.09 12:12 
Funktioniert es, wenn du die Stream-Adresse direkt angibst?

Damit die Bass.dll die Playlist (diese pls-Datei) automatisch parsed und den Stream darin aufruft, muss man ihr das vorher sagen. Wie genau, weiß ich grade nicht auswendig, steht aber in der Hilfe drin - iirc BASS_Config_irgendwas. :)

Wenn das auch nicht klappt: In welchem Format wird da gesendet, mp3, wma, aac? Denn für einige Formate braucht man ein Plugin zur bass.dll, da die alleine nur sehr wenige Formate versteht.

_________________
We are, we were and will not be.
MasterTobi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 10.11.09 12:28 
hey danke für die antwort

also eig müsste das mp3 und wma sein, denke ich mal :)

wenns das is was muss ich den da für plugins einbinden und wie ?

soweit ich weiß ließt bass.dll doch eig alle formate, also mp3 wma wav ogg etc oder lieg ich da falsch


mfg
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 10.11.09 12:59 
wma ist schon problematisch - dafür braucht man ie bass_wma.dll ;-). Mit der bass.dll alleine gehen nur wav, mp3, ogg und ein paar andere (belanglose) Formate.

Zum Thema bass.dll-Plugins gibts auch ein Kapitel in meinem Tutorial. Ich vermute aber eher, dass es da ein Problem mit dem Parsen der Playlist gibt. :)

_________________
We are, we were and will not be.
MasterTobi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 10.11.09 13:08 
hm das fehler beim Parsen der .pls ist dachte ich auch schon aber warum funktionieren dann andere webradios die .pls datein benutzen ? -.- sind ja alle gleich aufgebaut :)

naja könnt es vll noch an irgendwas anderem liegt ? oder bin ich einfahc nur blöd xD
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 10.11.09 13:13 
Hm. Wenn es bei anderen pls geht, ziehe ich meinen Einwand zurück. Und wenn du ds netradio-Beispiel verwendet hast, dann steckt wohl auch noch diese Codezeile drin:
ausblenden Delphi-Quelltext
1:
BASS_SetConfig(BASS_CONFIG_NET_PLAYLIST, 1); // enable playlist processing					

Also passt das. Dann halt doch ein Plugin-Problem. :nixweiss:

Wenn der Stream wieder online ist, guck ich mal, was mein Player dazu sagt. :D

_________________
We are, we were and will not be.
MasterTobi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 10.11.09 13:15 
ok vielen dank :)
werd hier dann schreiben wenn der stream online ist :)
MasterTobi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 10.11.09 16:37 
sry wegen doppelpost
aber stream läuft nun
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 10.11.09 16:55 
Bei mir läufts. Mein Player sagt mir, dass das ein "Advanced Audio Coding"-Stream ist. Dafür brauchst du die bass_aac.dll zum abspielen. Die einfach in denselben Ordner packen, und das Plugin beim Start laden. Entweder den Code aus meinem Tutorial nehmen, oder den von dem Plugin-Beispiel der bass.dll (ist bis auf ein paar Kleinigkeiten dasselbe).

_________________
We are, we were and will not be.
MasterTobi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Di 10.11.09 17:18 
dann danke ich mal :)
auf so ein scheiß muss man kommen xD

danke danke danke