Flash视频和精准跳播
我正在将 jwplayer (http://www.longtailvideo.com/players/jw-flv-player/) 部署到网站,当您跳到新位置时,我对播放器的行为方式不是 100% 满意,您在某个位置按时间线,但它会跳到不同的位置。 (经过时间指示器)
YouTube 上也发生这种情况,尤其是较短的视频: http://www.youtube.com/watch?v=hv7ha_iCM2Y
看来这是Flash 视频存在一般问题吗?或者可以通过使用流媒体视频而不是渐进式 HTTP 播放来解决这个问题吗?
其他的事情?
I am deploying a jwplayer (http://www.longtailvideo.com/players/jw-flv-player/) to a website and I am not 100% satisfied with the way the player behaves when you skip to a new position, you press the timeline at one spot, but it skips to a different location. (the elapsed time indicator)
This is also happening on youtube, especially on shorter videos:
http://www.youtube.com/watch?v=hv7ha_iCM2Y
It seems this is a problem with flash video in general? Or can this be solved by using for instance streaming video instead of progressive HTTP playback?
Other things?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是由压缩视频时使用的称为 GOP(不,不是共和党)的东西引起的: http:// /en.wikipedia.org/wiki/Group_of_Pictures
在某些压缩方法中,编解码器将需要之前帧的信息来构造实际帧,并且只有每个第 n 帧(称为关键帧或 I 帧)才会实际上是“按原样”存储的 - 这些是您可以跳到的帧。这也意味着随着时间擦除的范围变得更加精确,它在较短的视频上变得更加明显。
This is caused by something called GOP (no, not the Republican party) which is used when compressing video: http://en.wikipedia.org/wiki/Group_of_Pictures
In some compression methods the codec will need the information of the frames before to construct the actual frame and only every n-th frame (called a keyframe or I-Frame) will actually be stored "as is" - those are the frames you can skip to. This also means that it gets more noticeable on shorter videos as the scale of the time scrubbing gets more precise.
跳过 FLV 实际上会跳到最近的视频关键帧。您可以通过使用更高的关键帧密度对视频进行编码来提高准确性,但这会增加文件大小。
Skipping in an FLV will actually skip to the nearest video keyframe. You can increase the accuracy by encoding the videos with a higher keyframe density, although this will increase the file size.