Working with video frame