Video Overlay
aeading
Posts: 3
Hi
I would like to overlay GPS coordinates onto a composite video signal say at the bottom of the video feed. The GPS data would be captured via RS232 then parsed out then overlayed. I have achieved this using 3rd party overlay IC from decade engineering (BOB Card) but this unit runs in at a high cost is the video overlay possible ?
Thanks
I would like to overlay GPS coordinates onto a composite video signal say at the bottom of the video feed. The GPS data would be captured via RS232 then parsed out then overlayed. I have achieved this using 3rd party overlay IC from decade engineering (BOB Card) but this unit runs in at a high cost is the video overlay possible ?
Thanks
Comments
The main thing you need from his design is the sync separator and the video DAC.
Post Edited (Mike Green) : 1/12/2009 3:35:04 PM GMT
If you are making a commercial product that you are selling, I charge a $5.00 per unit license fee if you use a significant portion of my design.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
·The next time you need a hero don't look up in the sky...Look in the mirror.
·
-Phil
One of my overarching goals, since the day I started working with the Propeller, has been to genlock its chroma generator to incoming colorbursts and do a color overlay. I'm sure it's possible, but I'm not sure how just yet.
-Phil
You are correct as most companies are integrating so many functions into single specs of silicon, it may not be available as a separate device.
-Phil
Somebody must have it, otherwise, how can the TV shows zoom in to a 6 pixel car tag and read the ID? Or better yet, a windshield sticker from 100' that I can barely read at 2 feet. [noparse]:)[/noparse]
-Phil
Imagine what the Propeller would have been worth a decade ago?
There are already some very nice (multi) megapixel digital CCTV cameras around, and the picture quality is *superb*. The biggest issue there is simply the amount of bandwidth required to compress, transport and record this stuff. The other issue is image latency. An analogue camera switched by an analogue matrix and into an analogue monitor has an unnoticable latency. Digital is another story entirely with end to end latencies exceeding 1/4 second on some stuff, and worse on cheaper gear. That is a big annoyance when you are operating a movable camera.
I played with a nice camera/lens combo recently that allowed me to read the manufacturers data nameplate off a crane over 3km away.
... sorry to drift off topic [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cardinal Fang! Fetch the comfy chair.
There was rumors about a color version. But I've never seen anything about it.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
·The next time you need a hero don't look up in the sky...Look in the mirror.
·
I'm beginning to think anything is possible with the prop.
ditto.
I've done a black and white overlay but the long term goal when I have time is colour.
Phil - can you expand on the colour burst bit? I've read various things previously and never really sussed it. Surely it cannot be that hard?
James
The 3.579545 MHz colorburst at the beginning of each line of NTSC video provides a phase reference against which chroma information within the line is measured. In normal Propeller video output, the Propeller provides both the colorburst and the phased chroma modulation within each line that produce the various colors. This is done with an internal x16 chroma clock. In an overlay situation, the incoming video stream provides the color bursts, and any colored graphics that the overlay sytem produces have to be phase referenced to the incoming colorburst. What makes this hard with the Propeller is that there's no direct access to the phase of its chroma clock; but, in order to lock onto the incoming colorbursts, this phase has to be adjusted from the program. Otherwise the colors it produces will not only vary from the colors specified but may also drift, producing a rainbow effect rather than solid colors.
-Phil
I was excited about the MC1378 RGB-composite overlay chip until I looked at the data sheets.
Many arcane and unabtainable coils & such.
You can find it here under Analogue Video Encoders: http://icc.skku.ac.kr/~won/electro/videochips.html
-Dave
Try this one.
http://radnet.ej.am/Downloads/Datasheet/Linear/mc1378rev0f.pdf
Thanks for that. I assume youd need to read the colour burst part of the line via an ADC to get the phase information?
James
A comparator would probably work if you set the threshold right. The bigger challenge is matching the phase with the Propeller's chroma clock.
-Phil
All of the digital HD for CCTV cameras are basically going H.264/MJPEG unless it's part of a video-conference system.· The infrastructure is easier for installers when the camera is POE-100b-T (any "idiot" these days·can run a Cat-5, and terminate the ends properly).· The most complicated parts are starting to be the cameras - while you don't need a "quad" or a "mux" any more - just a desktop computer running XP with suffucient storage space and IE 6 or IE 7 (plus a switch with POE injection).
I just picked up a 5MP H.264 for less than $900US - Sweet deal, multiple users can log into the feed simultaneously, at diferent bit-rates and resolutions (and even H.264 or MJPEG depending on the availability of Java in the browser), the camera pushes the stream to a folder on a "server" (can be any machine with a shared drive...).
The big deal about network cameras is the infrastructure savings.· If you have·64 cameras in one building, but the security office is in another, it used to mean running 64 high-quality coax to the other building, or running a fiber-mux ($$$$$$).· With a network video system, you can piggy-back an existing corporate network for the bandwidth (with a VPN), or you can use another set of fiber pairs to a standard switch in the other building (keeps the part-numbers down, allows the on-site IT staff to support the CCTV system).· Many networks also feautre fail-over support so that if the inter-building fiber was damaged, an alternate route can be negotiated for un-interrupted CCTV service (whereas with coax, if one gets cut, that camera is down until the a new cable is pulled, or it's re-routed to a spare coax in the existing conduit - assuming the installer had the foresight to pull some...).
You also don't need to run: power, control, video (all can be contained in the same Cat-5).
-Tim
P.S. Oh yeah, on-topic: I'd use a dedicated sync extractor (like a National LMH1980 - which can be had from Digikey for ~$5US), and a video mux IC with an Parallax-SX to do the overlay on Composite video...· Probably your cheapest bet.· Otherwise, if you want a good quality overlay, you have to decode and re-encode the video with dedicated ICs so that the micro can have access to the digital form of the video signal data (much easier to sync to and correctly modify for color...). Take a look at the Analog Device ADV7180 and ADV7391 decoder/encoders (respectively), cheap, small, not very many pins, and the video can be bussed with BT.656 muxed parallel data at 27MHz for NTSC color 480i. -T
Post Edited (GreyBox Tim) : 1/15/2009 6:27:55 AM GMT
Attached is my schematics, how i built it, but it doesn't work! The screen just shows nothing!
I'm not shure about the connection to the prop, because in the OSD-Files-Schematics, there is always Pin 0,1 and 2 showed!
Can someone give me a short help? Is there maybe a version of the OSD-Program which doesn't use an GPS- or something-else-data, just to output some text?
Thanks for your help!
Propwell
-Phil
In the Hitt Consulting schematic the prop is connected to CSYNC via a 1k resistor. You have the prop connected to VSYNC via a 1k resistor
Hope this helps
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
I've got some questions:
1. In the HITT_Video_Overlay_012.spin the schematics show Pin 0-3 used, but in the schematics.pdf, there are the Pins 16-19 and 22 used! Could that be the problem?
2. How does the program behave when there is no input-video-signal?
3. I use the Overlay_test_Display.spin for testing, because it has no GPS and other stuff in it. Is there a chance to change it to PAL?
Thank you alls!
Earl
PS I used your program with no modifications.
Seems to not be that far away! Thank you very much!
[noparse]:edit:[/noparse] ah and earl, could please describe me how the monitor looks when there's no input-signal?
Post Edited (propwell) : 7/3/2009 6:41:20 AM GMT