fastest method to capture game screen shots in c#?(more than20 images per second)

前端 未结 1 812
星月不相逢
星月不相逢 2021-01-03 08:30

How can i make screenshoots to the entire game screen very fast? Somthing like 20-30 per second?(i want to convert them to video)

[[1]] I\'ve tried WMEncoder.Results

相关标签:
1条回答
  • 2021-01-03 08:55

    You really want to hook into directx so you can make the calls as if you were that game/application. Below are a few sites that do this (most draw extra things, but i don't see why you couldn't save the backbuffer every x frames):

    http://www.gamedev.net/topic/359794-c-direct3d-hooking-sample/

    Disclamer: I've not tried this, so not sure what FPS you can get, however i would think this is the fastest method as you're doing it effectively from within the game.

    0 讨论(0)
提交回复
热议问题