Menu

IMediaDet and Windows 7

Yuan Shi
2009-09-28
2012-10-29
  • Yuan Shi

    Yuan Shi - 2009-09-28

    The MediaDetector (CLSID_MediaDet) reports wrong stream count for HDV / MPEG2
    files in windows 7.
    With XP / Vista it returned the correct number of streams (e.g. 2 for
    video/audio). Now with Windows 7 it reports just the audio stream.
    It seems that the IAMPluginControl interface is the key for making IMediaDet
    using the right Filters under Win 7. But I can't find a sample of how to use
    the IAMPluginControl.

     
  • Eric

    Eric - 2009-09-29

    The MediaDet object just build a graph with RenderFile and a wisely placed
    SampleGrabber (besides, that's why MediaDet don't works with MPEG2 files).

    Build the graph in GraphEdit with both OSs to see where the difference is.

     

Log in to post a comment.