Flash Streaming Video with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nmb
Forum Newbie
Posts: 21
Joined: Thu Jul 20, 2006 11:08 am

Flash Streaming Video with php

Post by nmb »

Hi pp!

I'm developing a webportal and i want to use Flash Streaming Video.
I have seen information about these services, but i still don't know how to set it up.

I'm using RED5 and Adobe Flash Media Server 2.. but i get play flash streaming video with php.

Can give me some addicional information or working examples?

thanks!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Additional information on what, exactly?
nmb
Forum Newbie
Posts: 21
Joined: Thu Jul 20, 2006 11:08 am

Post by nmb »

i need to know how it works. php code to stream video.
i haven't found that information yet :(

at the moment i just have installed the red5 server and the adobe flash media server.. but how can i set those to play video?

can you help?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

PHP doesn't stream the data, Adobe's server does. PHP doesn't care about Flash's streaming either.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

And why are you using RED5 and Adobe Flash Media Server 2? Don't they both stream Flash video? All you need is one of them and a FLV player.
(#10850)
nmb
Forum Newbie
Posts: 21
Joined: Thu Jul 20, 2006 11:08 am

Post by nmb »

hum.. i understand. thats why i don't find any info.

so.. if i have those servers installed, how can i play streaming flash video in a web page?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Tell your FLV player to load file xyz from the server via the page's HTML, Javascript, pies falling from the heavens...
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post by jeffery »

I think you need to read up on what available documentation is here: http://osflash.org/tutorials
nmb
Forum Newbie
Posts: 21
Joined: Thu Jul 20, 2006 11:08 am

Post by nmb »

arborint wrote:And why are you using RED5 and Adobe Flash Media Server 2? Don't they both stream Flash video? All you need is one of them and a FLV player.
yes.. i'm using both for testing only., to see the direfence of a opensource and licenced software..

the problem is that i can't made this work.. i have the service running, but how can i request a flash video from those? what code need to use?

thanks
nmb
Forum Newbie
Posts: 21
Joined: Thu Jul 20, 2006 11:08 am

Post by nmb »

jeffery wrote:I think you need to read up on what available documentation is here: http://osflash.org/tutorials
i will check the that documentation again! .. let me see what i miss.. ;)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

nmb wrote:yes.. i'm using both for testing only., to see the direfence of a opensource and licenced software..
It would be great to hear your thoughts after using both. I am sure many members would be interested -- including me.
nmb wrote:the problem is that i can't made this work.. i have the service running, but how can i request a flash video from those? what code need to use?
You just need to specify the protocol (HTTP, RTMP) and probably a port in the URL. There should be examples with the servers. If you are streaming a SWF file then you just need to embed it in a HTML page. For FLV you need to embed a player.
(#10850)
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

feyd wrote:Tell your FLV player to load file xyz from the server via the page's HTML, Javascript, pies falling from the heavens...
I want to work where you work. Mmm pie.
Post Reply