Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Overlay image and/or text on video

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-10-2006   #1 (permalink)
latteier@gmail.com
Guest


 

Overlay image and/or text on video

Hi,

I'm very new to this and I'm trying to figure out how to overlay images
and/or text over video.

At first I tried using MediaElement, but I'm having trouble getting it
to play my videos, and I can't figure out how to overlay something else
over it.

Next I tried creating a VideoDrawing and an ImageDrawing and putting
them together in a DrawingGroup. This also doesn't work for me. In
fact, I so far haven't figured out how to get the VideoDrawing to
render.

Does anyone have any suggestions for exploration? I'm not even sure
that this can be done using WPF. Perhaps DirectShow is the only correct
answer.

Thanks!

-Amos

P.S. I've also tried using the windows media player control, but that
doesn't seem to allow overlays with alpha.


My System SpecsSystem Spec
Old 01-10-2006   #2 (permalink)
Doug
Guest


 

Re: Overlay image and/or text on video

Here's a pretty simple example:

<Grid>
<MediaElement Source="c:\\temp\\bliss.avi" />
<Viewbox>
<TextBlock>Text over media element?</TextBlock>
</Viewbox>
</Grid>

But if you are just starting out with WPF you will probably want to run through
the samples & howtos in the SDK documentation.

- Doug

> Hi,
>
> I'm very new to this and I'm trying to figure out how to overlay
> images and/or text over video.
>
> At first I tried using MediaElement, but I'm having trouble getting it
> to play my videos, and I can't figure out how to overlay something
> else over it.
>
> Next I tried creating a VideoDrawing and an ImageDrawing and putting
> them together in a DrawingGroup. This also doesn't work for me. In
> fact, I so far haven't figured out how to get the VideoDrawing to
> render.
>
> Does anyone have any suggestions for exploration? I'm not even sure
> that this can be done using WPF. Perhaps DirectShow is the only
> correct answer.
>
> Thanks!
>
> -Amos
>
> P.S. I've also tried using the windows media player control, but that
> doesn't seem to allow overlays with alpha.
>



My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Attached image becomes text Buteonidae Live Mail 7 05-28-2008 10:03 AM
Vista Video and Image caching elec999 Media Center 0 10-12-2007 12:39 PM
Aero & Video Overlay AntiMeson Vista General 3 03-07-2007 05:36 PM
Copying web page text & Image to mail? Ziggie Vista General 2 03-03-2007 04:01 PM
Re: AGP Video card for Aero Glass and Sharpest Text Trip Lane Vista General 2 02-02-2007 10:04 AM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008