Electronics > Projects, Designs, and Technical Stuff

Real time overlay of data onto video stream - windows?

(1/1)

max_torque:
I have a web cam watching a test rig, and i have a Data acquisition system recording data from several sources, all running in windoze......


The Aquisition currently uses a simple application (coded in visual studio) to grab chunks of data from the various sources (mostly streamed over serial links) stick them all together and write them to a .csv file at around 10 Hz.

How hard would it be to write something to overlay some of the data onto the video stream in near real time?  Even a 2hz update would probably be fine?  Does something like this exist already?  I can find programs like  http://www.dashware.net/  that do it in "post process" but i wondered if anything exists to do in real time in Windows?.  My data application could just write a single line .csv every so often with the latest data in it, and the overlay application could parse the data out of that file and overlay it?

Sounds easy huh?   Anyone done this before?    :scared:



zzattack:
I've done something similar using a DirectShow filter. We had video data coming in from one source and telemetry over a serial receiver/UHF radio. The solution I came up with was an application that coupled the video source with the data, and a DLL that presented itself as capture device. This DLL would "proxy" the video data, and host a server component from which it was fed the teletry data to overlay, kind of like a video-game HUD.

An alternative nowadays might be to use OBS. If you intend to stream or just display the resulting picture somewhere, it is perfectly capable of combining video sources. Your overlay would be a simple OBS plugin I reckon.

tszaboo:
Take a look at ffmpeg. It works pretty much the same way in windows as in linux.

Navigation

[0] Message Index

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod