I need to render Planar YUV 4:1:1 from a DV decoder. I see that the media type is exposed in the Media Foundation SDK, but not in DirectShow. Is there a way to get this colorspace to work with DirectShow or is a conversion required? If anyone knows of a way to it convert to a packed YUV format or RGB, it would be greatly appreciated.
On Mon, 21 Jul 2008 18:49:04 -0700 (PDT), Cyborg wrote: > I need to render Planar YUV 4:1:1 from a DV decoder. Whose DV decoder? The MSFT filter outputs: MEDIASUBTYPE_YUY2 MEDIASUBTYPE_UYVY MEDIASUBTYPE_RGB24 MEDIASUBTYPE_RGB32 MEDIASUBTYPE_ARGB32 MEDIASUBTYPE_RGB565 MEDIASUBTYPE_RGB555 MEDIASUBTYPE_RGB8 MEDIASUBTYPE_Y41P What is the FOURCC code? http://fourcc.org/ Does Geraint's free YUV conversion filter help you? http://www.gdcl.co.uk? -- 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
On Mon, 21 Jul 2008 18:49:04 -0700 (PDT), Cyborg wrote: >I need to render Planar YUV 4:1:1 from a DV decoder. I see that the >media type is exposed in the Media Foundation SDK, but not in >DirectShow. Is there a way to get this colorspace to work with >DirectShow or is a conversion required? If anyone knows of a way to >it convert to a packed YUV format or RGB, it would be greatly >appreciated. Try the YUV converter from www.gdcl.co.uk. This will convert to and from a range of RGB and YUV values, including some planar types. Also, some graphics adapters will support planar YUV directly, depending on the exact layout. Microsoft is pushing NV12 as a standard planar type. G
GD- [Tue, 22 Jul 2008 08:43:36 +0100]: >Microsoft is pushing NV12 as a standard planar type. It only matters what the hardware will do, not what a dated MS doc may say is recommended. NV12 is very rare in the real world from what I see; I've never seen NV12 from any device, and I've got a few dozen. 411 is an odd-ball in that none of my video display hardware will take it native, but it's almost trivial (in effort and time-to-do) to 'upscale' it to 422, which is native everywhere I've looked. If you know 422, and you know 411, it's a simple matter to make one the other. -- 40th Floor - Software @ http://40th.com/ phantasm.40th.com - The finest sound in the world