nick_de Posted April 16, 2012 Posted April 16, 2012 Hi Please make in new version video capture(demo record) from game in AVI file. Because method in Heaven Demo is very slow Привет. Пожалуйста сделайте,в новой версии возможность записи видео с экрана в AVI файл. Т.К метод показанный Heaven Demo очень тормозной.
manguste Posted April 24, 2012 Posted April 24, 2012 Unfortunately, we do not plan to extend this functionality. You can stick to one of the options: As in the Heaven demo, per frame pictures are saved (that's why it's so long) and glued together into a video sequence (for example, in VirtualDub). If you need to capture directly into an AVI file, try out a third-party tool like Fraps.
nick_de Posted April 25, 2012 Author Posted April 25, 2012 ok,we temporarily use solution how in heavenDemo ,but how check directory for "video" on exist? I use string framesSavePath ="video" if(is_dir(framesSavePath)!=1) mkdir(framesSavePath); but it create directory "video" in EngineBin directory,how create in "C:\users\%username\Unigine\video"?
unclebob Posted May 2, 2012 Posted May 2, 2012 Hi, Sorry for late reply. You can pass -project "Your project name" as additional command line argument and then use engine.getSavePath() call. For project with name 'Foo' it'll be <userdir>/Foo/ for Windows and <userdir>/.Foo/ for Linux and Mac.
Recommended Posts