Shop OBEX P1 Docs P2 Docs Learn Events
text overlay on incoming video stream — Parallax Forums

text overlay on incoming video stream

codeprocodepro Posts: 22
edited 2006-08-25 22:37 in Propeller 1
Post Edited (codepro) : 8/25/2006 10:37:21 PM GMT

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2006-08-09 00:31
    CodePro,

    Yes, absolutely, so long as the text is black and white. It will help to use an external sync circuit, such as an LM1881, to provide sync pulses from the external video. And some sort of analog multiplexer will help to switch back and forth between the incoming video and the generated characters. But text overlay is a function that's been implemented with lesser processors than the Propeller, so the Propeller should have no problem.

    To provide a color overlay is much harder, since you have to genlock to the incoming chroma signal as well. I'm almost positive the Propeller can be coerced to do it, but the details are pretty evasive so far.

    -Phil
  • M. K. BorriM. K. Borri Posts: 279
    edited 2006-08-09 00:42
    This would be great , and white text is fine... where would you recommend looking at when it comes to coding it?
  • simonlsimonl Posts: 866
    edited 2006-08-09 13:14
    Yay, I'd be real interested in this too. I'd also like to overlay graphics too...

    That said, I'm hoping to be able to do this with the PropCAM also - can't wait for that smile.gif)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,

    Simon
  • codeprocodepro Posts: 22
    edited 2006-08-09 16:00
    Does anyone know what this circuit would look like?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2006-08-09 17:54
    Here's an overlay circuit I found via a Google search:

    vidclock.gif

    It contains the LM1881 sync separator and a 74HCT4051 multiplexer. With the Propeller, neither the 74HCT4538A one-shot nor the '4046 PLL would be necessary. You should be able to separate the horizontal sync from the composite sync programmatically using the CSYNC signal directly. This would be even easier if the VSYNC signal were brought into the chip as a reference. (The '1881 is 5V only, so you would need series resistors with these signals.) With its 80MHz clock, the Propeller would not introduce any noticeable jitter in the horizontal dot positions.

    Missing from this circuit is a DC restorer for the incoming video. This may be necessary for some signals if they're floating at odd voltages or have a strong 60Hz hum component. I would also add a transistor (2N4401) driver to the output. Driving a 75-ohm load with the multiplexer is a bit of a stretch.

    'Hope this helps,
    Phil
  • codeprocodepro Posts: 22
    edited 2006-08-10 17:42
    Post Edited (codepro) : 8/25/2006 10:37:42 PM GMT
  • codeprocodepro Posts: 22
    edited 2006-08-25 22:37
    Does anyone know what this circuit would look like connected to the propeller?
Sign In or Register to comment.