Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 21 Jul 2008 18:49:04 -0700 (PDT),    group: microsoft.public.win32.programmer.directx.video        back       


Planar YUV 4:1:1   
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.
date: Mon, 21 Jul 2008 18:49:04 -0700 (PDT)   author:   Cyborg

Re: Planar YUV 4:1:1   
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
date: Mon, 21 Jul 2008 20:12:21 -0600   author:   The March Hare [MVP] erland

Re: Planar YUV 4:1:1   
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
date: Tue, 22 Jul 2008 08:43:36 +0100   author:   Geraint Davies

Re: Planar YUV 4:1:1   
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
date: Wed, 23 Jul 2008 04:15:49 -0700   author:   ()

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us