I have tagged both directshow as well as directshow.net because I'm using both C++ and C# to create a source filter (for loading up bitmaps in memory) and c# is supplying the bitmap. I've been stumped on the problem "There is no common media type between these pins" for days [...] read more
I created a custom filter in DirectShow called decryption however when using GraphStudioNext gives me a "VFW_E_NO_ACCEPTABLE_TYPES (0x80040207)" when trying to connect the output from a MP4 into the input of my custom filter. // Media Types const AMOVIESETUP_MEDIATYPE sudPinTypes = { &MEDIATYPE_Stream, &MEDIASUBTYPE_NULL }; // Pins const AMOVIESETUP_PIN psudPins[] [...] read more
I'm trying to connect a custom source filter to x264. I can connect it to leadtools encoder, main concepts encoder. I can connect them directly in graphedit. I get the HR result 0x80040207 VFW_E_NO_ACCEPTABLE_TYPES. HRESULT CStreaming::Init(){ CoInitialize(NULL); HRESULT hr; hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER,IID_PPV_ARGS(&m_pGraph)); #ifdef _DEBUG DWORD dwRegister; hr = [...] read more