关于我网站上视频加载速度的问题

发布于 2024-09-06 11:15:13 字数 380 浏览 13 评论 0原文

目前,我的网站上嵌入了一个 mp4 视频,并且我正在使用名为 FlowPlayer 的 Flash 视频播放器来播放该视频。您可以在此处观看视频:http://www.verolinens.com

视频文件大约有 14mb 大,我希望它更大以提高视频质量。然而,我还需要播放流畅,没有任何中断或暂停。有没有办法让这成为可能?我可以制作一个可以无缝播放、没有任何停顿的高质量视频吗?

和我使用的flash播放器(flowplayer)有什么关系吗?对于这种类型的事情有更好的选择吗?

任何有关此事的建议或指导将不胜感激。

谢谢,

德文

I currently have an mp4 video embedded on my website, and I am using a flash video player called FlowPlayer to play the video. You can see the video here: http://www.verolinens.com.

The video file is about 14mb big, and I would like it to be even bigger to improve the video quality. However, I also need the playback to be smooth and without any breaks or pauses. Is there any way to make this possible? Can I have a high quality video that will play back seamlessly without any pauses?

Does it have anything to do with the flash player (flowplayer) that I am using? Is there a better alternative out there for this type of thing?

Any advice or direction on the matter would be greatly appreciated.

Thanks,

Devin

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

幽蝶幻影 2024-09-13 11:15:13

当您流式传输视频时,您必须假设最低连接速度。不是某人到家的速度,而是他们从流式传输视频文件的服务器获得的实际 K/s。

一旦您知道了这一点,您就可以通过在编码时指定最大 kbps 来近似确定视频的大小(甚至只需将最小速度乘以长度即可获得最大大小。)

请注意,速度会出现波动,并且某些服务器已配置(如果您通过 http 进行流式传输)以降低特定大小/时间长度内的传输速度)。

我不了解 flowplayer,所以我无法直接与它对话,但如果您可以控制缓冲区大小,这是让视频在较长时间内良好播放的好方法。这是缓冲区长度和视频长度之间的良好平衡,但是当我编写自己的流媒体播放器时,我会比较文件的长度和比特率的平均下载速度,以确保我有足够的下载量当整个文件在本地缓存时,视频的播放率只能达到 90%。

请注意,如果您使用流媒体服务器,它将从文件中间进行流式传输,并且上述内容仅与何时开始播放文件有关。

When you're streaming video, you have to make an assumption about your minimum connection speed. Not the speed someone has to their house, but the actual K/s they're getting from the server streaming your video file.

Once you know that, you can approximately taylor the size of the video by specifying the max kbps when encoding it (or even just multiply minimum speed by length to get max size.)

Note there will be fluctuations on speed, and some servers are configured (if you're streaming over http) to reduce the speed of a transfer over a certain size/length of time).

I don't know flowplayer, so I can't speak to it directly, but if you can control your buffer size, that's a good way of getting the video to play well over longer periods of time. It's a fine balance between buffer length and video length, but when I've written my own streaming players I'd compare the average download speed I'm getting to the length and bitrate of the file to make sure I had enough downloaded that I'd only be 90% throught the video when the entire file was locally cached.

Note, if you're using a streaming media server, it will stream from the middle of files and the above is only relevant to when to start playing a file.

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