Flash Media Server (FMS) 流录制
我正在尝试使用服务器端脚本录制 FLV。它按预期工作。我正在使用 record('append') 将流添加到同一文件。我现在想做的是“实时”记录流。我想保留相同的功能(附加),但我想“记录”没有可用流的时间。换句话说,当没有可用的流时,我想以文件(FLV)结尾,其中 srtreams 由黑帧分隔。如果一个流和下一个流之间的时间是 5 分钟,我希望 FLv 以黑色播放 5 分钟。
FMS 可以做到这一点吗?
I'm trying to record a FLV, using servers-side scripting. It's working as expected. I'm using record('append') to add streams to the same file. What I want to do now is record the streams in "real-time". I want to keep the same functionality (append) but I want to "records" the time that there is no streams available. In other words, I want to ends a with a file (FLV) with the srtreams separated by black frames when there are no streams available. If the time between a stream and the next stream is 5 minutes, I want the FLv to play 5 minutes in black.
Is that possible with FMS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
制作另一个流,始终在 fms 上运行。您可以通过在 fms 机器上连接另一个客户端甚至使用“LIve 编码器”来完成此操作。
当您检测到流已关闭时,请将该流附加到您的文件中。
祝你好运
Make another stream, always running on the fms. You can do it by having another client connected on the fms machnie or even use "LIve encoder".
When you detect that your stream is off, append that stream to your file.
Good luck