如何直接在服务器上录制视频而不要求用户上传

发布于 2024-09-14 18:13:26 字数 349 浏览 4 评论 0原文

我希望用户直接在线录制并保存,而不是要求用户上传视频文件。就像他的网络摄像头打开一样 - 他访问网站,单击记录按钮 - 记录他的消息并单击完成 - 视频保存在我的服务器上。

就像 YouTube 上描述的那样: http://www.google.com/ support/youtube/bin/answer.py?hl=en&answer=57409

执行此操作有多困难或容易。任何提示、示例、想法 谢谢

Instead of asking user to upload a video file - I want the user to directly record online and save it. Like with his webcam on - he visits the website, clicks on the record button - records his message and clicks done - the video is saved on my server.

Something like what is described for youtube here:
http://www.google.com/support/youtube/bin/answer.py?hl=en&answer=57409

How difficult or easy is it to do this. Any tips, examples, ideas
thanks

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

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

发布评论

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

评论(4

笛声青案梦长安 2024-09-21 18:13:26

YouTube 使用 Flash 小程序来完成此操作。

YouTube uses a Flash applet to do it.

不弃不离 2024-09-21 18:13:26

您需要一个 Java 小程序来在客户端录制视频,一旦整个视频录制完毕,将其作为普通文件发布到您的脚本 URL 上,然后您可以将其作为普通文件上传进行处理。我使用类似的技术使用 Java Sound API 来录制音频。你可以google一下,你会发现一个开源小程序。

You would need a Java applet that would record the video on client-side and once the whole video is recorded post it on your script url as a normal file, you would then process it as a normal file upload. I used a similar technique for recording audio using Java Sound API. You can google and you will find an opensource applet.

∝单色的世界 2024-09-21 18:13:26

你不能用直接的 html 来做到这一点。

您可以使用任何允许您访问摄像机并从中进行记录的客户端技术。这包括 java applet、flash 或 silverlight。

You can't do it in straight html.

You can use any client side technology that allows you to get access to the camera and record from it. This includes a java applet, flash, or silverlight.

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