简体   繁体   English

Flash - 从用户的网络摄像头录制

[英]Flash - recording from user's webcam

I've seen a few sites that have a flash app which takes video from the users webcam and manipulates it. 我见过一些网站有一个Flash应用程序,它从用户网络摄像头获取视频并进行操作。 One example is the flash barcode reader http://www.renaun.com/flex2/BarcodeReader/BarcodeReader.html . 一个例子是闪存条形码阅读器http://www.renaun.com/flex2/BarcodeReader/BarcodeReader.html

I want users to be able to submit 10-15 second clips which I can save to my server and then play back later via flash again. 我希望用户能够提交10-15秒的剪辑,我可以将其保存到我的服务器,然后再通过闪存播放。

Can you link to some example projects for this, or tell me what sections of which manuals I should be looking at? 你可以为此链接到一些示例项目,或者告诉我应该查看哪些手册?

-Adam -亚当

Try the Red5 RTMP server (Java) and Red5-Recorder for recording and playback. 尝试使用Red5 RTMP服务器 (Java)和Red5-Recorder进行录制和播放。 Demo here: http://www.red5-recorder.com/demo.php 在这里演示: http//www.red5-recorder.com/demo.php

(Both free) (两个免费)

You can do it without any flash servers or Red5. 你可以在没有任何闪存服务器或Red5的情况下完成。 Check on the net for some flash and action script books, because on the forums or google you can't find good tutorials about it. 在网上查看一些flash和动作脚本书籍,因为在论坛或谷歌上你找不到关于它的好教程。

There are several articles with sample code for this on adobes site. 在adobes网站上有几篇包含此示例代码的文章。 I would recommend you to go through this tutorial as it will guide you through all the necessary steps along with sample code: 我建议您阅读本教程,因为它将指导您完成所有必要步骤以及示例代码:

http://www.adobe.com/devnet/flash/articles/webcam_motion.html http://www.adobe.com/devnet/flash/articles/webcam_motion.html

What you need is Adobe Flash Media Interactive Server 3 . 您需要的是Adobe Flash Media Interactive Server 3 Just download it and take a look at "sample_guestbook" sample application. 只需下载它并查看“sample_guestbook”示例应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM