Unnessesary Overlay Shifting to the right side

Store Forums Video Experimenter Bugs/Problems Unnessesary Overlay Shifting to the right side

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9373
    thecloud
    Participant

    Hi, I would like to ask two questions concerning overlay appearance.
    I use video Experimental Shiled v2 with Seeeduino Mega.
    All sources are included.

    1. Why does overlay shift to ve’s 3px. to the right? https://youtu.be/JpBTEJJCJQU
    This is the source code – https://pastebin.com/8A5KK3Vm

    2. Why is the overlay displayed on only one half-frame on the top of the screen?

    This is the source code – https://pastebin.com/RBvdHeXQ

    • This topic was modified 6 years, 11 months ago by thecloud.
    #9376
    Michael
    Keymaster

    The shift to the right is caused by processing delay. By the time the code determines a pixel should be on, the scanline has advanced to the right for a few microseconds. I don’t think anything can be done because an Arduino can’t be sped up and a video scan line moves very fast from a timing perspective.

    The flickering you are seeing at the top in the second video is timing difference between the video signal and the overlay. Try increasing the frame delay from 2 to 5. That reduces flickering but your overlay will update less often.

    The Video Experimenter is very primitive, so I’m sorry there are limitations.

    #9379
    thecloud
    Participant

    Thank you very much for quick and helpful answer!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.