This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Video Scaling Issue

I output live video by video2 layer and I need scaling it. I develop it as the following sequence:

  1. Stream Off
  2. Set Crop Size
  3. Set Display Size
  4. Stream On

But I found the video blinks once. Tn fact, the screen turns to black when the video is "stream off" at fist step and then restores with new "crop/display size" at last step. But I think that is unacceptable for the end user. So how can I avoid the blink? Is there any good experience to solve this? Thanks.