P>Выдержка из DirectX SDK
P>To obtain information about a file using this interface, perform the following steps:
P>Create an instance of the MediaDet object by calling CoCreateInstance. The class ID is CLSID_MediaDet. P>Call IMediaDet::put_Filename to specify the name of the source file. P>Call IMediaDet::get_OutputStreams to obtain the number of output streams in the source. P>Call IMediaDet::put_CurrentStream to specify a particular stream. P>Call any of the following methods: P>IMediaDet::get_FrameRate P>IMediaDet::get_StreamLength P>IMediaDet::get_StreamMediaType P>IMediaDet::get_StreamType P>To retrieve a video frame, call IMediaDet::GetBitmapBits or IMediaDet::WriteBitmapBits. The returned frame is always in 24-bit RGB format.
P>Я сам пробовал с avi различные кодеки, MPEG1 — работает P>Про остальные не знаю