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

Video overlay

DelusDelus Posts: 79
edited 2007-12-08 07:38 in Propeller 1
I'm sure i've seen a thread which mentions this topic somewhere but can't for the life of me so i hope this hasn't been addressed already.··I'm wondering if it is possible to take an RCA signal from a camera and add a preprogrammed message and simple graphic(could be·just lines and circles) to it in real time using the prop.· I'm a pretty new to video signals so any pointers(no matter how basic they seem) would be greatly appreciated.

Comments

  • Ziggy252Ziggy252 Posts: 32
    edited 2007-12-04 05:09
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-12-04 05:12
    This applies too..

    http://forums.parallax.com/showthread.php?p=618061

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Just getting started with Propeller?

    Propeller Cookbook

    PropDOS
  • DelusDelus Posts: 79
    edited 2007-12-04 17:10
    Thank you very much this looks almost exactly like what i need.· one somewhat minor point is how would one go about getting some colours out of this system?·pure red or green are the only two i need but i see that the HC-OSD board claims to only do black, grey,·and white.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-04 17:13
    Synchronizing color between a background and an overlay is much more difficult than simply overlaying a black and white image or text.
  • BeanBean Posts: 8,129
    edited 2007-12-04 18:09
    Delus,
    To do color overlay requires a circuit that can "lock" onto the incoming color burst pulse. This is not an easy thing to do.

    The HC-OSD pixels can have one of 4 states: transparent, black, white, or gray.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.iElectronicDesigns.com

    ·
  • DelusDelus Posts: 79
    edited 2007-12-07 22:18
    Ok i've been looking at various other solutions to this problem and stumbled across a video multiplexer (http://www.fairchildsemi.com/ds/FH%2FFHP3194.pdf) which might do the trick by just swiching between a signal generated by the prop and an input signal at the apropriate pixels.· So my question now is how do i find out if it will swich fast enough?· And how do i synchronize the signal generated by the prop?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-12-07 22:32
    You don't need anything that fancy. I've used a 74HC4053 for overlay switching, and it works just fine. (Even a CD4053 will work if you don't mind a little fuzz around the edges.)

    -Phil
  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-07 22:44
    An external video multiplexor will not help you. The problem is the synchronization of the Propeller's video generator with the external video signal. This is easy to do for superimposing black and white on color, but very hard for color on color. The way the HC-OSD works, the Propeller effectively disconnects itself from the video circuit when it's not overlaying video on the external image, so no external multiplexor is needed.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-12-07 23:22
    Maybe Bean can shed some light here:

    I've always used a multiplexer for switching overlay data in and out of the video signal, after it's been DC restored to keep the sync tips near ground. This gives me known voltage levels for sync, front- and back-porch, black, and white that I can match with the multiplexed signal from the computer. From there, the output is then buffered with a simple transtor buffer to restore the 75-ohm impedance.

    Bean seems to have circumvented the DC restoration, multiplexing, and buffering in his design by using more of a forced superposition; so I'm wondering what, if any, assumptions he's making about the incoming video signal... Bean?

    -Phil

    Post Edited (Phil Pilgrim (PhiPi)) : 12/7/2007 11:28:30 PM GMT
  • DroneDrone Posts: 433
    edited 2007-12-08 07:38
    Delus,

    Recently there was a post here from Bean I think that described the MAX7456 chip, which seems to do B&W (only) video overlay. Looks good for putting time/date stamps and/or GPS data on a screen. Bean even had some breakout boards available, but when I inquired about how to buy, things fizzled out. I'll find the thread - but have to run right now. Here's the URL for the MAX7456 press release and technical page:

    www.maxim-ic.com/view_press_release.cfm/release_id/1376

    www.maxim-ic.com/quick_view2.cfm/qv_pk/5516

    Regards,

    David
Sign In or Register to comment.