Then for each line i of the story, the module takes as
input the number of available frames (ni), the number of required frames (Ni) and all extracted frames (Fi,j) from DBFR Fij signifies that j number of frames are extracted for ith line of the story.