Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
media
danimation.controls
danimation.programming
devices
drm
dshow.programming
dtransform
encoder
encoder.optimization
hometheaterpc
media
media.beta
media.beta.encoder
mediacenter
mediacenter.portable
mediaplayer
music.products
musicproducer
player
player.plugins
player.skins
player.solaris
player.visualizations
player.web
sdk
server
tools
  
 
date: Tue, 1 Jul 2008 15:56:32 +0200,    group: microsoft.public.windowsmedia.sdk        back       


Text Overlay   
Anyone know how to add text overlays when encoding or after? I am using the 
sdk for screen capture and I want to write the current date and time as a 
text overlay within the encoded file.

Any pointers or tips appreciated
date: Tue, 1 Jul 2008 15:56:32 +0200   author:   ChevronBoyde

Re: Text Overlay   
From: "ChevronBoyde"

> Anyone know how to add text overlays when encoding or
> after? I am using the sdk for screen capture and I want
> to write the current date and time as a text overlay
> within the encoded file.

You need write a video DMO (they are documented in the 
DirectShow section of the Windows SDK) and use it as plugin 
in WME9. You can write DMOs in .NET via COM InterOp if you 
want to, but the SDK only supports C++.

-- 
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
date: Tue, 1 Jul 2008 10:31:11 -0400   author:   Alessandro Angeli

Re: Text Overlay   
On Jul 1, 4:31 pm, "Alessandro Angeli" 
wrote:
> From: "ChevronBoyde"
>
> > Anyone know how to add text overlays when encoding or
> > after? I am using the sdk for screen capture and I want
> > to write the current date and time as a text overlay
> > within the encoded file.
>
> You need write a video DMO (they are documented in the
> DirectShow section of the Windows SDK) and use it as plugin
> in WME9. You can write DMOs in .NET via COM InterOp if you
> want to, but the SDK only supports C.
>
> --
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> //http://www.riseoftheants.com/mmx/faq.htm

If you are using MS Encoder SDK, add ffdshow filter as plugin, and
configure it to add overlays.
If you are using WMF SDK, then you will need to do little more muscle
work, so use ffdshow instead :).

Or if you really need WMF SDK low level of control, then make hybrid
solution, creating DirectShow graph with WM ASF Writter object,
inserting FFDShow as text overlayer and accessing WM ASF Writter's WMF
interfaces.

In such combination, you can have it all, file writes, network
outputs, push etc.

Jerislav
date: Wed, 2 Jul 2008 02:46:34 -0700 (PDT)   author:   Jerislav

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us