I use the following direct show graph (in graphstudio):
SourceFilter(Logitech QuickCam Pro 9000)->ColorSpaceConverter->Intel Media SDK H.264 Encoder->Intel Media SDK H.264 Decoder->Video Renderer
When I set a low resolution for the camera, like 320x240, 640x480 or 800x600, the graph is running fine and the video is displayed by the Video Renderer. But, when I use resolutions like 1280x720, 1600x1200 or 1920x1080 the graph runs for two seconds and then stops - the Video Renderer show only a black image.
I debugged the source code and found out that in base_encoder.cpp in the method DeliverNextFrame(...) the following statement:
sts = pEncoder->m_mfxVideoSession.SyncOperation(*it->psyncP, 0);
returns with -1 (MFX_ERR_UNKNOWN), afterwards the graph is stopped. This happens only when using high resolutions. The same statement returns always 1 (MFX_WRN_IN_EXECUTION) when using low resolutions.
Media SDKs used for testing:
3.0 beta 3
3.0 beta 4