working on video offset