Click here to Skip to main content
15,881,248 members

Comments by Symfund (Top 5 by date)

Symfund 7-Aug-11 4:08am View    
video's owner window is an irregular dialog with png background can be semi-transparent.
Symfund 7-Aug-11 4:05am View    
I found this:

http://www.ureader.com/msg/14711693.aspx


Re: DirectShow and Transparency
On Tue, 29 Nov 2005 10:44:21 -0600, "Ranna" wrote:

>Hello All!
>I am working on a DiretShow video application. What I would like to know (I
>am new to this, and I know almost nothing about DirectDraw/3D) is will DShow
>always render video as a topmost window? Or is it some specific
>characteristic of VMR-7's windowless controls? I would like to a have a
>layered window on top of the video with transparency key set
>(GDI+/SetLayeredWindowAttributes). In my experience, the video tends to
>paint new frames on top of my layered window, and then my layered window
>then refreshes itself, leading to flickering of my layered window.
>Thanks in advance for your time and effort!

Renderer windows aren't topmost (you can hide them with other windows),
but I don't believe you can have a transparent window on top of them
since they're using DirectX to blit directly to the screen. If you want
to put something on top of it you should use the mixer mode of the VMRs,
or write a transform filter that does the mixing.

In any case, putting a window on top of a renderer is a bad idea, since
the DirectX blits will be split into regions to prevent it from
overwriting the window that is on top of the renderer. The blits are not
done with subpixel accuracy, so it can be very obvious that the blits
are split up if you're doing any kind of stretching.

--
New to newsgroups? Read: http://dev.6581.com/newsgroups.html
date: Tue, 29 Nov 2005 10:57:59 -0600 author: Thore Karlsen [MVP DX]
Symfund 5-Apr-11 1:58am View    
I mean, the DOS here is the command prompt on XP or above Windows 7, cmd.exe
Symfund 4-Apr-11 2:47am View    
Thanks, but how in a DOS batch file?
Symfund 27-Sep-10 21:29pm View    
Thanks for your information!