如何使用Appengine Blobstore上传和流式传输视频 [英] How to upload and stream video using Appengine Blobstore

查看:140
本文介绍了如何使用Appengine Blobstore上传和流式传输视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Google Appengine上传和投放照片图片,但我也想对音频和视频文件进行相同处理。有谁知道有什么办法做到这一点?如果可以,请让我提供示例代码。谢谢。

解决方案

blobstore适用于任何类型的文件。它对图像没有特别的亲和力。用于图像的相同上传和下载处理程序可用于音频,视频或任何其他类型的文件。

将视频流式传输给用户需要做更多的事情你上传了什么类型的文件,以及如何将它嵌入你的网站。您可以上传FLV视频并嵌入 FLV player ,或尝试使用 HTML5视频标记。


I'm using Google Appengine to upload and serve photo images, but I would also like to do the same with audio and video files. Does anyone know any way to do this? Please let me have sample code if you can. Thanks.

解决方案

The blobstore is suitable for any kind of file. It has no special affinity for images. The same upload and download handlers you use for images can be used for audio, video, or any other type of file.

Streaming a video to a user has more to do with what kind of file you upload, and how you embed it on your website. You can upload an FLV video and embed an FLV player on your site, or try the HTML5 video tag.

这篇关于如何使用Appengine Blobstore上传和流式传输视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆