Shop OBEX P1 Docs P2 Docs Learn Events
Video Overlay — Parallax Forums

Video Overlay

MrTrickMrTrick Posts: 2
edited 2006-06-06 16:18 in Propeller 1
I want to build a controller for a video-based stream. The output could be through a 2x16 LCD display, but with the Propellor's video features, would it be possible to have it 'overlay' the interface over an existing video signal?

Comments

  • cgraceycgracey Posts: 14,206
    edited 2006-06-06 08:26
    Yes. To drive the luminance level up on your "pixels" is easy. To lock to the colorburst and replace portions of the original signal with color data is much more complex. The first approach is only a few passive components and an object. The second might require more active components. Anything's possible, you just have to figure out how to do it.
    MrTrick said...
    I want to build a controller for a video-based stream. The output could be through a 2x16 LCD display, but with the Propellor's video features, would it be possible to have it 'overlay' the interface over an existing video signal?
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Chip Gracey
    Parallax, Inc.
  • MrTrickMrTrick Posts: 2
    edited 2006-06-06 12:45
    Hmm....

    TBH I don't understand that well how the video signal works, but could a dedicated COG selectively pass-through or replace the incoming video signal depending on what part of the screen it's dealing with?

    - If there's a few millisecond delay, that wouldn't be a problem.
    - It'd be a text-based overlay, and rectangular.
    - It'd have to work at multiple resolutions.
  • Paul BakerPaul Baker Posts: 6,351
    edited 2006-06-06 15:28
    Read this reference. Chip is saying that changing the Y-value (luminance or brightness) is relatively easy, ie if the video is red, you can change it to pink or brick red easily, this is done by locking on the sync pulse, then at the appropriate delay shifting the Y-value higher or lower. To change the color altogether would require locking onto the sync pulse and also locking on the color burst signal then setting the color value at the appropriate time. This is done by outputing the appropriate phase shifted color burst to generate the color. The zoomed in region of figure 1 is this color information (labeled as the Cb and Cr).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Life is one giant teacup ride.
  • BeanBean Posts: 8,129
    edited 2006-06-06 16:18
    My video overlay board simply does a level shift to raise the signal level making it lighter/whiter where the overlaid text pixels need to be. You could also shift the level down to make a darker pixel.

    A sync seperater IC (like a LM1881) would be useful to get the timing.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com

    "I reject your reality, and substitute my own." Mythbusters
    ·
Sign In or Register to comment.