Re: Alpha Bitmap render VMR9.
From: Chris P. [MVP] (msdn_at_chrisnet.net)
Date: 06/01/04
- Previous message: Iain: "Re: videowall"
- In reply to: illiminable: "Alpha Bitmap render VMR9."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Jun 2004 14:53:51 -0400
illiminable wrote:
> I have a new problem, i'm trying to render subtitles over a video...
> but i'm not sure the best way to do this.
>
> I have created the subtitle filter as a renderer. When it receives
> samples it querys for the filtergraph, searches for VMR9, if it finds
> it gets the alpha bitmap interface, and works that way. It works fine.
>
> Is this the correct way to do it... i had another attempt at actually
> making the subtitle filter have an output pin and connecting to the
> vmr, but not actually sending it samples... just using the
> alphabitmap interface. Is this a better way to do it ?
>
> Is the way i'm doing it now by querying the graph for the vmr9 and
> using it that way the correct way ? Or is there another alternative ?
An alternative is to do it in a transform filter after the video decoder.
Downside is you might have to work in an unfriendly colorspace or add an
unnecessary colorspace conversion. I'd stay with the VMR9 if it's
available, it makes it really easy.
- Previous message: Iain: "Re: videowall"
- In reply to: illiminable: "Alpha Bitmap render VMR9."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|