artvolk
artvolk

Reputation: 9518

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

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!

Upvotes: 0

Views: 2666

Answers (1)

heavilyinvolved
heavilyinvolved

Reputation: 1575

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!

Upvotes: 1

Related Questions