Closed sunfanyunn closed 6 years ago
Currently, our render has not provided a way to save a standalone version of videos like MP4, MPEG and AVI. We have a very big map with millions of agents so basically we cannot save all of them into one video. But we might add some utilities to save the rendered episode in a clipped window.
How can I change the parameters in "Window" programatically? Is it possible?
I am just wondering how is the gif that are used to demo(in the READMD.md) created? I would like to do the same thing with my self-designed game. Thanks in advance !
Currently the properties of window can be only modified by pressing Up, Down, Left and Right (see here). If you want to change it in a program, you may send the respective keys to the browser (but currently the render is only for the purpose of watching how agents perform).
The video in the README is firstly recorded by screen recording programs like Vokoscreen and then converted into GIF format using ffmpeg.
Thanks a lot!
Of course I can use something like selenium and save screenshots to form a video later. But is there any easier or better way of doing this?