Re: Get frame rate with VMR

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: The March Hare (MVP) (phil_at_ndsm.maps)
Date: 06/30/04


Date: Wed, 30 Jun 2004 10:53:07 -0600

On Wed, 30 Jun 2004 23:48:14 +0800, Rover Shen wrote:

> I tried all those methods, here are the results:
>
> 1. IBasicVideo. I can't get the interface throug IGraphBuilder interface.

Are you querying the VMR for this interface? I don't think the GB supports
it and I don't know if the VMR does. Check the docs to see if the VMR
does.

> 2. IPin. The returned media type does not include correct information, only
> majortype and subtype available.

Which IPin? Where is your code snippet?

> 3. IMediaDet. Can't return correct fps with sometimes. Sometimes return a
> VFW_E_INVALIDMEDIATYPE error.

What is the media type of the files that don't work?

-- 
1.  If there are questions above, please answer them in-line.  In any case,
don't top post. (Otherwise, don't expect a followup) See
http://tinyurl.com/22ubu
2.  Remove this signature from your response if your newsreader isn't
intelligent enough to do it.
3.  Common courtesy is to followup if someone helped you or if you found a
solution on your own.


Relevant Pages

  • Re: make parts of avi-video transparent
    ... With which VMR and by querying which interface i can set a range by set the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Get frame rate with VMR
    ... > Are you querying the VMR for this interface? ... Where is your code snippet? ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Acol sequence
    ... If you want to post a followup via groups.google.com or any other ... Google is only an interface to Usenet; ... If you want us to quote everything that went before that is totally unreasonable and not good. ...
    (rec.games.bridge)
  • Re: when adding a filter to the graph, does it reference count inc
    ... > release them in the destrctor of my object, or does they release when the ... As Thore pointed out, if you don't need to use the interface yourself, you ... The former is a convenience class when you need to QueryInterface for the ... (Otherwise, don't expect a followup) ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Datatables Select and Compute methods
    ... Thanks for your followup. ... maintain a local set of records in memory, its Select Method is just a ... simple interface which will loop through all the records so as to find the ...
    (microsoft.public.dotnet.framework.adonet)