Re: Problems rendering RGB decoder output




Geraint Davies schrieb:

On 15 Nov 2006 07:23:10 -0800, mannson wrote:

Hi,

I'm still trying to write a DirectShow filter that decodes MPEG video
files and delivers RGB24 frames on its output.
The filtergraph so far:
test.mpg - MPEG-2 Splitter - MyMPEGDecoder

I'm now able to decode all frames, but I'm not able to connect the
output pin to a video renderer.
By right clicking on the decoder output pin "Render Pin" is greyed out.
My GetMediaType:


not sure why that would be greyed out. Can you view the media type in the
pin's properties? Is your GetMediaType ever called?

I really don't know what I've changed, but graphedit at least now lets
me render the output of my filter. But it just connects to a demuxer.
If I try to connect to a renderer manually it adds another MPEG decoder
in-between instead of connecting directly to the renderer.
I checked the media type of the output pin and it seems that every GUID
is set to GUID_NULL, although GetMediaType of my filter is called and
sets erything to appropriate values.

.



Relevant Pages

  • DirectShow, Video Renderer and DirectDraw driver on Windows CE 5.0
    ... I have been developing a video decoder filter for a while already. ... the basic DirectShow Renderer, ...
    (microsoft.public.win32.programmer.directx.video)
  • CC Decoder Filter information
    ... I am developing a Filter that reads data from the output pin of CC Decoder even if I am a DirectShow beginner. ... For instance, for an CMediaType *pmt paramter of SetMediaType() method, ...
    (microsoft.public.win32.programmer.directx.video)
  • VMR9 on ATI graphics, and how to render a frame immediately
    ... My filters sit either side of the decoder in the ... The downstream filter then passes each frame to the ... renderer when needed. ... clear the sample's time stamp with a call to to pSample->SetTime(NULL, ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: frame drop in render filter
    ... I set 0 for timestamp in the source filter. ... Is it possible that the decoder set some timestamp, and renderer ... And the output frame of the decoder should not be too large either. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Intelligent Connect with access to each filter
    ... I want this graph to be independent to any video decoder. ... with a filter name "Video Renderer" ...
    (microsoft.public.win32.programmer.directx.video)

Loading