Jugendhackt: Make SVG templates for intro and outro
This commit is contained in:
parent
b0e83b1134
commit
32cc33e82f
7 changed files with 3250 additions and 19 deletions
45
jugendhackt/Readme.md
Normal file
45
jugendhackt/Readme.md
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# Jugend Hackt Design
|
||||||
|
|
||||||
|
Different Jugend hackt events use a similar design for intro and outro, but different accent colors.
|
||||||
|
This can be achieved by replacing the color and location in a template SVG.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
With this configuration, intros and an outro can be generated for any Jugend hackt event using the `make-ffmpeg.py` workflow.
|
||||||
|
The ffmpeg video filter-based workflow uses one background video and applies the title and speaker names on top.
|
||||||
|
|
||||||
|
To setup a new event, take the color codes from below and follow these steps:
|
||||||
|
|
||||||
|
1. Generate "outro.ts"
|
||||||
|
- Copy `outro-template.svg` to `outro.svg`
|
||||||
|
- Replace `$LOCATION` in the SVG with the location name (in capital letters)
|
||||||
|
- Replace `$alpaca_color` in the SVG with corresponding color code
|
||||||
|
- Convert the SVG into png, e.g. with `inkscape --export-filename=outro.png outro.svg`
|
||||||
|
- Generate a video from the background: `ffmpeg -loop 1 -i outro.png -f lavfi -i anullsrc -c:v mpeg2video -t 10 -aspect 16:9 -c:a mp2 -b:v 2500k -map 0:v -map 1:a outro.ts`
|
||||||
|
2. Generate "intro-background.ts"
|
||||||
|
- Copy `intro-background-template.svg` to `intro-background.svg`
|
||||||
|
- Replace `$LOCATION` in the SVG with the location name (in capital letters)
|
||||||
|
- Replace `$alpaca_color` in the SVG with corresponding color code
|
||||||
|
- Convert the SVG into png, e.g. with `inkscape --export-filename=intro-background.png intro-background.svg`
|
||||||
|
- Generate a video from the background: `ffmpeg -loop 1 -i intro-background.png -f lavfi -i anullsrc -c:v mpeg2video -t 10 -aspect 16:9 -c:a mp2 -b:v 2500k -map 0:v -map 1:a intro-background.ts`
|
||||||
|
3. Edit the schedule URL in the `config.ini`
|
||||||
|
4. Run `./make-ffmpeg.py jugendhackt/` and copy the generated files to the encoder
|
||||||
|
|
||||||
|
Note: Do **not** commit the customized SVGs to the repo, but keep this folder generic.
|
||||||
|
If you really want to commit the config, copy this to a different folder.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
| Location/ Usage | Color Code | Color Name |
|
||||||
|
| ---------------------------- | ---------- | ----------- |
|
||||||
|
| Jugend hackt Logo | #00a6de | Soft Blue |
|
||||||
|
| Hamburg, MV | #00b48d | Soft Green |
|
||||||
|
| Dresden | #f3971b | Soft Orange |
|
||||||
|
| Frankfurt | #51509d | Soft Purple |
|
||||||
|
| Halle | #e6414a | Soft Red |
|
||||||
|
| Berlin | #00498c | Deep Blue |
|
||||||
|
| AT/Linz | #4cad37 | Deep Green |
|
||||||
|
| Rhein-Neckar, München, Ulm | #ea680c | Deep Orange |
|
||||||
|
| Köln | #4c2582 | Deep Purple |
|
||||||
|
| CH/Zürich | #e52420 | Deep Red |
|
||||||
|
| kein Event | #e95197 | Pink |
|
Binary file not shown.
Before Width: | Height: | Size: 49 KiB |
Binary file not shown.
Before Width: | Height: | Size: 86 KiB |
|
@ -1,7 +1,6 @@
|
||||||
[default]
|
[default]
|
||||||
schedule = https://jh.franzi.business/schedule/jh23dd.xml
|
schedule = https://pretalx.c3voc.de/jhhh23/schedule/export/schedule.xml
|
||||||
# ffmpeg -loop 1 -i alpaka_orange.png -f lavfi -i anullsrc -c:v mpeg2video -t 10 -aspect 16:9 -c:a mp2 -b:v 2500k -map 0:v -map 1:a alpaka_orange.ts
|
template = intro-background.ts
|
||||||
template = alpaka_orange.ts
|
|
||||||
alpha = false
|
alpha = false
|
||||||
prores = false
|
prores = false
|
||||||
fontfile = true
|
fontfile = true
|
||||||
|
@ -12,29 +11,29 @@ in = 1
|
||||||
out = 9.5
|
out = 9.5
|
||||||
fontfamily =
|
fontfamily =
|
||||||
fontfile = SourceSansPro-Semibold.ttf
|
fontfile = SourceSansPro-Semibold.ttf
|
||||||
fontsize = 100
|
fontsize = 67
|
||||||
fontcolor = #00a5dd
|
fontcolor = #ffffff
|
||||||
x = 100
|
x = 400
|
||||||
y = 785
|
y = 870
|
||||||
|
|
||||||
[speaker]
|
[speaker]
|
||||||
in = 2
|
in = 2
|
||||||
out = 9
|
out = 9
|
||||||
fontfamily =
|
fontfamily =
|
||||||
fontfile = SourceSansPro-Semibold.ttf
|
fontfile = SourceSansPro-Semibold.ttf
|
||||||
fontsize = 55
|
fontsize = 50
|
||||||
fontcolor = #00a5dd
|
fontcolor = #ffffff
|
||||||
x = 100
|
x = 400
|
||||||
y = 900
|
y = 950
|
||||||
|
|
||||||
|
|
||||||
[text]
|
[text]
|
||||||
in = 3
|
in = 0
|
||||||
out = 8
|
out = 0
|
||||||
fontfamily =
|
fontfamily =
|
||||||
fontfile = SourceSansPro-Semibold.ttf
|
fontfile = SourceSansPro-Semibold.ttf
|
||||||
fontsize = 45
|
fontsize = 0
|
||||||
fontcolor = #00a5dd
|
fontcolor = #ffffff
|
||||||
x = 100
|
x = 0
|
||||||
y = 720
|
y = 0
|
||||||
text = 'Jugend hackt Dresden 2023'
|
text = ''
|
||||||
|
|
||||||
|
|
1629
jugendhackt/intro-background-template.svg
Normal file
1629
jugendhackt/intro-background-template.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 166 KiB |
1558
jugendhackt/outro-template.svg
Normal file
1558
jugendhackt/outro-template.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 130 KiB |
Binary file not shown.
Loading…
Add table
Reference in a new issue