创建一个直播网站

发布于 2024-10-30 01:35:26 字数 140 浏览 0 评论 0原文

我们的网络应用程序已经具有视频上传功能[使用 python 和 Django 框架构建]。现在我们正在建立一个直播网站,人们可以使用他们的网络摄像头记录现场活动,并同时向不同的参与者直播。

我想知道是否有人知道如何构建这样的功能或任何真正有用的指针。

We already have a functionality of Video uploading in our webapplication[built using python with Django framework]. Now we are in the process of building a livestream site where people are able to use their webcam to record the live event and it's live streamed to different participants at the sametime.

I am wondering if somebody has any idea of how to go about building a functionality like this or any pointers that would be really helpful.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

初吻给了烟 2024-11-06 01:35:26

我不久前研究过同样的问题。主要的解决方案似乎是 Adobe Flash Media Server。当然它是闭源的并且相当昂贵。有公司将其作为服务运行,从而降低了进入成本。还有一些开源竞争者,主要的一个是 Red5,当然,它也依赖于 Flash 在客户端。

将来我们可能会看到可行的 HTML5 替代方案,但如果您现在正在做某事,我的感觉是 Flash 路线是最简单的解决方案,并且拥有最大的安装基础。

I sort of looked into this same question a while ago. The dominant solution seems to be Adobes Flash Media Server. It is closed source of course and quite pricey. There are companies who run it as a service, lowering the cost of entry. And there are open source contenders, the main one being Red5, which of course also relies on flash being available on the client side.

In the future we'll probably see viable HTML5 alternatives but if you're doing something right now my feeling is that the flash route is the simplest solution and has the largest install base.

吻风 2024-11-06 01:35:26

我用python做了一个vlc视频录制,非常简单。 VLC 有一个流记录器,据我所知,您可以使用管理视频和流的简单 python 代码启动 vlc 流。我认为您所需要的只是管理源,然后编写一个负责 vlc 流的小脚本。

VLC 流将在不同的端口上启动,所以我认为你必须搜索一个好的服务器。

请参阅 vlc 文档:
https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/

享受: )

I did a video vlc record with python and it was quite simple. VLC have a stream recorder and as I know you could launch a vlc stream with a simple python code who manage the video ans the stream. I think all you need is to manage the sources and then, doing a small script who takes care about the vlc stream.

VLC stream will be launch on a different port, so I think you've to search a good server.

see vlc docs :
https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/

Enjoy :)

丶情人眼里出诗心の 2024-11-06 01:35:26

检查VLCFlumotion...
可能还有Photolab..
后一个不支持音频...
哎呀

Check VLC or Flumotion...
Probably Photolab as well..
The latter one doesn't support audio...
Gee

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文