如何在流媒体中播放 flv
我需要在 php/apache2/mysql CMS 上构建的网站中以流式传输方式播放 flv。 我非常喜欢 http://www.visionstreetwear.com 网站,并且我想在 flv 中使用此布局作为标题。
I need to play an flv in streaming in a website build on a php/apache2/mysql CMS.
I like a lot http://www.visionstreetwear.com website and i would like to use this layout with a flv as header.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信如果不向托管提供商支付流媒体服务费用,您就无法进行“真正的”Flash 视频流。
如果没有,您也可以对 flv 文件进行“渐进式流式传输”。请参阅 Adobe 网站上的这篇文章,了解如何创建可执行此操作的 Flash 文件。
http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSCF589773-11F1-4bc4-AE7C-6C2507601A98.html#WS740DCAFD-531F-4674-9741-F518EEC90EC8
我之前所做的是创建一个用作视频容器的 swf 文件,其中包含一些用于播放外部视频文件的动作脚本,将视频存储在 Web 服务器上,然后提供外部数据来告诉 swf 要播放哪个电影文件以及电影文件所在的位置。
I believe you can't do 'true' flash video streaming without paying for streaming service from the hosting provider.
If you don't have that, you can alternatively do 'progressive streaming' of the flv file. See this article on Adobe website about how to create flash file that can do it.
http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSCF589773-11F1-4bc4-AE7C-6C2507601A98.html#WS740DCAFD-531F-4674-9741-F518EEC90EC8
What I have done before, is to create a swf file that works as a container for video which contains some actionscript to play external video file, store video on the web server, then feed external data to tell swf which movie file to play and where the movie file is located.
如果您需要真正的流媒体,您可以查看 red5 (http://red5.org/)。
如果你只是想播放 flv,也许你可以看看 flowplayer 作为基础?
祝你好运!
You could look at red5 (http://red5.org/) if you need real streaming.
If you just want to play a flv, maybe you could look at flowplayer as a base?
Good luck!