Dynamic key-frame extraction for video summarization