Configuration
renderkit.core.config.ConversionConfig
dataclass
Configuration for image sequence to video conversion.
Source code in src/renderkit/core/config.py
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
__post_init__()
Validate configuration after initialization.
Source code in src/renderkit/core/config.py
159 160 161 162 163 164 165 166 167 168 169 170 171 | |
renderkit.core.config.ConversionConfigBuilder
Builder for ConversionConfig using Builder pattern.
Source code in src/renderkit/core/config.py
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | |
__init__()
Initialize the builder.
Source code in src/renderkit/core/config.py
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | |
build()
Build the ConversionConfig object.
Source code in src/renderkit/core/config.py
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | |
with_bitrate(bitrate)
Set the video bitrate.
Source code in src/renderkit/core/config.py
238 239 240 241 | |
with_burnin(config)
Set the burn-in configuration.
Source code in src/renderkit/core/config.py
259 260 261 262 | |
with_codec(codec)
Set the video codec.
Source code in src/renderkit/core/config.py
233 234 235 236 | |
with_color_space_preset(preset)
Set the color space preset.
Source code in src/renderkit/core/config.py
217 218 219 220 | |
with_contact_sheet(enabled=True, config=None)
Enable contact sheet mode.
Source code in src/renderkit/core/config.py
264 265 266 267 268 269 270 | |
with_explicit_input_color_space(space_name)
Set explicit input color space name (for OCIO).
Source code in src/renderkit/core/config.py
222 223 224 225 | |
with_fps(fps)
Set the frame rate.
Source code in src/renderkit/core/config.py
212 213 214 215 | |
with_frame_range(start, end)
Set the frame range.
Source code in src/renderkit/core/config.py
253 254 255 256 257 | |
with_input_pattern(pattern)
Set the input file pattern.
Source code in src/renderkit/core/config.py
197 198 199 200 | |
with_layer(layer)
Set the EXR layer to extract.
Source code in src/renderkit/core/config.py
248 249 250 251 | |
with_output_path(path)
Set the output video path.
Source code in src/renderkit/core/config.py
202 203 204 205 | |
with_prefetch_workers(workers)
Set number of prefetch worker threads for frame reads.
Source code in src/renderkit/core/config.py
207 208 209 210 | |
with_quality(quality)
Set the video quality (0-10).
Source code in src/renderkit/core/config.py
243 244 245 246 | |
with_resolution(width, height)
Set the output resolution.
Source code in src/renderkit/core/config.py
227 228 229 230 231 | |
renderkit.core.config.ContactSheetConfig
dataclass
Configuration for contact sheet layout in multi-AOV mode.
Source code in src/renderkit/core/config.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
__post_init__()
Validate configuration.
Source code in src/renderkit/core/config.py
45 46 47 48 49 50 51 52 53 54 55 56 | |
resolve_layer_size(source_width, source_height)
Resolve target layer size based on config or source resolution.
Source code in src/renderkit/core/config.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
renderkit.core.config.ContactSheetConfigBuilder
Builder for ContactSheetConfig.
Source code in src/renderkit/core/config.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
__init__()
Initialize builder.
Source code in src/renderkit/core/config.py
81 82 83 84 85 86 87 88 89 90 | |
build()
Build ContactSheetConfig.
Source code in src/renderkit/core/config.py
121 122 123 124 125 126 127 128 129 130 131 132 | |
with_columns(columns)
Set number of columns.
Source code in src/renderkit/core/config.py
92 93 94 95 | |
with_labels(show, font_size=16)
Set label options.
Source code in src/renderkit/core/config.py
115 116 117 118 119 | |
with_layer_size(width, height=None)
Set explicit per-layer size.
Source code in src/renderkit/core/config.py
102 103 104 105 106 107 108 | |
with_padding(padding)
Set padding between thumbnails.
Source code in src/renderkit/core/config.py
110 111 112 113 | |
with_thumbnail_width(width)
Set thumbnail width.
Source code in src/renderkit/core/config.py
97 98 99 100 | |