Record matinee movie from inside a packaged game

Hello mates, i got good new and bad new. The good new is by following this instruction how to link static and this instruction how to capture screen using DirectX libraries, i have managed to capture and create a huge avi video file. And by huge, i mean it. And that is the bad new. I haven’t figure out how to use video codec from inside unreal, so the result video file is big and some how the frame are mess up.