在部分中流式传输视频 [英] Streaming Video in Parts

查看:218
本文介绍了在部分中流式传输视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于如何在部分流式传输大型视频的问题。假设我有一个1G大的视频,我想分成10个相等的部分(每个约100MB)。现在我要做的是拥有一个视频播放器(最好是HTML5 / JS而不是Flash播放器),从头到尾播放这10个视频,中间没有任何明显的差距。

I have a question about how I can stream a large video in parts. Lets say I have a video that is 1G large and I want to break into 10 equal parts (~100MB each). Now what I want to do is have a video player (preferably HTML5 /JS and not a Flash Player) that plays these 10 videos from start to finish without any noticeable gaps in-between.

这样做的目的是确保在用户不观看整个视频时不会下载整个视频。

The purpose of this is to to make sure that the entire video is NOT being downloaded in cases when user isn't watching the entire video.

这是一场毫无意义的运动?
您是否通过考虑此实施来节省带宽?
有这样的解决方案吗?

Is this a pointless exercise? Do you actually save bandwidth by considering this implementation? Are there solutions like this already?

谢谢!

推荐答案

如上面的评论所述,所描述的视频消费方式称为自适应流媒体。在这种情况下有几种类似的技术,如MPEG-DASH,HLS,Smooth Streaming,......在视频流行业中可以看到向MPEG-DASH的转变 - 例如Youtube和Netflix等平台正在使用DASH。

As mentioned in the comments above, the described way of consuming videos is called adaptive streaming. There are several similar technologies in this context available, like MPEG-DASH, HLS, Smooth Streaming,... Where one can see a shift towards MPEG-DASH within the video streaming industry - platforms like Youtube and Netflix are using DASH for instance.

你可以找到几个不同的编码器和播放器供应商,比如 Wowza Bitmovin 等等。可以找到熟悉自适应流媒体的良好起点这里这里

You can find several different vendors for encoding as well as players, like Wowza, Bitmovin, and many more. A good starting point to get familiar with adaptive streaming can be found here and here.

这篇关于在部分中流式传输视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆