Planar YUV 4:1:1

Planar YUV 4:1:1

Post by Cybor » Wed, 23 Jul 2008 10:49:04


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.
 
 
 

Planar YUV 4:1:1

Post by The March » Wed, 23 Jul 2008 11:12:21


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://www.yqcomputer.com/

Does Geraint's free YUV conversion filter help you?

http://www.yqcomputer.com/ ?



--
Please read this before replying:
1. Dshow & posting help: http://www.yqcomputer.com/
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

 
 
 

Planar YUV 4:1:1

Post by Geraint Da » Wed, 23 Jul 2008 16:43:36

On Mon, 21 Jul 2008 18:49:04 -0700 (PDT), Cyborg



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
 
 
 

Planar YUV 4:1:1

Post by hel » Thu, 24 Jul 2008 20:15:49

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://www.yqcomputer.com/
phantasm.40th.com - The finest sound in the world