弹性4> Spark.components.VideoPlayer >如何切换码率?
VideoPlayer(也可能是 VideoDisplay)组件能够以某种方式自动在给定的列表中选择最佳质量的视频。示例如下:
我找不到以下问题的答案。
假设流式传输录制视频的服务器能够在具有不同比特率的相同视频之间进行切换,并从其时间线内的任何点进行流式传输:
此组件内的带宽测试/计算是否仅在视频开始播放之前完成,在它在哪一点选择最好的视频源并且从不使用其他视频源?或者,它是否连续或定期执行其带宽测试,并在播放过程中相应地在视频源之间切换?
它是否支持通过代码设置视频源,并且可以关闭视频源之间的自动切换(如果我想以某些按钮/下拉列表或类似的形式向用户提供此功能)?我知道可以设置首选视频源,但这仅意味着将首先测试/尝试该视频源。
除了Adobe提供的媒体服务器之外,该组件还可以使用哪些媒体服务器来实现同一视频不同质量之间的自动和手动切换?
显然,我想创建一个足够智能的播放器,可以在不同质量的视频之间自动切换,并且支持与播放哪个源相关的手动指令 - 都不会中断播放,或者至少不会重新启动它(次要)中断是可以接受的)。此外,在缓冲了足够的数据之后(当然),播放需要能够在视频中的任何给定点开始,但最重要的是,我希望能够在缓冲之外开始播放。如果有人知道的话,关于快进的一两个注释不会有什么坏处。
感谢您抽出时间。
The VideoPlayer (possibly VideoDisplay also) component is capable of somehow automatically picking the best quality video on the list it's given. An example is here:
I cannot find the answers to below questions.
Assuming that the server that streams recorded videos is capable of switching across same videos with different bit rates and streaming them from any point within their timelines:
Is the bandwidth test/calculation within this component only done before the video starts playing, at which point it picks the best video source and never uses the other ones? Or, does it continuously or periodically execute its bandwidth tests and does it accordingly switch between video sources during the playback?
Does it support setting the video source through code and can its automatic switching between video sources be turned off (in case I want to provide this functionality to the user in the form of some button/dropdown or similar)? I know that the preferred video source can be set, but this only means that that video source will be tested/attempted first.
What other media servers can be used with this component, besides the one provided by Adobe, to achieve automated and manual switching between different quality of same video?
Obviously, I'd like to create a player that is smart enough to automatically switch between different quality of videos, and that will support manual instructions related to which source to play - both without interrupting the playback, or at least without restarting it (minor interruptions acceptable). Also, the playback needs to be able to start at any given point within the video, after enough data has been buffered (of course), but most importantly, I want to be able to start the playback beyond what's buffered. A note or two about fast-forwarding is not going to hurt, if anyone knows anything.
Thank you for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论