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

Display Text or Picture over running Video

P: n/a
Hi Evrybody,

Some one can tell me how to display texte or tranparent icon (like
mouse pointer) over a runnig video. This video is an IP camera stream
displaying within control (Vitamin Control) in C# application.

I think about DirectShow (DxLogo example) but I don't know how to
manipulate an IP stream. Any example is very appreciated.
Sory for my English
Samir

Aug 8 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Samir,

You might want to consider using Windows Presentation Foundation if you
are using .NET 3.0. You could host your control as a windows control and
then overlay your text on top of the video (you simply have to create a text
element with a transparent background, all of which WPF handles very
easily).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<sa*******@hotmail.comwrote in message
news:11*********************@r34g2000hsd.googlegro ups.com...
Hi Evrybody,

Some one can tell me how to display texte or tranparent icon (like
mouse pointer) over a runnig video. This video is an IP camera stream
displaying within control (Vitamin Control) in C# application.

I think about DirectShow (DxLogo example) but I don't know how to
manipulate an IP stream. Any example is very appreciated.
Sory for my English
Samir
Aug 8 '07 #2

P: n/a
Thank you Nicolas for your answer,
I am using .Net 1.1. I alredy create picturebox control with
tranparent Baground over the video window it display the image in
rectangle and the transparent color is filled with frame (winform)
color not with video content. It is not what I want to do.
Juste for more precision, my final objectif is to make annotation
(pointeur, text, drawing: line...) over a runnig video.
I am still blocked.

Samir

Aug 9 '07 #3

P: n/a
Samir,

If you are using .NET 1.1, then your options are limited. You might
want to create a control which hosts the media control which is hosting your
video, and then override the OnPaint method to draw your lines/text after
you render the video beneath (which would be accomplished by calling the
base implementation of OnPaint).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<sa*******@hotmail.comwrote in message
news:11********************@57g2000hsv.googlegroup s.com...
Thank you Nicolas for your answer,
I am using .Net 1.1. I alredy create picturebox control with
tranparent Baground over the video window it display the image in
rectangle and the transparent color is filled with frame (winform)
color not with video content. It is not what I want to do.
Juste for more precision, my final objectif is to make annotation
(pointeur, text, drawing: line...) over a runnig video.
I am still blocked.

Samir

Aug 9 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.