Announcement

Collapse
No announcement yet.

Video override with text / lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Video override with text / lines

    Hi all,

    I've a big problem. I've a video which is displayed in a loop:

    Code:
     
    media_SetAdd(iVideo1H, iVideo1L) ;      // point to the Video1 image
    for (m_nMapWFrame := 0; m_nMapWFrame < 79; m_nMapWFrame++)
        media_VideoFrame(0, 0, m_nMapWFrame);
        display_additionals();
    next
    In the method display_additionals() I like to print out text and draw lines and so on. The result looks extremly bad, cause the screen is flickering.

    Is the any trick available to do this without flickering? Something like drawing in the background?

    Thanks for any tip.

    Greetings
    Kai
    Animated Scale Cockpit Displays at https://plastes.de

  • #2
    The only display that can 'draw in the background' is the 43PTU. You can do it on that display by alternating read and write pages.

    You can try reducing the flickering by having a pause after everything is written. Of course the pause may need to be too long for what you are doing.

    The 'best' thing is to work out how to draw outside the video area.
    Mark

    Comment


    • #3
      Hi Mark,

      You are right. Pause helps but isn't possible for my functionality.

      Originally posted by ESPsupport View Post
      The 'best' thing is to work out how to draw outside the video area.
      Please help me to understand, what You mean. I have no idea.

      Thanks
      Kai

      Animated Scale Cockpit Displays at https://plastes.de

      Comment


      • #4
        I was meaning, say have the video 0,0 -> 160,100 and doing the drawing starting at line 101, say. But I expect that is not feasible for what you are doing.

        Mark

        Comment

        Working...
        X