Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ASVGuy.com:
Streaming Flash Video via PHP
Nov 03, 2005 @ 11:53:00

From the ASVGuy::SWFBLog today, there's this new post that talks about streaming Flash video via PHP.

You can 'stream' FLVs or you can use 'progressive download'. Not many of us use 'streaming' because you need a streaming media server software for this, like Macromedia Flash Communication Server or Flash Media Server, and this has a considerable cost.

Now it's possible to stream a FLV using a simple PHP script and FLVMDI injected data. Flashcomguru has a great post and sample code in his blog titled: 'Streaming' flv video via PHP, take two.

It's actually a pretty slick method for doing this - dynamically adding keyframe times/file positions to the metadata for the file, and the PHP script adjusts accordingly and feeds another new header to the file - voila, "streaming"...

tagged:

Link:


Trending Topics: