By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,115 Members | 894 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,115 IT Pros & Developers. It's quick & easy.

How to draw graphics on a transpaqrpicturebox over a "video" picture box?

P: 5
I wonder if it is possible to overlay a picture box of some kind on top of another picture box in which a video is playing, in such a way that the video plays underneath and is completely visible... and, by drawing on the overlaid picture box, I can add cursors, lines, graphic text, etc... JUST LIKE using a grease pencil to draw on a TV screen?

In my case, the video is 'live' incoming video from a USB capture device. The video-in-a-picturebox display code is a third-party function library, so there might ultimately be an issue of compatibility with this package... so ideally, the solution ought to be something that does not directly interact with the video picturebox (other than to lay on top of it).

(Assuming my description is understandable), has anyone done this? And if so, how do I go about it?

--Dave Emery
Apr 1 '10 #1
Share this Question
Share on Google+
2 Replies


tlhintoq
Expert 2.5K+
P: 3,525
A picturebox is not transparent. You cannot see through it.

You would have to create a custom control for this project.

Doing the drawing isn't a huge deal. But let me ask... Is it your desire to have those additional graphics *saved*? Do you want the end result to be a merging of the raw video with the cursors, lines graphic text?

has anyone done this?
Yes. Video editing software does exist.
Apr 1 '10 #2

P: 5
Yes... it would be nice to be able to save the resulting video stream... format isn't really important (although .AVI would probably be my choice).

I am familiar with the VB.net graphics tools... are these what I would be using??
Apr 1 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.