Jump to content

Movie Capture(Demo Record)


photo

Recommended Posts

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 очень тормозной.

Link to comment
  • 2 weeks later...

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.

Link to comment

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"?

Link to comment

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.

Link to comment
×
×
  • Create New...