1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Default mjpeg avi movie writer to 16 bit audio and add an editor option so it can still write 32 bit.

This commit is contained in:
jitspoe
2025-07-18 02:22:58 -04:00
parent 4ebf67c12d
commit 9a4ec179e4
4 changed files with 19 additions and 2 deletions

View File

@@ -1085,6 +1085,9 @@
<member name="editor/import/use_multiple_threads" type="bool" setter="" getter="" default="true">
If [code]true[/code] importing of resources is run on multiple threads.
</member>
<member name="editor/movie_writer/audio_bit_depth" type="int" setter="" getter="" default="16">
Number of bits per audio sample written to the [code].avi[/code] file. Only 16 and 32-bit are supported.
</member>
<member name="editor/movie_writer/disable_vsync" type="bool" setter="" getter="" default="false">
If [code]true[/code], requests V-Sync to be disabled when writing a movie (similar to setting [member display/window/vsync/vsync_mode] to [b]Disabled[/b]). This can speed up video writing if the hardware is fast enough to render, encode and save the video at a framerate higher than the monitor's refresh rate.
[b]Note:[/b] [member editor/movie_writer/disable_vsync] has no effect if the operating system or graphics driver forces V-Sync with no way for applications to disable it.