[cmyth] Functions to handle posmap and keyframe