Autor Beitrag
invarbrass
Hält's aus hier
Beiträge: 4



BeitragVerfasst: Mo 25.02.08 05:17 
I'm looking for code/ideas for a new project. The application will play for internet TV (IPTV) broadcasts. Most of the available TV feeds are encoded in Window Media Player format:
media2.bloomberg.com/btv_uknb.asf
www.wcetv.com/asx/LIB/LIB100246_v5.asx

A few are in RealMedia format.

How can I play asf/asx (and realplayer) streams in Delphi?

Moderiert von user profile iconChristian S.: URLs korrigiert
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 25.02.08 08:18 
you have to use a DLL for that, i think.

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
DeepRed92
Hält's aus hier
Beiträge: 11



BeitragVerfasst: Di 30.12.08 10:47 
Und weiß jemand welche DLL???
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 30.12.08 11:26 
Für die Windows Media Player Streams kann man einfach das WMP Control importieren und benutzen.

Für den Real Player gibt es das vielleicht ebenfalls, das weiß ich nicht.
DeepRed92
Hält's aus hier
Beiträge: 11



BeitragVerfasst: Di 30.12.08 11:31 
Hmm mit dem wmp kenne ich mich nicht so aus...
Welche befehle gibt es dafür?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 30.12.08 11:46 
Erstmal musst du es importieren, die wichtigsten Befehle sollten selbsterklärend sein:
www.delphipages.com/...=177744&G=174073
DeepRed92
Hält's aus hier
Beiträge: 11



BeitragVerfasst: Di 30.12.08 14:56 
Ich hab es schon importiert.
Aber wie lässt sich die Wiedergabe per klick stoppen bzw starten?
Gibt es dafür eine Liste mit Befehlen wie:

setvalue("play") oder so?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 30.12.08 15:20 
Beispiel:
ausblenden Delphi-Quelltext
1:
2:
  wmp1.URL := 'http://www.globalbeats.fm/gbfm_wmp_blue.asx';
  wmp1.controls.play;
Eine Beschreibung gibts u.a. bei Microsoft:
msdn.microsoft.com/e...ibrary/bb248738.aspx
DeepRed92
Hält's aus hier
Beiträge: 11



BeitragVerfasst: Di 30.12.08 15:33 
Hey Danke. Das hat mir sehr geholfen ;)