godot/core/object
reduz 5786516d4d Implement Running Godot as Movie Writer
* Allows running the game in "movie writer" mode.
* It ensures entirely stable framerate, so your run can be saved stable and with proper sound (which is impossible if your CPU/GPU can't sustain doing this in real-time).
* If disabling vsync, it can save movies faster than the game is run, but if you want to control the interaction it can get difficult.
* Implements a simple, default MJPEG writer.

This new features has two main use cases, which have high demand:
* Saving game videos in high quality and ensuring the frame rate is *completely* stable, always.
* Using Godot as a tool to make movies and animations (which is ideal if you want interaction, or creating them procedurally. No other software is as good for this).

**Note**: This feature **IS NOT** for capturing real-time footage. Use something like OBS, SimpleScreenRecorder or FRAPS to achieve that, as they do a much better job at intercepting the compositor than Godot can probably do using Vulkan or OpenGL natively. If your game runs near real-time when capturing, you can still use this feature but it will play no sound (sound will be saved directly).

Usage:

$ godot --write-movie movie.avi [scene_file.tscn]

Missing:

* Options for configuring video writing via GLOBAL_DEF
* UI Menu for launching with this mode from the editor.
* Add to list of command line options.
* Add a feature tag to override configurations when movie writing (fantastic for saving videos with highest quality settings).
2022-06-21 11:28:47 +02:00
..
callable_method_pointer.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
callable_method_pointer.h Add callable_mp_static 2022-05-22 15:36:34 +02:00
class_db.cpp Add a new HashSet template 2022-05-20 22:40:38 +02:00
class_db.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
make_virtuals.py Fix typos with codespell 2022-03-31 14:07:29 +02:00
message_queue.cpp Replace most uses of Map by HashMap 2022-05-16 10:37:48 +02:00
message_queue.h Zero initialize all pointer class and struct members 2022-04-04 19:49:50 +02:00
method_bind.cpp Remove argument name strings from release builds 2022-04-05 20:40:07 -03:00
method_bind.h Fix more issues found by cppcheck. 2022-04-20 10:34:00 +03:00
object_id.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
object.cpp Change set/get binding to use StringName 2022-06-14 16:27:33 +02:00
object.h Implement Running Godot as Movie Writer 2022-06-21 11:28:47 +02:00
ref_counted.cpp Remove RES and REF typedefs in favor of spelled out Ref<> 2022-05-03 01:43:50 +02:00
ref_counted.h Remove RES and REF typedefs in favor of spelled out Ref<> 2022-05-03 01:43:50 +02:00
script_language_extension.cpp Fix signal completion in GDScript editor 2022-05-12 16:10:48 +03:00
script_language_extension.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
script_language.cpp Add a new HashSet template 2022-05-20 22:40:38 +02:00
script_language.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
SCsub Implement native extension system 2021-06-25 17:32:45 -03:00
undo_redo.cpp Make vararg method bind no return and return 2022-03-30 11:43:12 +02:00
undo_redo.h Make vararg method bind no return and return 2022-03-30 11:43:12 +02:00