I'm using Media SDK 126.96.36.19971 on a Sandybridge machine.
I can get sample_encode h264 -i in.yuv -o out.264 to work. However, I get an error if I append the -hw argument, as described in this earlier thread
Return on error : .\\src\\pipeline_encode.cpp 638
Return on error : .\\src\\sample_encode.cpp 281
I've already tried reinstalling the SDK, and I noticed that there is no libmfxhw64-*.dll under .\\bin\\x64. Is it supposed to be there? How can I get -hw working?