Media Player and support for multicast (RTSP and MMS)

Everything else that doesn't fall into one of the other PB categories.
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Media Player and support for multicast (RTSP and MMS)

Post by techjunkie »

Hi!

Is it possible to use PureBasic with standard PB commands to recieve multicast streams (RTSP and MMS)? If not, is there any userlib you can use?

Thanks!
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
zikitrake
Addict
Addict
Posts: 834
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

any sample?? :(
Num3
PureBasic Expert
PureBasic Expert
Posts: 2810
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

In theory the movie commands might do it!

Because the use windows media stuff...
zikitrake
Addict
Addict
Posts: 834
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

Num3 wrote:In theory the movie commands might do it!

Because the use windows media stuff...
Theoretically yes. ... in practice, not :cry:
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1252
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

Streams Windows Media Video quite well.
The help file should mention you can use web address in place of a filename on harddrive.

Code: Select all

InitMovie()
If OpenWindow(0,0,0,320,240,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"")
  LoadMovie(0,"http://www.gokenora.com/video/fish1.wmv")
  PlayMovie(0,WindowID(0))
  Repeat
  Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf
Image Image
zikitrake
Addict
Addict
Posts: 834
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

Paul, thank you. Your code works ok... but I'm seeking some form to do that this code works :S

Code: Select all

InitMovie() 
If OpenWindow(0,0,0,320,240,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"") 
  LoadMovie(0,"mms://media2.bloomberg.com/btv_gernb.asf") 
  PlayMovie(0,WindowID(0)) 
  Repeat 
  Until WaitWindowEvent()=#PB_Event_CloseWindow 
EndIf
Bye!
europa81
User
User
Posts: 24
Joined: Tue Oct 20, 2015 11:42 pm
Location: Southern Germany

Re: Stream

Post by europa81 »

zikitrake wrote:Paul, thank you. Your code works ok... but I'm seeking some form to do that this code works :S

Code: Select all

InitMovie() 
If OpenWindow(0,0,0,320,240,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"") 
  LoadMovie(0,"mms://media2.bloomberg.com/btv_gernb.asf") 
  PlayMovie(0,WindowID(0)) 
  Repeat 
  Until WaitWindowEvent()=#PB_Event_CloseWindow 
EndIf
Bye!
has there ever been found a solution to this problem ? Any help would be appreciated.
Post Reply