Re: Problem: color space conversion by DirectShow
- From: "Alessandro Angeli [MVP::DigitalMedia]" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 23 Apr 2005 13:35:33 +0200
AL wrote:
> Because I use AVISynth program and it's DirectShowSource
> function to open AVI files.
>
> After that I call series of filters that requiere YUY2
> color space.
>
> So is there a way to tell the video renderer not to do
> any color space conversions ?
>
> Or can I set some other renderer as default that doesn't
> do this ?
AviSynth clearly does not build the same graph otherwise it
would not be able to extract any data from it (do you see
any filter that can extract data from the graph?). So it
must insert its own sink in place of the renderer which
means that the graph you built in GraphEdit has no meaning.
If the AvuSynth sink accepts YUY2, there won't be any CSC in
its graph.
In any case, as you've already been told, when the sink is
the video renderer, which won't be the case in AviSynth, the
filter is meant to display the video so it will only accept
formats the video card can display thus, if your video card
can not handle YUY2, it will not accept YUY2 and the graph
builder will be forced to insert a CSC from YUY2 to a
supported format (like the more common RGB32 or YV12).
--
// Alessandro Angeli
// MVP :: Digital Media
// a dot angeli at psynet dot net
.
- Follow-Ups:
- References:
- Problem: color space conversion by DirectShow
- From: AL
- Re: Problem: color space conversion by DirectShow
- From: Tim Roberts
- Re: Problem: color space conversion by DirectShow
- From: AL
- Problem: color space conversion by DirectShow
- Prev by Date: Re: IMediaSample to INSSBuffer
- Next by Date: Re: Problem: color space conversion by DirectShow
- Previous by thread: Re: Problem: color space conversion by DirectShow
- Next by thread: Re: Problem: color space conversion by DirectShow
- Index(es):
Relevant Pages
|