Flash Media Server (FMS) 流录制

发布于 2024-09-27 12:28:14 字数 221 浏览 1 评论 0原文

我正在尝试使用服务器端脚本录制 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心凉怎暖 2024-10-04 12:28:14

制作另一个流,始终在 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文