使用 FMS4 混合两个流并将它们保存为 FLV
我正在尝试弄清楚如何使用 Flash Media Server 4 将两个 NetStream 对象混合到一个 FLV 文件中。保存一个流不是问题,但我有两个并发流(一个是来自麦克风对象的纯音频,第二个是 Camera+)麦克风),我想使用 NetStream.publish(streamName, 'record') 将它们保存为单个 FLV。
这将是一种实时聊天,但只有一个视频。
I'm trying to figure out how can I mix two NetStream objects into one FLV file using Flash Media Server 4. Saving one stream isn't problem but I have two concurrent streams (one is pure audio from Microphone object and second is Camera+Microphone) and I want to save them as single FLV using NetStream.publish(streamName, 'record').
It will be kind of live chat but only with one video.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确实如此,用 FMS 是不可能的,但是用 FFMPEG 可以做到,或者更简单的方法,将其保存到两个不同的 .flv 文件,然后同时播放它们。
希望这有帮助。
R,
塔马斯·格罗纳斯
That's true, it is not possible with FMS, but can do it with FFMPEG, or a more simple way, save it to two different .flv files, and play back both of them at the same time.
Hope this helps.
R,
Tamas Gronas
据我所知,这是不可能的。您必须在客户端将其编码为单个 NetStream,尝试将音频合并在一起(但我不知道如何)。
Flash Media Server 4 无法对任何内容进行编码。 [1]
http://forums.adobe.com/community/flash/flash_media_server
As far as I know, this is not possible. You would have to encode it into single NetStream on the client side, try merging audio together (but I don't know how).
Flash Media Server 4 cannot encode anything. [1]
http://forums.adobe.com/community/flash/flash_media_server