Open 607011 opened 9 years ago
This should be done by running the recorder in a separate thread. The thread reads the readily rendered screen at a rate of e.g. 60 fps, encodes it and streams it to disk. See http://stackoverflow.com/questions/15914012/encoding-a-screenshot-into-a-video-using-ffmpeg for hints on how to implement this feature.
Part of the work done in branch "Recorder": audio is grabbed via loopback recording and saved to an AAC file, video is saved as an H.264 encoded MP4 file.
The Recorder
class needs a complete rewrite :-(
Save gameplay as video on user's demand.