make-ffmpeg: Rework config file

This commit is contained in:
Jannik Beyerstedt 2024-11-02 14:23:34 +01:00
parent 526ef6231a
commit 6876f2cf44
10 changed files with 73 additions and 78 deletions

View file

@ -1,39 +1,52 @@
[default]
[meta]
schedule = https://pretalx.c3voc.de/jhhh23/schedule/export/schedule.xml
;; path to background video
template = intro-background.ts
;; whether background video uses transparency (needs to be .mov)
alpha = false
;; whether background video is prores 4444
prores = false
fontfile = true
inout = t
;; in and out time format: t for seconds, n for frame number
inout_type = t
;; Some font settings can have defaults, which can be overridden in the
;; 'title', 'speaker' and 'text' sections below.
[default]
;; default font (either use 'fontfamily' or 'fontfile')
; fontfamily = arial
fontfile = SourceSansPro-Semibold.ttf
;; default font color
fontcolor = #ffffff
;; fields for title and speaker names are empty in the template.ts, so we'll render them in via ffmpeg
;; parameters are:
;; - in: start frame/ time
;; - out: end frame/ time
;; - fontfamily: font family
;; - fontfile: font file
;; - fontcolor: font color
;; - fontsize: font size (pixel)
;; - x: horizontal position (top left corner)
;; - y: vertical position (top left corner)
[title]
in = 1
out = 9.5
fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 67
fontcolor = #ffffff
x = 400
y = 870
[speaker]
in = 2
out = 9
fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 50
fontcolor = #ffffff
x = 400
y = 950
;; optional extra text
[text]
in = 0
out = 0
fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 0
fontcolor = #ffffff
x = 0
y = 0
text = ''