Re: Green artifacts when rendering YUY2

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Mon, 25 Jun 2007 03:59:01 -0700, fungi8210
<fungi8210@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi,
I have a filter graph which basically connects my camera to the renderer.
If the camera outputs RGB565, the graph looks like this
Camera -> Smart Tee -> Renderer
the output is fine.
But if the camera outputs YUY2, the graph looks like this
Camera -> Smart Tee -> Color Space Converter -> Renderer
But the rendered content is full of green pixels.

Anyone know the reason for this?

Are you sure the media type is YUY2? It sounds like the pixel data is
YUY2, but the media type doesn't correctly identify the data as YUY2.
The color space converter only handles color space conversions between
RGB color spaces AFAIK. You'd probably see an AVI Decompressor filter
(or no filter) if the media type was truly YUY2.

--
Be seeing you.
.



Relevant Pages

  • Re: Problem: color space conversion by DirectShow
    ... > After that I call series of filters that requiere YUY2 ... AviSynth clearly does not build the same graph otherwise it ... any filter that can extract data from the graph?). ... the video renderer, which won't be the case in AviSynth, the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: strange behaviour in DVD graph with custom transform filter
    ... > I'm developing video transform filter which has to work ... > in DVD graph. ... The DVD decoder outputs YUY2 format which I ...
    (microsoft.public.win32.programmer.directx.video)
  • AddSourceFilterForMoniker() locks up sometimes.
    ... I've coded a simple filter graph to capture frames from a video camera ... I can grab frames from the Sample Grabber with no ...
    (microsoft.public.win32.programmer.directx.video)
  • AddSourceFilterForMoniker() locks up sometimes.
    ... I've coded a simple filter graph to capture frames from a video camera ... I can grab frames from the Sample Grabber with no ...
    (microsoft.public.multimedia.directx.dshow.programming)
  • Re: Confusing message from GraphEdit
    ... GetState to the filter graph I walked thru the list of the filters and asked ... From GraphEdit I press Run and Pause - works fine. ...
    (microsoft.public.win32.programmer.directx.video)