|
1094 | 1094 | <member name="editor/import/use_multiple_threads" type="bool" setter="" getter="" default="true"> |
1095 | 1095 | If [code]true[/code] importing of resources is run on multiple threads. |
1096 | 1096 | </member> |
1097 | | - <member name="editor/movie_writer/audio_quality" type="float" setter="" getter="" default="0.5"> |
1098 | | - The audio encoding quality to use when writing Theora (Ogg Vorbis) audio to a file, between [code]0.0[/code] and [code]1.0[/code] (inclusive). Higher [code]quality[/code] values result in better-sounding output at the cost of larger file sizes. Even at quality [code]1.0[/code], compression remains lossy. |
1099 | | - [b]Note:[/b] This does not affect video quality. |
1100 | | - </member> |
1101 | 1097 | <member name="editor/movie_writer/disable_vsync" type="bool" setter="" getter="" default="false"> |
1102 | 1098 | 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. |
1103 | 1099 | [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. |
|
1112 | 1108 | <member name="editor/movie_writer/movie_file" type="String" setter="" getter="" default=""""> |
1113 | 1109 | The output path for the movie. The file extension determines the [MovieWriter] that will be used. |
1114 | 1110 | Godot has 3 built-in [MovieWriter]s: |
1115 | | - - OGV container with Theora for video and Vorbis for audio ([code].ogv[/code] file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing [member ProjectSettings.editor/movie_writer/video_quality] and [member ProjectSettings.editor/movie_writer/audio_quality]. The resulting file can be viewed in Godot with [VideoStreamPlayer] and most video players, but not web browsers as they don't support Theora. |
| 1111 | + - OGV container with Theora for video and Vorbis for audio ([code].ogv[/code] file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing [member ProjectSettings.editor/movie_writer/video_quality] and [member ProjectSettings.editor/movie_writer/ogv/audio_quality]. The resulting file can be viewed in Godot with [VideoStreamPlayer] and most video players, but not web browsers as they don't support Theora. |
1116 | 1112 | - AVI container with MJPEG for video and uncompressed audio ([code].avi[/code] file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing [member ProjectSettings.editor/movie_writer/video_quality]. The resulting file can be viewed in most video players, but it must be converted to another format for viewing on the web or by Godot with [VideoStreamPlayer]. MJPEG does not support transparency. AVI output is currently limited to a file of 4 GB in size at most. |
1117 | 1113 | - PNG image sequence for video and WAV for audio ([code].png[/code] file extension). Lossless compression, large file sizes, slow encoding. Designed to be encoded to a video file with another tool such as [url=https://ffmpeg.org/]FFmpeg[/url] after recording. Transparency is currently not supported, even if the root viewport is set to be transparent. |
1118 | 1114 | If you need to encode to a different format or pipe a stream through third-party software, you can extend this [MovieWriter] class to create your own movie writers. |
1119 | 1115 | When using PNG output, the frame number will be appended at the end of the file name. It starts from 0 and is padded with 8 digits to ensure correct sorting and easier processing. For example, if the output path is [code]/tmp/hello.png[/code], the first two frames will be [code]/tmp/hello00000000.png[/code] and [code]/tmp/hello00000001.png[/code]. The audio will be saved at [code]/tmp/hello.wav[/code]. |
1120 | 1116 | </member> |
| 1117 | + <member name="editor/movie_writer/ogv/audio_quality" type="float" setter="" getter="" default="0.2"> |
| 1118 | + The audio encoding quality to use when writing Vorbis audio to a file, between [code]-0.1[/code] and [code]1.0[/code] (inclusive). Higher [code]quality[/code] values result in better-sounding output at the cost of larger file sizes. Even at quality [code]1.0[/code], compression remains lossy. |
| 1119 | + [b]Note:[/b] This does not affect video quality. |
| 1120 | + </member> |
| 1121 | + <member name="editor/movie_writer/ogv/encoding_speed" type="int" setter="" getter="" default="3"> |
| 1122 | + Trades speed for compression. Speed [code]1[/code] is the slowest but provides the best compression. Speed [code]4[/code] is the fastest but provides the worst compression. |
| 1123 | + </member> |
| 1124 | + <member name="editor/movie_writer/ogv/keyframe_interval" type="int" setter="" getter="" default="64"> |
| 1125 | + Forces keyframes at the specified interval. Higher values can improve compression up to a certain level at the expense of some seek latency. |
| 1126 | + </member> |
| 1127 | + <member name="editor/movie_writer/ogv/video_bitrate" type="int" setter="" getter="" default="0"> |
| 1128 | + When greater than [code]0[/code] CBR is used instead of VBR and sets the target bitrate for the video encoder in KB. The higher the value the better video quality and bigger file size. VBR should give better results and it's thus recommended to leave this value at [code]0[/code]. |
| 1129 | + </member> |
1121 | 1130 | <member name="editor/movie_writer/speaker_mode" type="int" setter="" getter="" default="0"> |
1122 | 1131 | The speaker mode to use in the recorded audio when writing a movie. See [enum AudioServer.SpeakerMode] for possible values. |
1123 | 1132 | </member> |
|
0 commit comments