diff --git a/eh19/178.ts.png b/eh19/178.ts.png new file mode 100644 index 0000000..c792e8c Binary files /dev/null and b/eh19/178.ts.png differ diff --git a/eh19/Font/RobotoSlab-Bold.ttf b/eh19/Font/RobotoSlab-Bold.ttf new file mode 100755 index 0000000..df5d1df Binary files /dev/null and b/eh19/Font/RobotoSlab-Bold.ttf differ diff --git a/eh19/Font/RobotoSlab-Light.ttf b/eh19/Font/RobotoSlab-Light.ttf new file mode 100755 index 0000000..ccb99cd Binary files /dev/null and b/eh19/Font/RobotoSlab-Light.ttf differ diff --git a/eh19/Font/RobotoSlab-Regular.ttf b/eh19/Font/RobotoSlab-Regular.ttf new file mode 100755 index 0000000..eb52a79 Binary files /dev/null and b/eh19/Font/RobotoSlab-Regular.ttf differ diff --git a/eh19/Font/RobotoSlab-Thin.ttf b/eh19/Font/RobotoSlab-Thin.ttf new file mode 100755 index 0000000..fee11da Binary files /dev/null and b/eh19/Font/RobotoSlab-Thin.ttf differ diff --git a/eh19/__init__.py b/eh19/__init__.py new file mode 100644 index 0000000..07650b5 --- /dev/null +++ b/eh19/__init__.py @@ -0,0 +1,133 @@ +#!/usr/bin/python3 + +from renderlib import * +from easing import * + +# URL to Schedule-XML +#scheduleUrl = 'https://booksinthefridge.at/Downloads/testschedule.xml' +scheduleUrl = 'https://conference.c3w.at/eh19/schedule/export/schedule.xml' + +def introFrames(args): +#fade in hase and set other opacities to 0 + frames = 1*fps + for i in range(0, frames): + yield ( + ('hase', 'style', 'opacity', easeInQuad(i, 0, 1, frames)), + ('logotext', 'style', 'opacity', 0), + ('title', 'style', 'opacity', 0), + ('persons', 'style', 'opacity', 0), + ('id', 'style', 'opacity', 0), + ) + +#fade in title, subtitle, persons and id + frames = 2*fps + for i in range(0, frames): + yield( + ('title', 'style', 'opacity', easeInQuad(i, 0, 1, frames)), + ('persons', 'style', 'opacity', easeInQuad(i, 0, 1, frames)), + ('id', 'style', 'opacity', easeInQuad(i, 0, 1, frames)), + ) + +#show whole image for 5 seconds + frames = 5*fps + for i in range(0, frames): + yield( + ('title', 'style', 'opacity', 1), + ('persons', 'style', 'opacity', 1), + ('id', 'style', 'opacity', 1), + ) + + + +def outroFrames(args): +#fadein outro graphics + frames = 3*fps + for i in range(0, frames): + yield( + ('hase', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)), + ('logotext', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)), + ('c3voclogo', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)), + ('c3voctext', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)), + ('bysalogo', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)), + ('bysatext', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)), + ) + frames = 3*fps + for i in range(0, frames): + yield( + ('hase', 'style', 'opacity', 1), + ('logotext', 'style', 'opacity', 1), + ('c3voclogo', 'style', 'opacity', 1), + ('c3voctext', 'style', 'opacity', 1), + ('bysalogo', 'style', 'opacity', 1), + ('bysatext', 'style', 'opacity', 1), + ) + + +def debug(): + render( + 'intro.svg', + '../intro.ts', + introFrames, + { + '$id': 4711, + '$title': "Long Long Long title is LONG", + '$speaker': 'Long Name of Dr. Dr. Prof. Dr. Long Long' + } + ) + + render('outro.svg', + '../outro.ts', + outroFrames + ) + + render( + 'background.svg', + '../background.ts', + backgroundFrames + ) + + render('pause.svg', + '../pause.ts', + pauseFrames + ) + + + +def tasks(queue, args, idlist, skiplist): + # iterate over all events extracted from the schedule xml-export + for event in events(scheduleUrl): + if not (idlist==[]): + if 000000 in idlist: + print("skipping id (%s [%s])" % (event['title'], event['id'])) + continue + if int(event['id']) not in idlist: + print("skipping id (%s [%s])" % (event['title'], event['id'])) + continue + + # generate a task description and put it into the queue + queue.put(Rendertask( + infile = 'intro.svg', + outfile = str(event['id'])+".ts", + sequence = introFrames, + parameters = { + '$id': event['id'], + '$title': event['title'], + '$persons': event['personnames'] + } + )) + + # place a task for the outro into the queue + if not "out" in skiplist: + queue.put(Rendertask( + infile = 'outro.svg', + outfile = 'outro.ts', + sequence = outroFrames + )) + + # place the pause-sequence into the queue + if not "pause" in skiplist: + queue.put(Rendertask( + infile = 'pause.svg', + outfile = 'pause.ts', + sequence = pauseFrames + )) \ No newline at end of file diff --git a/eh19/artwork/background.png b/eh19/artwork/background.png new file mode 100644 index 0000000..14490a6 Binary files /dev/null and b/eh19/artwork/background.png differ diff --git a/eh19/artwork/background.svg b/eh19/artwork/background.svg new file mode 100644 index 0000000..f87d757 --- /dev/null +++ b/eh19/artwork/background.svg @@ -0,0 +1,14278 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eh19/artwork/intro.svg b/eh19/artwork/intro.svg new file mode 100644 index 0000000..cafae33 --- /dev/null +++ b/eh19/artwork/intro.svg @@ -0,0 +1,3680 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + $title $persons $id + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eh19/artwork/outro.svg b/eh19/artwork/outro.svg new file mode 100644 index 0000000..743df61 --- /dev/null +++ b/eh19/artwork/outro.svg @@ -0,0 +1,12286 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + C3VOC + + CC BY-SA 4.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eh19/artwork/pause.png b/eh19/artwork/pause.png new file mode 100644 index 0000000..4dfefdf Binary files /dev/null and b/eh19/artwork/pause.png differ diff --git a/eh19/artwork/pause.svg b/eh19/artwork/pause.svg new file mode 100644 index 0000000..3f2afb8 --- /dev/null +++ b/eh19/artwork/pause.svg @@ -0,0 +1,1260 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +