Working on a chunked video can result in a broken frame index the option -vsync 1 can heal that