I just want to query the number of streams in a file. But an unimaginable difficulty has emerged from this simple task.
It seems the query involves using IMediaObject.I have searched IMediaObject documentation in DirectShow. It only lists out its functions but it has no samples and description on how to use it.
I have also searched Windows 7 SDK. The only demonstration is in dmoenum The initiation is incapsulated in ShowSelectedDMOInfo(const GUID *pCLSID)
what types can pCLSID be? Any samples are out there to illustrate how to use IMediaObject?