NetStream.seek()的MP4到准确的位置不是关键帧 [英] NetStream.seek() for mp4 to exact position not keyframe

查看:1253
本文介绍了NetStream.seek()的MP4到准确的位置不是关键帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎征求()上的MP4文件旨在为最接近的关键帧(seekpoint)。是否有可能寻求确切位置在关键帧之间?

It seems seek() on mp4 file seeks to the closest keyframe (seekpoint). Is it possible to seek to exact position in between of keyframes?

谢谢!

推荐答案

它实际是求最近的关键帧。如果你希望能够寻求到流的更具体的部分,你需要添加更多的关键帧。当然,更多的关键帧通常产生较大的文件大小。祝你好运!

It does in fact seek to the nearest key frame. If you want to be able to seek to more specific parts of the stream you'll need to add more key frames. Of course more key frames usually results in larger file size. Good luck!

这篇关于NetStream.seek()的MP4到准确的位置不是关键帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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