NetStream.seek() for mp4 to exact position not keyframe

眉间皱痕 提交于 2019-12-24 18:56:57

问题


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

Thanks!


回答1:


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!



来源:https://stackoverflow.com/questions/3338795/netstream-seek-for-mp4-to-exact-position-not-keyframe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!