Python CMS 创建类似 youtube 的视频网站?
有谁知道用 python 编写的开源 CMS,我可以用它来制作像 YouTube 这样的网站?
Is anyone aware of a open source CMS written in python using which I can make a site like YouTube?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
Django 是一个很好的 Python 框架,CherryPy 和 Pylons。然而,框架并不是 CMS。
开源视频 CMS 将是:Media Core
以下是有关 YouTube 构建方式的一些信息:(
来源:Google Video)
平台:
Web 服务器:
视频服务:
成本包括带宽、硬件和功耗。
每个视频都由一个迷你集群托管。每个视频都由多个机器提供。
使用aa集群意味着:
服务器使用lighttpd Web服务器进行视频:
最受欢迎的内容被转移到 CDN(内容分发网络):
不太受欢迎的内容(每天 1-20 次观看)使用各个托管网站中的 YouTube 服务器。
提供视频要点:
服务缩略图:
数据库:
数据中心策略
Django is a good Python Framework, as well as CherryPy and Pylons. However, a framework is not a CMS.
An open source video CMS would be: Media Core
Here is some info about how YouTube is build:
(source: Google Video)
Platform:
Webservers:
Video serving:
Costs include bandwidth, hardware, and power consumption.
Each video hosted by a mini-cluster. Each video is served by more than one machine.
Using a a cluster means:
Servers use the lighttpd web server for video:
Most popular content is moved to a CDN (content delivery network):
Less popular content (1-20 views per day) uses YouTube servers in various colo sites.
Serving Video Key Points:
Serving Thumbnails:
Databases:
Data Center Strategy
您还可以查看基于 Plone 的 http://plumi.org。
You can also check out http://plumi.org, based on Plone.
您可能也想看看 zencoder 的视频编码......
You might want to tak ea look at zencoder for video encoding too.....
MediaCore好用吗?
http://getmediacore.com/
“开源视频 CMS,可集中您所有的视频和播客需求”
MediaCore any good?
http://getmediacore.com/
"The open source video CMS for centralizing all of your video and podcasting needs"
尽管不是 CMS,Django 可能非常有用。
Even though is not a CMS, Django could be very useful.
Django 和 Pylons 是两个最流行的 Python 框架,可让您快速构建自己的 CMS 和 YouTube 等视频托管网站。
姜戈
http://www.djangoproject.com/
塔架
http://pylonshq.com/
制作自己的网站而不是依赖 CMS 确实是您最好的选择因为您必须弄清楚许多其他事情,例如如何将上传的视频转换为 FLV,这不属于核心 CMS 功能的一部分。还有很多其他考虑因素,例如利用云 CDN 来交付视频内容,而在我能想到的任何框架中,这些内容都不是开箱即用的,即使是用不同语言编写的框架也是如此。
Django and Pylons are the two most popular Python frameworks that will allow you to rapidly build your own CMS and youtube like video hosting site.
Django
http://www.djangoproject.com/
Pylons
http://pylonshq.com/
Making your own site instead of relying on a CMS is really going to be your best bet because you will have to figure out a lot of other things like how to convert the uploaded video to FLV that won't a part of the core CMS functionality. There are a lot of other considerations like leveraging a cloud CDN to deliver your video content that just doesn't exist out of the box in any framework that I can think of, even those written in different languages.