伪流式MP4文件 [英] Pseudo Streaming an MP4 file

查看:244
本文介绍了伪流式MP4文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于MP4文件的伪流传输,我有几个问题.

I have a few questions regarding pseudo streaming an MP4 file.

  1. 是否下载了整个文件,例如.如果我在2分钟的视频中擦洗1分钟,是否只会下载后半部分,从而节省带宽?

  1. Is the entire file downloaded, eg. if I scrub 1 minute in to a 2 minute video, will only the second half be downloaded thus saving bandwidth?

我是否可以使用Chrome开发者工具进行检查?

Is there anyway I can check this using Chrome dev tools?

我将如何创建可用于伪流式传输的MP4?我已经读过元数据需要放在文件的开头,我该怎么做?有推荐的软件吗?

How would I go about creating a MP4 that's ready for pseudo streaming? I've read the meta data needs to be at the start of the file, how can I do this? Is there any recommended software?

推荐答案

1)整个文件未下载.

1) The entire file is not downloaded.

2)您将能够通过网络"面板检查何时请求文件,以查看是否已设置启动请求.

2) You will be able to check when the file is requested via the Network panel to see if the start requests are being set.

3)只需确保使用HandBrake进行编码,使用默认设置并进行网络优化即可. - http://handbrake.fr/,或者,如果您已经拥有MP4并只需要移动元数据,则可以使用此工具二手- http://renaun.com/blog/2010/06/qtindexswapper-2/

3) Just make sure to encode using HandBrake, use the default settings and web optimized. - http://handbrake.fr/, alternatively, if you have an MP4 already and just need to move the meta data, this tool can be used - http://renaun.com/blog/2010/06/qtindexswapper-2/

最后,您需要确保为Web服务器实际安装了mp4伪流模块,并在JW Player嵌入代码中设置startparam值,该值可以是start,startime或apstart,具体取决于您的Web服务器配置.我们在此处提供有关此内容的指南- http://support.jwplayer.com/customer/portal/articles/1430518-pseudo-streaming-in-flash

Finally, you need to make sure that you actually install the mp4 pseudo streaming module for your web server, and in your JW Player embed code, set a startparam value, which is either start, startime, or apstart, depending on your web server configuration. We have a guide about this here - http://support.jwplayer.com/customer/portal/articles/1430518-pseudo-streaming-in-flash

请记住,如果您使用的是html5,则不需要伪流模块,因为html5已经做到了,而伪流模块实际上仅适用于Flash.

Keep in mind, if you are using html5 , the pseudo streaming module is not needed, as html5 already does this, and the pseudo streaming module is really only for Flash.

这篇关于伪流式MP4文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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