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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.