用于网络摄像头视频捕获的 Red5 录像机和服务器的简单替代品? [英] Simple alternatives to Red5 recorder and server for webcam video capture?

查看:40
本文介绍了用于网络摄像头视频捕获的 Red5 录像机和服务器的简单替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个 Flash 脚本/库来从网络摄像头捕获视频和音频,然后以某种方式将保存的 flv 保存到我的编码服务器.我不是在寻找可以为我托管视频的东西.我只需要一些简单的东西来捕捉然后上传.我真的希望它是开源且免费的.

I'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free.

我进行了大量搜索,似乎我能找到的大部分内容要么是带有托管功能的完整服务,要么是红色 5 套件.我已经尝试了一天来使用 Red5 进行一些操作,但老实说,我已经 6 年多没有做过任何 Flash 或 Java 开发了,这似乎太复杂了,而我真正想要的只是一个我可以坚持的 Flash 对象在网页上.

I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going on with Red5, but honestly I haven't done any flash or java development in over 6 years and this seems way too complicated when all i really want is a flash object i can stick on a webpage.

我已经搜索了 google 和 github,并且对缺乏简单的选项感到非常惊讶.我错过了一些明显的东西吗?谢谢.

I've search google and github and am really surprised by the lack of simple options. Am I missing something obvious? Thanks.

推荐答案

我最终选择了 Red 5 服务器和 red5recorder.让一切正常工作很棘手,但这里是我所做的概述:

I ended up going with Red 5 server and red5recorder. It was tricky to get everything working properly, but here's an overview of what I did:

  1. 查看 red5 版本 0.9.1(我无法使用 red5recorder 获得最新版本).蚂蚁准备;蚂蚁清洁区.
  2. 下载 red5recorder 的最新源.
  3. 安装 Eclipse Ganymede Sr2 (3.4.2) 企业版(适用于 red5 插件和 flash builder 插件的最新版本).
  4. 根据http://wiki.red5.org/wiki/Red5Plugin
  5. 安装red5插件
  6. 将 Adob​​e Flash Builder 4 插件安装到 eclipse-install-dir/flash-builder 中,并在 eclipse-install-dir 中针对 eclipse 构建它
  7. 创建一个新的动态 Web 项目.我将其命名为 Red5Server.选择一个新的目标运行时 -> Infared |Red5 服务器.以 red5 结帐中的 dist 目录为目标.所以对我来说:

  1. Check out red5 version 0.9.1 (I couldn't get the latest version working with red5recorder). ant prepare; ant clean dist.
  2. Download the latest source for red5recorder.
  3. Install Eclipse Ganymede Sr2 (3.4.2) Enterprise Edition (the latest version that works with both the red5 plugin and the flash builder plugin).
  4. Install the red5 plugin according to http://wiki.red5.org/wiki/Red5Plugin
  5. Install the Adobe Flash Builder 4 plugin into eclipse-install-dir/flash-builder and built it against the eclipse in eclipse-install-dir
  6. Create a New Dynamic Web Project. I named it Red5Server. Select a New Target Runtime -> Infared | Red5 Server. Target the dist directory in the red5 checkout. so for me:

  • 自动部署目录:/Users/julia/code/red5-0.9.1.svn/dist/webapps/
  • 启动脚本:/Users/julia/code/red5-0.9.1.svn/dist/red5-debug.sh
  • 停止脚本:/Users/julia/code/red5-0.9.1.svn/dist/red5-shutdown.sh

导入 Flash Builder 项目 - red5recorder

Import Flash Builder Project - red5recorder

现在,red5recorder 真的开箱即用了.它需要大量的调整才能让它按照它所说的去做,一旦我感觉更舒服,我最终完全重构它来做我想做的事.

Now, red5recorder is really broken out of the box. It required quite a bit of tweaking to get it to do what it says it will, and once I was more comfortable, I ended up refactoring it altogether to do what I wanted.

这篇关于用于网络摄像头视频捕获的 Red5 录像机和服务器的简单替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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