![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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 Specs![]() |
| | #2 (permalink) |
| 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 Specs![]() |
![]() |
| 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 |