Loop does not work, if the in or out frame is not set to the first and last frame of the input video.