- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use Intel Quick Sync Video H.264 Encoder MFT generate H264 frame in async mode.I found MFGetAttributeUINT32 funtion with MFT_SUPPORT_DYNAMIC_FORMAT_CHANGE return true.But i reset input type when screen resolution change using SetInputType function return MF_E_TRANSFORM_CANNOT_CHANGE_MEDIATYPE_WHILE_PROCESSING(0xC00D6D74),
https://docs.microsoft.com/en-us/windows/desktop/medfound/handling-stream-changes
MFT_SUPPORT_DYNAMIC_FORMAT_CHANGE is TRUE
1.The client calls IMFTransform::SetInputType to set the new input type.
2.The MFT validates the input type. If the type is invalid, SetInputType returns MF_E_INVALIDMEDIATYPE or another error code. Otherwise, SetInputType returns S_OK.
Although i tried the other way. By sending the MFT_MESSAGE_COMMAND_DRAIN message, reset input type when revice METransformDrainComplete event,and still got a MF_E_TRANSFORM_CANNOT_CHANGE_MEDIATYPE_WHILE_PROCESSING error. In my view, the component is abnormal.
Development environment:
intel i7 4790 windows7 64bit
mfx_mft_h264ve_w7_32.dll ver 4.13.1.11
Attached file is the log information generated by the MFTrace.exe tool.
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page