-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdailies-config.yaml
More file actions
492 lines (456 loc) · 12.8 KB
/
dailies-config.yaml
File metadata and controls
492 lines (456 loc) · 12.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
76
77
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
133
134
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
172
173
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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
globals:
# Path to the ocio config to use
ocioconfig: /af/show/oa/assets/lut/ocio_config/publish/main/lut/v012/bundle/config.ocio
# Default ocio profile to use if not specified on the commandline
ocio_default_transform: grade
###############################################
## Reformatting and Cropping
###############################################
# If debug is true, no encoding will be done and there will be debug prints
debug: true
# Number of pixels to crop from width and height before resizing to dailies res.
# Enter an int pixel number, or a percentage like 5% or 6.25%
cropwidth:
cropheight:
# width and height are the resolution to reformat to.
width: 1920
height: 1080
# If fit=false there will be no padding: height will be ignored and the aspect ratio of the input will be preserved.
fit: true
# Enable an oiio pixel filter to use for scaling. Default is good: blackman-harris for scaling up, lanczos3 for scaling down.
#
# Possible filters: https://github.com/OpenImageIO/oiio/blob/master/src/libutil/filter.cpp
# // name dim width fixedwidth scalable separable
# { "box", 1, 1, false, true, true },
# { "triangle", 1, 2, false, true, true },
# { "gaussian", 1, 3, false, true, true },
# { "sharp-gaussian", 1, 2, false, true, true },
# { "catmull-rom", 1, 4, false, true, true },
# { "blackman-harris", 1, 3, false, true, true },
# { "sinc", 1, 4, false, true, true },
# { "lanczos3", 1, 6, false, true, true },
# { "mitchell", 1, 4, false, true, true },
# { "bspline", 1, 4, false, true, true },
# { "cubic", 1, 4, false, true, true },
# { "keys", 1, 4, false, true, true },
# { "simon", 1, 4, false, true, true },
# { "rifman", 1, 4, false, true, true }
filter:
# Output framerate. film=24, hdtv=23.98 = 24000/1001, pal=25, ntsc=30000/1001
framerate: 24
# specify a default video filter string to use in ffmpeg.
# https://trac.ffmpeg.org/wiki/Scaling
# https://ffmpeg.org/ffmpeg-scaler.html
# Example: "lut3d=${lut},scale=w=${width}:h=${height}:force_original_aspect_ratio=1,pad=${width}:${height}:(ow-iw)/2:(oh-ih)/2"
vf:
# Choose which output profile to use by default if none specified. See options below.
output_codec: h264_hq
# Movie location is a relative or absolute path for where to place the daily movie
# For example ../ will place it in the directory above the frames. /place/output will place it here.
movie_location: ~/tmp/dailies
movie_ext: mov
# If true, appends "_<codec name>" to the movie file
movie_append_codec: true
# All possible input image extensions that will be considered. (Uppercase will automatically be added)
input_image_formats: ['exr', 'tif', 'tiff', 'png', 'jpg', 'jpeg', 'iff', 'tex', 'tx', 'jp2', 'j2c']
###############################################
## OpenColorIO Profiles
###############################################
ocio_profiles:
grade:
# ocio colorspace conversion: [src_colorspace, dst_colorspace]
ociocolorconvert: ["linear", "client_grade"]
show_log:
ociocolorconvert: ["linear", "REDLog3G10"]
###############################################
## Dailies Overlay Profiles
###############################################
# Dailies overlay profiles to use for different purposes. Each profile allows you to specify an overlay behavior.
dailies_profiles:
# Internal Daily: overlays for frame counter, artist, comment, date, etc
internal:
# path to ttf font file
font:
# Specify default font size in percentage of frame width. E.g. a value of 1.0 in a 1920x1080 image would be 19.6px
# small = 0.4, medium = 0.8, big = 1.3
font_size:
# justify x left or center
justify:
# Specify the percentage of font_size to use as leading: the space between lines
leading: 0.15
# Specify default font color [R,G,B,A]
font_color: [0.8, 0.8, 0.8, 1.0]
# Enable an overlay to crop the pixels to a specific aspect ratio.
# For example to do a hard crop to 2.35 set the cropmask-ar to 2.35 and the crop mask opacity to 1.0
cropmask:
enable: true
aspect: 1.85
opacity: 0.5
text_elements:
datetime:
enable: true
prefix:
font: fonts/Helvetica/Helvetica.ttf
font_size: 0.0145833333333
# Position a box: 2 x/y coordinates: [LL, UR]. 0,0 is Lower Left (Nuke-style)
box: [0.8427083333333333, 0.9481481481481482, 0.9975179036458334, 0.996875]
font_color: [0.8, 0.8, 0.8, 1.0]
justify: left
# https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
# Specify the datetime format. For example "%Y-%m-%dT%H:%M:%S" is ISO 8601 standard date format
# This would be Mon July 7 2017 23h13: "%a %b %d %Y %Hh%M"
datetime_format: "%Y-%m-%d - %Hh%M"
artist:
enable: true
prefix:
font: fonts/Helvetica/Helvetica.ttf
font_size: 0.0145833333333
# Position a box: 2 x/y coordinates: [LL, UR]. 0,0 is Lower Left (Nuke-style)
box: [0.4328125, 0.9481481481481482, 0.5796875, 0.9998842592592593]
font_color: [0.8, 0.8, 0.8, 1.0]
justify: center
comment:
enable: true
prefix:
font: fonts/Helvetica/Helvetica.ttf
font_size: 0.0125
# Position a box: 2 x/y coordinates: [LL, UR]. 0,0 is Lower Left (Nuke-style)
box: [0.018229166666666668, 0.018518518518518517, 0.49270833333333336, 0.14166666666666666]
font_color: [0.8, 0.8, 0.8, 1.0]
justify: left
framecounter:
enable: true
prefix:
font: fonts/Helvetica/Helvetica.ttf
font_size: 0.0145833333333
# Position a box: 2 x/y coordinates: [LL, UR]. 0,0 is Lower Left (Nuke-style)
box: [0.9375, 0.016666666666666666, 0.9890299479166667, 0.08333333333333333]
font_color: [0.8, 0.8, 0.8, 1.0]
justify: left
padding: 5
discipline:
enable: true
prefix:
font: fonts/Helvetica/Helvetica.ttf
font_size: 0.0145833333333
# Position a box: 2 x/y coordinates: [LL, UR]. 0,0 is Lower Left (Nuke-style)
box: [0.020833333333333332, 0.9481481481481482, 0.14719645182291666, 0.987037037037037]
font_color: [0.8, 0.8, 0.8, 1.0]
justify: left
# Delivery profile - minimal overlays with cropmask and slate.
delivery:
cropmask:
framecounter:
slate:
text_elements:
# Output profile definitions.
output_codecs:
avchq:
name: avchq
overlay: internal_daily
cropwidth:
cropheight:
width: 1920
height: 1080
fit:
framerate:
codec: libx264
profile: high444
qscale:
preset: slower
keyint: 1
bframes: 0
tune: film
crf: 13
pix_fmt: yuv444p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor:
metadata_s:
bitrate:
movie_ext: mov
avclq:
name: avclq
overlay: internal_daily
cropwidth:
cropheight:
width:
height:
fit:
framerate:
codec: libx264
profile: high
qscale:
preset: slower
keyint: 1
bframes: 0
tune: film
crf: 17
pix_fmt: yuv420p
vf: colormatrix=bt601:bt709
bitdepth: 8
vendor:
metadata_s:
bitrate:
movie_ext: mp4
avc_lq:
name: avc_lq
overlay: internal_daily
cropwidth:
cropheight:
width:
height:
fit:
framerate:
codec: libx264
profile: high444
qscale:
preset: slower
keyint: 1
bframes: 0
tune: film
crf: 17
pix_fmt: yuv444p10le
vf: colormatrix=bt601:bt709
bitdepth: 8
vendor:
metadata_s:
bitrate:
movie_ext: mov
##############################################################
# x265: https://x265.readthedocs.io/en/default/cli.html
# The following profiles are supported in x265.
# 8bit profiles:
# * main, main-intra, mainstillpicture (or msp for short)
# * main444-8, main444-intra, main444-stillpicture
# 10bit profiles:
# * main10, main10-intra
# * main422-10, main422-10-intra
# * main444-10, main444-10-intra
# 12bit profiles:
# * main12, main12-intra
# * main422-12, main422-12-intra
# * main444-12, main444-12-intra
hevc_hq:
# https://unix.stackexchange.com/questions/230800/re-encoding-video-library-in-x265-hevc-with-no-quality-loss
# https://gist.github.com/Brainiarc7/8b471ff91319483cdb725f615908286e
name: hevc_hq
overlay: internal_daily
cropwidth:
cropheight:
width: 1920
height: 1080
fit:
framerate:
codec: libx265
profile: main444-10-intra
qscale:
# Possible presets: ultrafast superfast veryfast faster fast medium slow slower veryslow placebo
preset: medium
keyint: 1
bframes: 0
# Possible tunes: psnr ssim grain zerolatency fastdecode
tune: psnr
crf: 13
pix_fmt: yuv444p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor:
metadata_s:
bitrate:
movie_ext: mov
hevc_lq:
name: hevc_lq
overlay: internal_daily
cropwidth:
cropheight:
width: 1920
height: 1080
fit:
framerate:
codec: libx265
profile: main10-intra
qscale:
# Possible presets: ultrafast superfast veryfast faster fast medium slow slower veryslow placebo
preset: medium
keyint: 1
bframes: 0
# Possible tunes: psnr ssim grain zerolatency fastdecode
tune: psnr
crf: 17
pix_fmt: yuv420p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor:
metadata_s:
bitrate:
movie_ext: mov
hevc:
name: hevc
overlay: internal_daily
cropwidth:
cropheight:
width: 1920
height: 1080
fit:
framerate:
codec: libx265
profile: main10
qscale:
# Possible presets: ultrafast superfast veryfast faster fast medium slow slower veryslow placebo
preset: medium
keyint:
bframes:
# Possible tunes: psnr ssim grain zerolatency fastdecode
tune: psnr
crf: 21
pix_fmt: yuv420p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor:
metadata_s:
bitrate:
movie_ext: mov
prores_4444:
name: prores_4444
overlay: delivery
width:
height:
fit:
framerate:
codec: prores_ks
profile: 4
qscale: 5
preset:
keyint:
bframes:
tune:
crf:
pix_fmt: yuva444p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor: ap10
metadata_s: encoder="Apple ProRes 4444"
bitrate:
movie_ext: mov
prores_422hq:
name: prores_422hq
overlay: delivery
width:
height:
fit:
framerate:
codec: prores_ks
profile: 3
qscale: 7
preset:
keyint:
bframes:
tune:
crf:
pix_fmt: yuva444p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor: ap10
metadata_s: encoder="Apple ProRes 422 HQ"
bitrate:
movie_ext: mov
prores_422:
name: prores_422
overlay: delivery
width:
height:
fit:
framerate:
codec: prores_ks
profile: 2
qscale: 7
preset:
keyint:
bframes:
tune:
crf:
pix_fmt: yuva444p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor: ap10
metadata_s: encoder="Apple ProRes 422 HQ"
bitrate:
movie_ext: mov
dnxhd_36:
overlay: delivery
dnxhd_175:
# http://forum.selur.de/topic1348-dnxhr-encoding.html
# 1920x1080p 175 10 24000/1001
name: dnxhd_175
overlay: delivery
width: 1920
height: 1080
fit: yes
framerate: 24000/1001
codec: dnxhd
profile: dnxhd
qscale:
preset:
keyint:
bframes:
tune:
crf:
pix_fmt: yuva422p10le
vf: colormatrix=bt601:bt709
bitdepth: 10
vendor:
metadata_s:
bitrate: 175M
movie_ext: mov
dnxhr_hqx:
# https://askubuntu.com/questions/907398/how-to-convert-a-video-with-ffmpeg-into-the-dnxhd-dnxhr-format
# dnxhd, dnxhr_444, dnxhr_hqx, dnxhr_hq, dnxhr_sq, dnxhr_lb
# 12 bit 4:2:2
name: dnxhr_hqx
width:
height:
fit:
framerate:
codec: dnxhd
profile: dnxhr_hqx
qscale:
preset:
keyint:
bframes:
tune:
crf:
pix_fmt: yuv422p12le
vf: colormatrix=bt601:bt709
bitdepth: 12
vendor:
metadata_s:
bitrate: 175M
movie_ext: mov
mjpeg:
# Special codec to concatenate input images into a quicktime container
name: mjpeg
overlay: internal_daily
cropwidth:
cropheight:
width: 1920
height: 1080
fit:
framerate:
codec: copy
profile:
# Jpeg compression quality: 0-100
quality: 90
qscale:
preset:
keyint:
bframes:
tune:
crf:
pix_fmt:
vf:
bitdepth: 8
vendor:
metadata_s:
bitrate:
movie_ext: mov