Re: Problems rendering RGB decoder output

Tech-Archive recommends: Fix windows errors by optimizing your registry



On 16 Nov 2006 04:53:29 -0800, mannson wrote:

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.

I went back to your original code. GetMediaType modifies the pMediaType to
point to the input's stored media type and modifies that one, instead of
modifying the caller's media type that was originally passed in.

G
.



Relevant Pages

  • Re: WMV Decoder DMO
    ... I've built a filter that does this exact thing--I basically pull the stream ... the stream I determine my media type. ... Doing this in multicast may be ... GetMediaType method. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Problem with skipped frames
    ... Isn't it true: when the downstream filter ... "CheckTransform" and if the decoder is retrieved for its media-types ... Alessandro Angeli schrieb: ... If a common video media type ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Problems rendering RGB decoder output
    ... I'm still trying to write a DirectShow filter that decodes MPEG video ... By right clicking on the decoder output pin "Render Pin" is greyed out. ... Is your GetMediaType ever called? ... I checked the media type of the output pin and it seems that every GUID ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Video flipped in AMCap
    ... I want to develop a DS capture source filter (over a proprietary video ... I wanted my filter to be as open as possible and I decided to support the ... this method is called by downstream filters to validate I ... can support the provided media type, but I do not have to apply the media ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: compatibility with Skype, VLC (VLan), and AmCap
    ... handle media type of. ... VLC's filter. ... enumerate available media types on the output pin of the video capture ... it requests a memory allocator from the input ...
    (microsoft.public.win32.programmer.directx.video)