lordmauve / wasabi2d

Cutting-edge 2D game framework for Python
https://wasabi2d.readthedocs.io/
GNU Lesser General Public License v3.0
156 stars 24 forks source link

Video recording with ffmpeg #6

Closed lordmauve closed 5 years ago

lordmauve commented 5 years ago

RecordMyDesktop is giving terrible video quality, with frame drops and tearing.

In order to present wasabi2d fairly in social media it would be best to record flawless videos. An article on how to do this is here:

http://zulko.github.io/blog/2013/09/27/read-and-write-video-frames-in-python-using-ffmpeg/

This could be a framework feature. F12 takes a screenshot already; Shift-F12 could start recording a video?

lordmauve commented 5 years ago

Done - although it is available as scene.toggle_recording(), not as F12 (turns out that was not a built in feature).