Unfortunately, AMAP_3D_TARGET appears to be useless. Internally, surface allocation comes up with the following capabilities for the surface: DDSCAPS_VIDEOMEMORY | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE. Sadly, DirectDraw responds (might respond?) with E_NOTIMPL. While one can advance one step further by removing DDSCAPS_VIDEOMEMORY | DDSCAPS_LOCALVIDMEM, another problem is hit that you are no longer able to [...]
Posts Tagged ‘renderer’
Oops, AMAP_3D_TARGET
Posted: 13th February 2012 by Roman in Seriously, VideoTags: 3D, DirectDraw, DirectShow, mixing, renderer, Video
How to use windowless Video Mixing Renderer Filter to show video fullscreen
Posted: 9th October 2009 by Roman in ATL, Source, Technology, Video, WTLTags: DirectShow, fullscreen, IVideoWidow, IVMRWindowlessControl, renderer, sample, Source, Video, VMR, windowless
The question is being asked from time to time. Everyone knows what is full screen video. Video renderers implement full screen capability since long ago through their IVideoWindow::put_FullScreenMode property, and even Filter Graph Manager exposes its own IVideoWindow interface to forward calls to filter’s implementation of IVideoWindow interface. However, for Video Mixing Renderers, version 7 [...]
Multiple Windowless Video Mixing Renderers (VMR9) Sample
Posted: 19th November 2008 by Roman in ATL, Source, VideoTags: ATL, C++, DirectShow, MFC, renderer, Source, Video, VMR, windowless
This is a begged MFC code for multiple windowless video renderers. MFC project, two independent video renderers hosted by the same parent window (actually through owned controls but this makes no major difference), VMR9 in windowless mode. There are no WM_PAINT/WM_ERASEBKGND handlers, IVMRWindowlessControl9::RepaintVideo calls and other basically required code, instead a minimalistic snippet to make [...]
How To: Take care of DirectShow filters that impose unreasonable requirements
Posted: 27th August 2008 by Roman in ATL, VideoTags: ATL, DirectShow, filter, hack, renderer, Source, workaround
Although I personally have no experience with tricky DirectShow filters that decide on possibility of connection not only looking at media type and other capabilities, there has been a number of cases mentioned that certain video decoders will only connect to renderers or video renderers in order to avoid interception of decoded data. It was [...]
