You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following settings allow to configure recording quality
158
+
Two rendering modes are supported:
159
+
* Realtime rendering: suitable for previews and scenarios where real-time interaction with the visuals are required. As with all real-time video capture, frame drops might occur, especially on lower spec hardware or when rendering very complex visuals.
160
+
* Offline rendering: suitable for production-grade rendering. Each frame is rendered sequentially without any drops.
161
+
162
+
The default is real-time rendering to activate offline rendering set `shader-toy.recordOffline`to true.
163
+
164
+
### Shared parameters
165
+
166
+
*`shader-toy.recordTargetFramerate`: Set recording target frame-rate. Default is 30fps.
167
+
*`shader-toy.recordMaxDuration`: Maximum recording duration in seconds. 0 (the default) will keep recording until the record button is pressed again.
168
+
169
+
### Real-time Rendering parameters
170
+
159
171
*`shader-toy.recordVideoContainer`: Set the video file container. Currently only `webm` is supported, but `mp4`support is coming [soon](https://chromestatus.com/feature/5163469011943424).
160
172
*`shader-toy.recordVideoCodec`: Set video codec. `vp8`, `vp9`, `h264` and `avc1` are all supported. Default it `vp8`.
161
173
*`shader-toy.recordVideoBitRate`: Set recording bit rate in bits/second. Default is 2500000.
162
-
*`shader-toy.recordTargetFramerate`: Set recording target frame-rate. Default is 30fps.
163
-
*`shader-toy.recordMaxDuration`: Maximum recording duration in seconds. 0 (the default) will keep recording until the record button is pressed again.
174
+
175
+
### Offline rendering parameters
176
+
177
+
*`shader-toy.recordOfflineFormat`: Offline recording format. Possible value are `webm`, `gif`, `png` and `jpg`. PNG and JPEG images are individual images packaged in a .tar archive.
178
+
*`shader-toy.recordOfflineQuality`: Offline recording quality. 0 is lowest and 100 highest. Applies when format is `webm` or `jpg`.
164
179
165
180
## Requirements
166
181
@@ -185,12 +200,15 @@ Contributions of any kind are welcome and encouraged.
185
200
## Release Notes
186
201
187
202
### 0.11.4
188
-
* Added `shader-toy.recordVideoContainer` (set video file container),
189
-
* Added `shader-toy.recordVideoCodec` (set video codec),
190
-
* Added `shader-toy.recordVideoBitRate` (set recording bit rate),
191
-
* Added `shader-toy.recordMaxDuration` (set maximum recording duration),
192
-
* Fixed the `shader-toy.recordTargetFramerate` setting,
203
+
* Added `shader-toy.recordVideoContainer` (set video file container).
204
+
* Added `shader-toy.recordVideoCodec` (set video codec).
205
+
* Added `shader-toy.recordVideoBitRate` (set recording bit rate).
206
+
* Added `shader-toy.recordMaxDuration` (set maximum recording duration).
207
+
* Fixed the `shader-toy.recordTargetFramerate` setting.
193
208
* Moved the Stats widget to the bottom left, so it doesn't overlap with the GUI.
209
+
* Added `shader-toy.recordOffline` to switch between real-time and offline rendering.
210
+
* Added `shader-toy.recordOfflineFormat`. Used in conjunction with `shader-toy.recordOffline`
211
+
* Added `shader-toy.recordOfflineQuality`. Used in conjunction with `shader-toy.recordOffline`
0 commit comments