modified so that the segment generation is done by humble video