Isolate ffmpeg stderr parsing from thumbnail generation