|
|
|
date: Tue, 1 Jul 2008 15:56:32 +0200,
group: microsoft.public.windowsmedia.sdk
back
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
|
|