Page 1 of 1

Video Overlay

Posted: Sat Feb 25, 2012 1:43 am
by fixstuff555
Hi folks,

I have an application, where I am bringing in NTSC video into a USB converter. This video is viewable inside Flowstone as a standard webcam without any issues (tick25 grab, #0 id, etc, ect). I am trying to take some data and overlay it onto the video. How would I go about doing this? I tried tinkering with text onto a view primitive, but I can't quite figure it out. Anyone done something similar to this? I'm trying to basically emulate a NTSC overlay module, but only use flowstone. Is this possible?

Thanks.

Re: Video Overlay

Posted: Sun Feb 26, 2012 8:03 pm
by Embedded
Yes I played with this for my Track data logging app.

This should get you going :)

Re: Video Overlay

Posted: Thu Mar 01, 2012 9:55 pm
by fixstuff555
All right. It's official. I'm dumb. I looked and looked through your overlay code, and for the life of me can't seem to find where you have text overlaid onto video. I can create a video clip, but I'm assuming the time and date are overlaid on the screen normally. This isn't working by the way. Really the only "overlay" object I can get is the speedometer and the lap time counters.

Here's what I'd like to do. I'd like to start simple, with just a webcam, and the time and date overlaid on top of that. I get lost in the modules at this point if there is much more than that. Do you have anything stripped down for example? Say some real early code that you built off of.

My biggest hurdle in navigating Flowstone modules is actually finding what I'm looking for in among all the nested modules. Is there any trick or tip you can give me to help find buried code? Like a search or something?

Thanks again.

Re: Video Overlay

Posted: Fri Mar 02, 2012 6:49 am
by AnthonyTower
fixstuff555 wrote:...

My biggest hurdle in navigating Flowstone modules is actually finding what I'm looking for in among all the nested modules. Is there any trick or tip you can give me to help find buried code? Like a search or something?



You're not the only one with this problem.

The two main issues plaguing FlowStone are lack of adequate documentation and no bird's-eye view of a schematic.
Now add to that a myriad of Wireless links and a mildly complex schematic becomes labyrinthic.

I've been pondering the idea about calling the top level Main and everything connected to Main, branches with names that can be indexed.

Perhaps a graphical three dimensional view of a FlowStone schematic would be helpful.

Comments, and thorough ones at that, should be mandatory with all Wireless link connections.

Just me two cents
Cheers

Re: Video Overlay

Posted: Sun Mar 04, 2012 9:49 pm
by Embedded
Sorry no secret, the Time & Date just was disconnected from the V output AND was made invisible with the 'Eye' symbol on the module.

Try this:

Re: Video Overlay

Posted: Tue Mar 06, 2012 4:30 pm
by fixstuff555
That was perfect thank you. That striped down code makes it much clearer how you did that also. My intent is to use an inexpensive webcam and bring in locally read position feedback so that I can save that with the video file.