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!
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!
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!
I have used the following properties in the meta data handler for finding the keyframes, but returned nothing:
var kfPoints:Object; for (var propName:String in metaInfoObj) { if (propName == "keyframes") { trace ("Keyframes received"); var kfObject:Object = metaInfoObj[propName]; kfPoints = kfObject["times"]; } }
How can I find keyframes in an mp4 file transcoded with an H264 codec?