html前台能取出视频的某一帧嘛,javascript – 我可以获取HTML5视频中当前帧的编号吗?...

我认为您可以使用以下API用于基于Webkit / Mozilla的浏览器:

Mozilla已经在Firefox中实现了以下统计数据:

mozParsedFrames - number of frames that have been demuxed and extracted out of the media.

mozDecodedFrames - number of frames that have been decoded - converted into YCbCr.

mozPresentedFrames - number of frames that have been presented to the rendering pipeline for rendering - were "set as the current image".

mozPaintedFrames - number of frames which were presented to the rendering pipeline and ended up being painted on the screen. Note that if the video is not on screen (e.g. in another tab or scrolled off screen), this counter will not increase.

mozFrameDelay - the time delay between presenting the last frame and it being painted on screen (approximately).

Mozilla也正在研究这里列出的一些统计数据.

Webkit实现了这些:

webkitAudioBytesDecoded - number of audio bytes that have been decoded.

webkitVideoBytesDecoded - number of video bytes that have been decoded.

webkitDecodedFrames - number of frames that have been demuxed and extracted out of the media.

webkitDroppedFrames - number of frames that were decoded but not displayed due to performance issues.

我还在调查关于IE9的决议……

参考文献:http://wiki.whatwg.org/wiki/Video_Metrics

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值