Relative Content

Tag Archive for 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

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 […]