如何使用 flex3 将音频网络流和视频网络流合并到一个重新发布的网络流中?
我有两个网络流:
- 在red5中发布的音频
- 也在red5中发布
现在我是一个flex3应用程序,我需要一种方法能够将流1的音频和流2的视频附加到新的网络流并发布它。
我该怎么做? NetStream 只允许我连接摄像头或麦克风...
I have two netstreams:
- audio published in red5
- video also published in red5
Now I'm a flex3 application and I need a way to be able to attach the audio of stream 1, and the video of stream 2 to a new netstream and just publish it.
How do I do that? NetStream will only allow me to attach Camera or Microphone...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的朋友,我认为你可以使用 FFMPEG 命令将两个流合并为一个。但它们的压缩可能是一个问题。
如果您分别录制了两个流,则可以借助以下命令在 AS3 中播放它们
Netstream 类,但请记住音频始终是第一位的。
my friend I think you can merge both stream in one with FFMPEG command. But their compression mighg be an problem.
If you have record two stream separately than you can play them both in AS3 with the help of
Netstream class but remember Audio always comes first.
这里有两个链接..可以帮助您捕获屏幕
AIR 2.0 Native Process - http://gotoandlearn.com/ 提到的第 1 部分
,第二部分用于音频/视频录制
http://www.adobe.com/devnet/air/flex/articles /air_screenrecording.html
我已经处理了链接和捕获的屏幕以及来自耳机的音频,然后将其与 FFMPEG 合并。
Well here are two links.. that may help you capture your screen
AIR 2.0 Native Process - Part 1 mentioned at http://gotoandlearn.com/
and second is for audio/video recording
http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html
i have worked on both linked and captured screen and audio from headphone and then merged it with FFMPEG ..