start to iterate over the jpegs for creating a webvtt file