开发者

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

开发者 https://www.devze.com 2023-01-09 12:07 出处:网络
It seems see开发者_JAVA技巧k() on mp4 file seeks to the closest keyframe (seekpoint). Is it possible to seek to exact position in between of keyframes?

It seems see开发者_JAVA技巧k() on mp4 file seeks to the closest keyframe (seekpoint). Is it possible to seek to exact position in between of keyframes?

Thanks!


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号