[英]Feed a pre-recorded video to Azure Media services as a live stream
I wish to do something that sound to me so simple but I struggle to find a solution.我想做一些对我来说听起来很简单的事情,但我很难找到解决方案。
I have a pre-recorded video that I need to fire up by API.我有一个预先录制的视频,需要由 API 启动。 I need that video to be stream live trough RTMP.我需要该视频是 stream 通过 RTMP 直播。 Right now I do the following:现在我执行以下操作:
(All automated via code) (所有通过代码自动化)
It seam awfully complexes.它缝合非常复杂。 And I am quite worry about many issues in such a flow:我很担心这样一个流程中的许多问题:
In the end I just want to start a live stream and tell it to use a MP4 instead of waiting for a RTMP feed....最后,我只想开始直播 stream 并告诉它使用 MP4 而不是等待 RTMP 提要....
Options >选项 >
I'm pretty sure I am missing a ridiculously simple thing here.我很确定我在这里错过了一件非常简单的事情。 Any help will be so appreciated!任何帮助将不胜感激!
First to answer people questions, I had this flow run over 300 test stream, each varying form 48 hours long to short 30 min streams.首先要回答人们的问题,我让这个流程运行了 300 多个测试 stream,每个流程从 48 小时到 30 分钟的不同形式。
The failed rate was extremely high.失败率极高。
On the other hand, my normal stream performance (from a RTMP source) were incredibly stable.另一方面,我正常的 stream 性能(来自 RTMP 源)非常稳定。
So for the pre-recorded video that are delivered as a 'realtime stream' experience for all my viewers, I went in a much simple way.因此,对于为所有观众提供“实时流”体验的预先录制的视频,我采用了一种非常简单的方式。
Option 1 when I DO needed Variable Bit Rate:当我确实需要可变比特率时的选项 1:
Option 2 when I do NOT need Variable Bit Rate:当我不需要可变比特率时的选项 2:
Now I am attacking live translation for 5 languages on all VOD and RTMP... wish me luck.现在我正在攻击所有 VOD 和 RTMP 上 5 种语言的实时翻译......祝我好运。
Cheers!干杯!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.