will the transform auto fix the height of the IMFSample?
I capture the scrren and change its format to NV12 NV12 to H264 using IMFTransform now I want to dec it again H264 to NV12. I find that the image is broken. and I get the CurrentOutputType and find that the height is 1088 . I first the the width=1920 and height=1080. ms-media-foundation
will the transform auto fix the height of the IMFSample?
I capture the scrren and change its format to NV12 NV12 to H264 using IMFTransform now I want to dec it again H264 to NV12. I find that the image is broken. and I get the CurrentOutputType and find that the height is 1088 . I first the the width=1920 and height=1080. ms-media-foundation
will the transform auto fix the height of the IMFSample?
I capture the scrren and change its format to NV12 NV12 to H264 using IMFTransform now I want to dec it again H264 to NV12. I find that the image is broken. and I get the CurrentOutputType and find that the height is 1088 . I first the the width=1920 and height=1080. ms-media-foundation
Should I use `semaphore` or `ID3D10Multithread ` to solve the corrution of the memory?
D3D11 CORRUPTION: ID3D11DeviceContext::Unmap: Two threads were found to be executing functions associated with the same Device[Context] at the same time. This will cause corruption of memory. Appropriate thread synchronization needs to occur external to the Direct3D API (or through the ID3D10Multithread interface). 3628 and 17364 are the implicated thread ids. [ MISCELLANEOUS CORRUPTION #28: CORRUPTED_MULTITHREADING]
The `ProcessOutput` always blocked while successfully returned
first I run ProcessInput and ProcessOutput in different thread. one for ProcessInput and another for ProcessOutput then I combine it in one thread but same error. always blocked with no return. and I write the data what I ProcessInput and use CCPlay I can play it (H264). then I write Console Application of C++ and […]
E_INVALIDARG while I ProcessOutput NV12?
I am doing NV12 to H264 and always error.
How to SetSampleTime if the data is received of socket?
If I receive bytes in socket and then wrap it to IMFSample then I can not set the sampleTime right?
Transform is not work after many ProcessInput and ProcessOutput
I am using IMFTransform to decode H264 to NV12.
how to create video processor intput view using IMFMediaBuffer?
What I want to do is
how to free the memeory which is get in IMFTransform?
I am using IMFTransform and I will get the buffer.