I use DirectShow source filter to create a virtual webcam in Windows. By overriding the CSourceStream::FillBuffer(IMediaSample* pSample) member function, this virtual webcam can capture windows screen.
Now I want to use this virtual webcam to capture OBS studio's video content or stream. My question is how to access the OBS studio's video buffer, so I can fill out each IMediaSample object at CSourceStream::FillBuffer() with the raw rgba data from OBS video buffer?
Now I want to use this virtual webcam to capture OBS studio's video content or stream. My question is how to access the OBS studio's video buffer, so I can fill out each IMediaSample object at CSourceStream::FillBuffer() with the raw rgba data from OBS video buffer?