Backport changes introduced by "update make-ffmpeg"

This commit is contained in:
Jannik Beyerstedt 2023-10-22 21:20:14 +02:00
parent c69dbd089a
commit e13ac70e2b
8 changed files with 75 additions and 36 deletions

View file

@ -3,11 +3,14 @@ schedule = https://fahrplan.events.ccc.de/camp/2019/Fahrplan/schedule.xml
template = cccamp19_talks_intro_1080p.mov template = cccamp19_talks_intro_1080p.mov
alpha = true alpha = true
prores = true prores = true
fontfile = true
inout = n
[title] [title]
in = 193 in = 193
out = 324 out = 324
font = Marvel-Bold.ttf fontfamily =
fontfile = Marvel-Bold.ttf
fontsize = 120 fontsize = 120
fontcolor = #c68100 fontcolor = #c68100
x = (w-text_w)/2 x = (w-text_w)/2
@ -16,7 +19,8 @@ y = 480
[speaker] [speaker]
in = 233 in = 233
out = 324 out = 324
font = Marvel-Regular.ttf fontfamily =
fontfile = Marvel-Regular.ttf
fontsize = 70 fontsize = 70
fontcolor = #c68100 fontcolor = #c68100
x = (w-text_w)/2 x = (w-text_w)/2
@ -25,7 +29,8 @@ y = 845
[text] [text]
in = 242 in = 242
out = 324 out = 324
font = Marvel-Regular.ttf fontfamily =
fontfile = Marvel-Regular.ttf
fontsize = 45 fontsize = 45
fontcolor = #c68100 fontcolor = #c68100
x = (w-text_w)/2 x = (w-text_w)/2

View file

@ -3,11 +3,14 @@ schedule = https://pretalx.denog.de/denog11/schedule/export/schedule.xml
template = denog11_intro_template.ts template = denog11_intro_template.ts
alpha = false alpha = false
prores = false prores = false
fontfile = true
inout = n
[title] [title]
in = 1 in = 1
out = 6.5 out = 6.5
font = DejaVuSans.ttf fontfamily =
fontfile = DejaVuSans.ttf
fontsize = 100 fontsize = 100
fontcolor = #f9cc12 fontcolor = #f9cc12
x = 640 x = 640
@ -16,7 +19,8 @@ y = 200
[speaker] [speaker]
in = 2 in = 2
out = 6.5 out = 6.5
font = DejaVuSans.ttf fontfamily =
fontfile = DejaVuSans.ttf
fontsize = 60 fontsize = 60
fontcolor = #ffffff fontcolor = #ffffff
x = 640 x = 640
@ -25,7 +29,8 @@ y = 900
[text] [text]
in = 3 in = 3
out = 6.5 out = 6.5
font = DejaVuSans.ttf fontfamily =
fontfile = DejaVuSans.ttf
fontsize = 45 fontsize = 45
fontcolor = #ffffff fontcolor = #ffffff
x = 640 x = 640

View file

@ -3,11 +3,14 @@ schedule = https://projects.alpaka.space/media/jhber19-schedule.xml
template = intro-alpha.mov template = intro-alpha.mov
alpha = true alpha = true
prores = true prores = true
fontfile = true
inout = n
[title] [title]
in = 175 in = 175
out = 260 out = 260
font = SourceSansPro-Bold.otf fontfamily =
fontfile = SourceSansPro-Bold.otf
fontsize = 90 fontsize = 90
fontcolor = #ffffff fontcolor = #ffffff
x = 1090 x = 1090
@ -16,7 +19,8 @@ y = 450
[speaker] [speaker]
in = 175 in = 175
out = 260 out = 260
font = SourceSansPro-Regular.otf fontfamily =
fontfile = SourceSansPro-Regular.otf
fontsize = 36 fontsize = 36
fontcolor = #ffffff fontcolor = #ffffff
x = 1090 x = 1090
@ -25,7 +29,8 @@ y = 900
[text] [text]
in = 200 in = 200
out = 250 out = 250
font = SourceSansPro-Regular.otf fontfamily =
fontfile = SourceSansPro-Regular.otf
fontsize = 45 fontsize = 45
fontcolor = #c68100 fontcolor = #c68100
x = (w-text_w)/2 x = (w-text_w)/2

View file

@ -5,6 +5,10 @@ schedule = https://releasing.c3voc.de/releases/jhjue2020/schedule-jhjue20.xml
template = jh20-jue_intro_template.ts template = jh20-jue_intro_template.ts
alpha = false alpha = false
prores = false prores = false
; enable using a font file
fontfile = true
; in and out time format: t for seconds, n for frame number
inout = n
; fields for title and speaker names are empty in the template.ts, so we'll render them in via ffmpeg ; fields for title and speaker names are empty in the template.ts, so we'll render them in via ffmpeg
[title] [title]
@ -12,8 +16,9 @@ prores = false
in = 20 in = 20
; outframe for totle ; outframe for totle
out = 225 out = 225
; title font ; title font (either font family or file, see default setting above)
font = ebisu.ttf fontfamily =
fontfile = ebisu.ttf
; title font size ; title font size
fontsize = 70 fontsize = 70
; title color ; title color
@ -25,7 +30,8 @@ y = 865
[speaker] [speaker]
in = 40 in = 40
out = 225 out = 225
font = ebisu.ttf fontfamily =
fontfile = ebisu.ttf
fontsize = 40 fontsize = 40
fontcolor = #eeeeee fontcolor = #eeeeee
x = 600 x = 600
@ -35,7 +41,8 @@ y = 950
[text] [text]
in = 3 in = 3
out = 4 out = 4
font = ebisu.ttf fontfamily =
fontfile = ebisu.ttf
fontsize = 45 fontsize = 45
fontcolor = #ffffff fontcolor = #ffffff
x = 640 x = 640

View file

@ -3,11 +3,14 @@ schedule = https://pretalx.c3voc.de/jugend-hackt-rhein-neckar-2021/schedule/expo
template = jh21-rn-template.ts template = jh21-rn-template.ts
alpha = false alpha = false
prores = false prores = false
fontfile = true
inout = t
[title] [title]
in = 1 in = 1
out = 6.5 out = 6.5
font = SourceSansPro-Semibold.ttf fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 85 fontsize = 85
fontcolor = #ffffff fontcolor = #ffffff
x = 410 x = 410
@ -16,7 +19,8 @@ y = 877
[speaker] [speaker]
in = 2 in = 2
out = 6.5 out = 6.5
font = SourceSansPro-Semibold.ttf fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 45 fontsize = 45
fontcolor = #ffffff fontcolor = #ffffff
x = 410 x = 410
@ -25,7 +29,8 @@ y = 954
[text] [text]
in = 3 in = 3
out = 6.5 out = 6.5
font = SourceSansPro-Semibold.ttf fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 45 fontsize = 45
fontcolor = #ffffff fontcolor = #ffffff
x = 1920 x = 1920

View file

@ -4,11 +4,14 @@ schedule = https://jh.franzi.business/schedule/jh23dd.xml
template = alpaka_orange.ts template = alpaka_orange.ts
alpha = false alpha = false
prores = false prores = false
fontfile = true
inout = t
[title] [title]
in = 1 in = 1
out = 9.5 out = 9.5
font = SourceSansPro-Semibold.ttf fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 100 fontsize = 100
fontcolor = #00a5dd fontcolor = #00a5dd
x = 100 x = 100
@ -17,7 +20,8 @@ y = 785
[speaker] [speaker]
in = 2 in = 2
out = 9 out = 9
font = SourceSansPro-Semibold.ttf fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 55 fontsize = 55
fontcolor = #00a5dd fontcolor = #00a5dd
x = 100 x = 100
@ -26,7 +30,8 @@ y = 900
[text] [text]
in = 3 in = 3
out = 8 out = 8
font = SourceSansPro-Semibold.ttf fontfamily =
fontfile = SourceSansPro-Semibold.ttf
fontsize = 45 fontsize = 45
fontcolor = #00a5dd fontcolor = #00a5dd
x = 100 x = 100

View file

@ -75,8 +75,8 @@ cparser.read(os.path.join(os.path.dirname(args.project), 'config.ini'))
template = cparser['default']['template'] template = cparser['default']['template']
alpha = cparser['default']['alpha'] alpha = cparser['default']['alpha']
prores = cparser['default']['prores'] prores = cparser['default']['prores']
fontfile = cparser['default']['fontfile'] fontfile = cparser['default']['fontfile'] # use a font file instead of a font family
inout = cparser['default']['inout'] inout = cparser['default']['inout'] # in and out time format: t for seconds, n for frame number
title_in = cparser['title']['in'] title_in = cparser['title']['in']
title_out = cparser['title']['out'] title_out = cparser['title']['out']

View file

@ -2,11 +2,16 @@
#schedule = https://talks.mrmcd.net/2019/schedule/export/schedule.xml #schedule = https://talks.mrmcd.net/2019/schedule/export/schedule.xml
schedule = file:///home/thorti/git/c3voc/intro-outro-generator/mrmcd2019/schedule.xml schedule = file:///home/thorti/git/c3voc/intro-outro-generator/mrmcd2019/schedule.xml
template = mrmcd2019.mov template = mrmcd2019.mov
alpha = false
prores = false
fontfile = true
inout = n
[title] [title]
in = 50 in = 50
out = 225 out = 225
font = Jura-Bold.ttf fontfamily =
fontfile = Jura-Bold.ttf
fontsize = 80 fontsize = 80
fontcolor = #47acda fontcolor = #47acda
x = (w-text_w)/2 x = (w-text_w)/2
@ -15,7 +20,8 @@ y = 540
[speaker] [speaker]
in = 75 in = 75
out = 225 out = 225
font = Jura-Regular.ttf fontfamily =
fontfile = Jura-Regular.ttf
fontsize = 50 fontsize = 50
fontcolor = #094762 fontcolor = #094762
x = (w-text_w)/2 x = (w-text_w)/2
@ -24,7 +30,8 @@ y = 950
[text] [text]
in = 242 in = 242
out = 324 out = 324
font = Jura-Regular.ttf fontfamily =
fontfile = Jura-Regular.ttf
fontsize = 45 fontsize = 45
fontcolor = #c68100 fontcolor = #c68100
x = (w-text_w)/2 x = (w-text_w)/2