froscon2024: init
This commit is contained in:
parent
1893beda4d
commit
893c0d94e6
6 changed files with 3442 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,3 +12,4 @@ schedule.de.xml
|
||||||
snapshot-*.png
|
snapshot-*.png
|
||||||
env
|
env
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.python-version
|
||||||
|
|
BIN
froscon2024/Exo-Medium.ttf
Normal file
BIN
froscon2024/Exo-Medium.ttf
Normal file
Binary file not shown.
BIN
froscon2024/OpenSans-Regular.ttf
Normal file
BIN
froscon2024/OpenSans-Regular.ttf
Normal file
Binary file not shown.
39
froscon2024/config.ini
Normal file
39
froscon2024/config.ini
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
[default]
|
||||||
|
schedule = https://programm.froscon.org/2024/schedule.xml
|
||||||
|
template = intro-background.ts
|
||||||
|
alpha = false
|
||||||
|
prores = false
|
||||||
|
fontfile = true
|
||||||
|
inout = t
|
||||||
|
|
||||||
|
[title]
|
||||||
|
in = 1
|
||||||
|
out = 9.5
|
||||||
|
fontfamily =
|
||||||
|
font = Exo-Medium.ttf
|
||||||
|
fontsize = 67
|
||||||
|
fontcolor = #493fa0
|
||||||
|
x = 230
|
||||||
|
y = 650
|
||||||
|
|
||||||
|
[speaker]
|
||||||
|
in = 2
|
||||||
|
out = 9
|
||||||
|
fontfamily =
|
||||||
|
font = OpenSans-Regular.ttf
|
||||||
|
fontsize = 50
|
||||||
|
fontcolor = #493fa0
|
||||||
|
x = 230
|
||||||
|
y = 950
|
||||||
|
|
||||||
|
|
||||||
|
[text]
|
||||||
|
in = 0
|
||||||
|
out = 0
|
||||||
|
fontfamily =
|
||||||
|
font = OpenSans-Regular.ttf
|
||||||
|
fontsize = 0
|
||||||
|
fontcolor = #ffffff
|
||||||
|
x = 0
|
||||||
|
y = 0
|
||||||
|
text = ''
|
3400
froscon2024/intro-background.svg
Normal file
3400
froscon2024/intro-background.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 2 MiB |
|
@ -180,7 +180,7 @@ def fit_text(string: str, frame_width):
|
||||||
line = []
|
line = []
|
||||||
for word in split_line:
|
for word in split_line:
|
||||||
new_line = line + [word.rstrip(':')]
|
new_line = line + [word.rstrip(':')]
|
||||||
w, _ = translation_font.getsize(" ".join(new_line))
|
w = translation_font.getlength(" ".join(new_line))
|
||||||
print(w, new_line)
|
print(w, new_line)
|
||||||
if w > frame_width:
|
if w > frame_width:
|
||||||
print("too wide, breaking", line)
|
print("too wide, breaking", line)
|
||||||
|
@ -272,6 +272,7 @@ def enqueue_job(event):
|
||||||
fade_out_end_time=speaker_in + fade_duration + speaker_duration + fade_duration,
|
fade_out_end_time=speaker_in + fade_duration + speaker_duration + fade_duration,
|
||||||
fade_duration=fade_duration
|
fade_duration=fade_duration
|
||||||
)
|
)
|
||||||
|
videofilter = videofilter.strip(',')
|
||||||
|
|
||||||
if fileformat == '.mov':
|
if fileformat == '.mov':
|
||||||
if alpha == 'true':
|
if alpha == 'true':
|
||||||
|
|
Loading…
Add table
Reference in a new issue