Re: video/image gets flipped by video renderer
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Mon, 12 Mar 2007 22:57:47 -0700
"geoPsyc" <mouster@xxxxxxxxx> wrote:
For example, my capture filter produces 720x480 UYVY. VMR accepts this,
but after it transitions to "run", I'm sent a new format of 768x-480 UYVY.
I have to copy my 720 pixels to the leftmost 720 pixels of this new
surface.
How do you detect the new format after transition to "run"?
In AVStream, I get another call to my SetFormat dispatch. In DirectShow, I
believe that maps to another call to your pin's SetMediaType method.
If you are unable to handle this, then you need to insert a color space
converter filter inbetween your filter and the renderer.
I manually added Color Converter and the image is still flipped,
however when I changed the desktop resolution to 16bit instead of
32bit the color converter gets inserted automatically and the video
rendered correctly. Any idea why this happens?
No. Is your output RGB? Is it top-down? Are you setting the length
negative in your media type?
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- video/image gets flipped by video renderer
- From: mouster
- Re: video/image gets flipped by video renderer
- From: Thore B. Karlsen [DShow MVP]
- Re: video/image gets flipped by video renderer
- From: Tim Roberts
- Re: video/image gets flipped by video renderer
- From: geoPsyc
- video/image gets flipped by video renderer
- Prev by Date: Re: Renderer Requires One Frame?
- Next by Date: Regarding ProcAmp Control support in a system
- Previous by thread: Re: video/image gets flipped by video renderer
- Next by thread: Re: What is the difference between sending media sample and normal fi
- Index(es):
Relevant Pages
|