![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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) |
| | 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 | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Are Chats--text, audio, video---secure? | Live Messenger | |||
| Attached image becomes text | Live Mail | |||
| Vista Video and Image caching | Media Center | |||
| Aero & Video Overlay | Vista General | |||
| Copying web page text & Image to mail? | Vista General | |||