Re: Hardware Overlay with Push Source
- From: "The March Hare [MVP]" <phil@xxxxxxxxx>
- Date: Mon, 11 Apr 2005 23:35:15 -0600
On Mon, 11 Apr 2005 22:21:01 -0700, Augie at NHN wrote:
> Check the below link.
>
> http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/htm/pushsourcefilterssample.asp
>
> it says,
>
> NOTE: The desktop capture filter does not support hardware overlays, so it
> will not capture video rendered to an overlay surface or cursors displayed
> via hardware overlay. It uses GDI to convert the current desktop image into
> a bitmap, which is passed to the output pin as a media sample.
This is saying that the PushSourceDesktop filter cannot capture the overlay
surface. It is not about the output of the PushSourceDesktop to an overlay
surface.
> When I test those filters, not only the desktop capture filter but also the
> bitmap source filter cannot create hardware overlays.
Which video renderer are you using? What media type are you trying to
connect to it with?
As the docs say about the Overlay Mixer Filter "In the following table, the
media subtypes accepted on input pin 0 are hardware dependent. The Overlay
Mixer cannot determine whether a particular subtype is supported until it
creates the DirectDraw surface. Therefore, the only way for an upstream
filter to determine whether a subtype is supported is to attempt a
connection with that subtype."
MEDIASUBTYPE_Overlay (pin 0 only)
DirectDraw YUV formats: MEDIASUBTYPE_YUVxx (pin 0 only)
DirectDraw Video Acceleration formats: MEDIASUBTYPE_DVAxxx (pin 0 only)
Microsoft® DirectDraw® RGB formats: MEDIASUBTYPE_RGBxx (all input pins)
Format Type: Format_VIDEOINFO, Format_VIDEOINFO2
--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
.
- Follow-Ups:
- Re: Hardware Overlay with Push Source
- From: Augie at NHN
- Re: Hardware Overlay with Push Source
- References:
- Hardware Overlay with Push Source
- From: Augie at NHN
- Re: Hardware Overlay with Push Source
- From: Alessandro Angeli [MVP::DigitalMedia]
- Re: Hardware Overlay with Push Source
- From: Augie at NHN
- Hardware Overlay with Push Source
- Prev by Date: Re: Hardware Overlay with Push Source
- Next by Date: Re: Capture file size, how to retrieve?
- Previous by thread: Re: Hardware Overlay with Push Source
- Next by thread: Re: Hardware Overlay with Push Source
- Index(es):
Relevant Pages
|
Loading