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

Merge pull request #104951 from jitspoe/master.avi_16bit_audio

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:
Thaddeus Crews
2025-10-24 11:23:17 -05:00
4 changed files with 19 additions and 2 deletions

View File

@@ -1091,6 +1091,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.