add video rescaling in gui