Part 4 DirectShow collection call structure relationship

The first article: DirectShow video collection_Headache’s Blog-CSDN Blog 1. GraphBuilder 1. IFilterGraph2, IGraphBuilder, ICaptureGraphBuiler2 (1), CLSID IFilterGraph CLSID_FilterGraph IFilterGraph2 CLSID_CaptureGraphBuilder IGraphBuilder CLSID_CaptureGraphBuilder ICaptureGraphBuiler2 CLSID_CaptureGraphBuilder2 (2), IFilterGraph2 and IFilterGraph, IFilterGraph3. Inheritance relationship: IFilterGraph–>IGraphBuilder–>IFilterGraph2–>IFilterGraph3 (3). If you only need to preview USB Video, you can only use IFilterGraph2 pass pFilterGraph2->AddSourceFilterForMoniker() Use the Moniker pointer to add the […]

Article 1: DirectShow video capture

Official documentation: Introduction to DirectShow – Win32 apps | Microsoft Learn 1. Foreword 1). DriectShow is a Windows-based collection module that supports xp, win7, vista and newer wIndows versions. 2). After win8, it is recommended to use MediaPlayer, IMFMediaEngine and Media Foundation. However, since some virtual cameras do not support MediaFoundation, DirectShow is collecting The […]

DirectShow filter development–get the sound filter played by the system

DirectShow filter development–get the sound filter played by the system Install Windows SDK 7.1 Create filter DLL Configure filter DLL project properties Create a DLL module definition file Create an audio endpoint header file Create an audio endpoint source file Create filter header file Create filter source file Create pin header file Create pin source […]