diff --git a/rustfest18/__init__.py b/rustfest18/__init__.py new file mode 100644 index 0000000..6909057 --- /dev/null +++ b/rustfest18/__init__.py @@ -0,0 +1,95 @@ +#!/usr/bin/python3 + +from renderlib import * +from easing import * + +# URL to Schedule-XML +scheduleUrl = 'https://team.rrbone.net/public/rustfest18.xml' + +def introFrames(args): +#fade in pillgroup0 + frames = 1*fps + for i in range(0, frames): + yield ( + ('logotext', 'style', 'opacity', 0), + ('title', 'style', 'opacity', 0), + ('subtitle', '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)), + ('subtitle', '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 2 seconds + frames = 2*fps + for i in range(0, frames): + yield( + ('title', 'style', 'opacity', 1), + ('subtitle', '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( + ('background', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)), + ('rrbonelogo', '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( + ('background', 'style', 'opacity', 1), + ('rrbonelogo', 'style', 'opacity', 1), + ('c3voclogo', 'style', 'opacity', 1), + ('c3voctext', 'style', 'opacity', 1), + ('bysalogo', 'style', 'opacity', 1), + ('bysatext', 'style', 'opacity', 1), + ) + +def tasks(queue, args, idlist, skiplist): + # iterate over all events extracted from the schedule xml-export + for event in events(scheduleUrl): + if event['room'] not in ('Auditorium'): + print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id'])) + continue + 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 them into the queue + queue.put(Rendertask( + infile = 'intro.svg', + outfile = str(event['id'])+".ts", + sequence = introFrames, + parameters = { + '$id': event['id'], + '$title': event['title'], + '$subtitle': event['subtitle'], + '$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 + )) diff --git a/rustfest18/artwork/by-sa.svg b/rustfest18/artwork/by-sa.svg new file mode 100644 index 0000000..60b44e3 --- /dev/null +++ b/rustfest18/artwork/by-sa.svg @@ -0,0 +1,74 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/rustfest18/artwork/intro.svg b/rustfest18/artwork/intro.svg new file mode 100644 index 0000000..e298998 --- /dev/null +++ b/rustfest18/artwork/intro.svg @@ -0,0 +1,1051 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $title $subtitle $persons $id + + diff --git a/rustfest18/artwork/outro.svg b/rustfest18/artwork/outro.svg new file mode 100644 index 0000000..f947cd8 --- /dev/null +++ b/rustfest18/artwork/outro.svg @@ -0,0 +1,6029 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + CC BY-SA 4.0 + C3VOC + + + + diff --git a/rustfest18/artwork/sponsors/gold_1aim.svg b/rustfest18/artwork/sponsors/gold_1aim.svg new file mode 100644 index 0000000..e41c0ab --- /dev/null +++ b/rustfest18/artwork/sponsors/gold_1aim.svg @@ -0,0 +1,89 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/rustfest18/artwork/sponsors/gold_bitfury.svg b/rustfest18/artwork/sponsors/gold_bitfury.svg new file mode 100644 index 0000000..45ce456 --- /dev/null +++ b/rustfest18/artwork/sponsors/gold_bitfury.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/rustfest18/artwork/sponsors/gold_mozilla.svg b/rustfest18/artwork/sponsors/gold_mozilla.svg new file mode 100644 index 0000000..9751184 --- /dev/null +++ b/rustfest18/artwork/sponsors/gold_mozilla.svg @@ -0,0 +1,23 @@ + + + + + + + + + + diff --git a/rustfest18/artwork/sponsors/gold_snips.svg b/rustfest18/artwork/sponsors/gold_snips.svg new file mode 100644 index 0000000..ad07798 --- /dev/null +++ b/rustfest18/artwork/sponsors/gold_snips.svg @@ -0,0 +1 @@ +Sans titre - 1 \ No newline at end of file diff --git a/rustfest18/artwork/sponsors/platinum_parity.png b/rustfest18/artwork/sponsors/platinum_parity.png new file mode 100644 index 0000000..002eb03 Binary files /dev/null and b/rustfest18/artwork/sponsors/platinum_parity.png differ