subscribe: update config for subscribe9
This commit is contained in:
parent
f1d511b97f
commit
6de62e446d
2 changed files with 51 additions and 39 deletions
|
@ -4,7 +4,7 @@ from renderlib import *
|
||||||
from easing import *
|
from easing import *
|
||||||
|
|
||||||
# URL to Schedule-XML
|
# URL to Schedule-XML
|
||||||
scheduleUrl = 'https://frab.das-sendezentrum.de/de/subscribe8/public/schedule.xml'
|
scheduleUrl = 'https://frab.das-sendezentrum.de/de/subscribe9/public/schedule.xml'
|
||||||
|
|
||||||
titlemap = {
|
titlemap = {
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ def introFrames(p):
|
||||||
# ('text', 'attr', 'transform', 'translate(%.4f, 0)' % easeOutQuad(i, move, -move, frames)),
|
# ('text', 'attr', 'transform', 'translate(%.4f, 0)' % easeOutQuad(i, move, -move, frames)),
|
||||||
)
|
)
|
||||||
|
|
||||||
# 5 Sekunde Text
|
# 5 Sekunden Text
|
||||||
frames = 5*fps
|
frames = 5*fps
|
||||||
for i in range(0, frames):
|
for i in range(0, frames):
|
||||||
givenFrame += 1
|
givenFrame += 1
|
||||||
|
@ -98,14 +98,15 @@ def pauseFrames(p):
|
||||||
|
|
||||||
def debug():
|
def debug():
|
||||||
render(
|
render(
|
||||||
['intro.svg', 'intro_audio.ts'],
|
['intro.svg', '../intro_audio.ts'],
|
||||||
'../intro.ts',
|
'../intro.ts',
|
||||||
introFrames,
|
introFrames,
|
||||||
{
|
{
|
||||||
'$id': 65,
|
'$id': 65,
|
||||||
'$title': 'Passwort, Karte oder Gesicht'.upper(),
|
'$title': 'Das Parallele Podcastuniversum'.upper(),
|
||||||
'$subtitle': 'zur Sicherheit von Authentifizierungssystemen',
|
'$subtitle': 'Ein Einblick in die Podcast-Szene der DIY- und Kreativ-Ecke',
|
||||||
'$personnames': 'starbug'
|
'$personnames': 'Monika Andrae'.upper(),
|
||||||
|
#'only_render_frame': 353
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -121,19 +122,29 @@ def debug():
|
||||||
# pauseFrames
|
# pauseFrames
|
||||||
# )
|
# )
|
||||||
|
|
||||||
def tasks(queue, args):
|
def tasks(queue, args, id_list, skip_list):
|
||||||
# iterate over all events extracted from the schedule xml-export
|
# iterate over all events extracted from the schedule xml-export
|
||||||
for event in events(scheduleUrl, titlemap):
|
for event in events(scheduleUrl, titlemap):
|
||||||
|
|
||||||
|
# skip events which will not be recorded
|
||||||
|
if event['room'] not in ('Großer Sitzungssaal', 'Kleiner Sitzungssaal'):
|
||||||
|
print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id']))
|
||||||
|
continue
|
||||||
|
|
||||||
|
# when id_list is not empty, only render events which are in id_list
|
||||||
|
if id_list and int(event['id']) not in id_list:
|
||||||
|
print("skipping id (%s [%s])" % (event['title'], event['id']))
|
||||||
|
continue
|
||||||
|
|
||||||
# generate a task description and put them into the queue
|
# generate a task description and put them into the queue
|
||||||
queue.put(Rendertask(
|
queue.put(Rendertask(
|
||||||
infile = ['intro.svg', 'intro_audio.ts'],
|
infile = ['intro.svg', '../intro_audio.ts'],
|
||||||
outfile = str(event['id']) + ".ts",
|
outfile = str(event['id']) + ".ts",
|
||||||
sequence = introFrames,
|
sequence = introFrames,
|
||||||
parameters = {
|
parameters = {
|
||||||
'$id': event['id'],
|
'$id': event['id'],
|
||||||
'$title': event['title'].upper(),
|
'$title': event['title'].upper(),
|
||||||
'$subtitle': event['subtitle'],
|
'$subtitle': event['subtitle'],
|
||||||
'$personnames': event['personnames']
|
'$personnames': event['personnames'].upper(),
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
enable-background="new 0 0 1920 1080"
|
enable-background="new 0 0 1920 1080"
|
||||||
xml:space="preserve"
|
xml:space="preserve"
|
||||||
id="svg2"
|
id="svg2"
|
||||||
inkscape:version="0.48.5 r10040"
|
inkscape:version="0.91 r13725"
|
||||||
sodipodi:docname="intro-ralf.svg"><metadata
|
sodipodi:docname="intro.svg"><metadata
|
||||||
id="metadata29"><rdf:RDF><cc:Work
|
id="metadata29"><rdf:RDF><cc:Work
|
||||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
|
||||||
id="defs27" /><sodipodi:namedview
|
id="defs27" /><sodipodi:namedview
|
||||||
pagecolor="#ffffff"
|
pagecolor="#ffffff"
|
||||||
bordercolor="#666666"
|
bordercolor="#666666"
|
||||||
|
@ -33,32 +33,33 @@
|
||||||
guidetolerance="10"
|
guidetolerance="10"
|
||||||
inkscape:pageopacity="0"
|
inkscape:pageopacity="0"
|
||||||
inkscape:pageshadow="2"
|
inkscape:pageshadow="2"
|
||||||
inkscape:window-width="1366"
|
inkscape:window-width="1354"
|
||||||
inkscape:window-height="768"
|
inkscape:window-height="856"
|
||||||
id="namedview25"
|
id="namedview25"
|
||||||
showgrid="false"
|
showgrid="false"
|
||||||
inkscape:zoom="0.37989796"
|
inkscape:zoom="0.32100002"
|
||||||
inkscape:cx="733.22098"
|
inkscape:cx="1025.3747"
|
||||||
inkscape:cy="586.24413"
|
inkscape:cy="621.13416"
|
||||||
inkscape:window-x="-7"
|
inkscape:window-x="-2"
|
||||||
inkscape:window-y="0"
|
inkscape:window-y="2"
|
||||||
inkscape:window-maximized="0"
|
inkscape:window-maximized="0"
|
||||||
inkscape:current-layer="layer1" /><g
|
inkscape:current-layer="layer1" /><g
|
||||||
inkscape:label="Hintergrund"
|
inkscape:label="Hintergrund"
|
||||||
inkscape:groupmode="layer"
|
inkscape:groupmode="layer"
|
||||||
id="layer-bg"
|
id="layer-bg"
|
||||||
style="display:inline"><image
|
style="display:inline"><image
|
||||||
xlink:href="/mnt/minion4/intro-outro-generator/subscribe/artwork/given-frames/frame0353.png"
|
sodipodi:absref="/Users/andi/Projekte/ccc/voc/intro-outro-generator/subscribe/artwork/given-frames/frame0353.png"
|
||||||
y="0"
|
xlink:href="given-frames/frame0353.png"
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
id="bg"
|
|
||||||
x="0"
|
x="0"
|
||||||
sodipodi:absref="/mnt/minion4/intro-outro-generator/subscribe/artwork/given-frames/frame0353.png" /></g><g
|
id="bg"
|
||||||
|
height="1080"
|
||||||
|
width="1920"
|
||||||
|
y="0" /></g><g
|
||||||
id="layer1"
|
id="layer1"
|
||||||
inkscape:groupmode="layer"
|
inkscape:groupmode="layer"
|
||||||
style="opacity:1;display:inline"><g
|
style="opacity:1;display:inline"><g
|
||||||
id="g16"><path
|
id="g16"
|
||||||
|
transform="translate(8.2630017,-36.922117)"><path
|
||||||
id="sublogo_x5F_subscribe"
|
id="sublogo_x5F_subscribe"
|
||||||
d="m 756.005,963.188 c -10.081,0 -19.348,3.479 -26.669,9.303 l 8.637,8.639 c 5.068,-3.672 11.296,-5.838 18.033,-5.838 17,0 30.781,13.783 30.781,30.782 0,16.999 -13.781,30.781 -30.781,30.781 -17,0 -30.782,-13.782 -30.782,-30.781 0,-6.676 2.127,-12.854 5.737,-17.897 l -8.644,-8.645 c -5.759,7.302 -9.198,16.521 -9.198,26.542 0,23.685 19.201,42.885 42.885,42.885 23.684,0 42.885,-19.2 42.885,-42.885 0,-23.685 -19.199,-42.886 -42.884,-42.886 z m 10e-4,64.817 c 12.111,0 21.931,-9.817 21.931,-21.931 0,-12.111 -9.82,-21.931 -21.931,-21.931 -12.112,0 -21.931,9.819 -21.931,21.931 10e-4,12.114 9.82,21.931 21.931,21.931 z m -13.762,-24.744 11.293,0 0,-11.294 5.306,0 0,11.294 11.288,0 0,5.307 -11.288,0 0,11.282 -5.306,0 0,-11.282 -11.293,0 0,-5.307 z"
|
d="m 756.005,963.188 c -10.081,0 -19.348,3.479 -26.669,9.303 l 8.637,8.639 c 5.068,-3.672 11.296,-5.838 18.033,-5.838 17,0 30.781,13.783 30.781,30.782 0,16.999 -13.781,30.781 -30.781,30.781 -17,0 -30.782,-13.782 -30.782,-30.781 0,-6.676 2.127,-12.854 5.737,-17.897 l -8.644,-8.645 c -5.759,7.302 -9.198,16.521 -9.198,26.542 0,23.685 19.201,42.885 42.885,42.885 23.684,0 42.885,-19.2 42.885,-42.885 0,-23.685 -19.199,-42.886 -42.884,-42.886 z m 10e-4,64.817 c 12.111,0 21.931,-9.817 21.931,-21.931 0,-12.111 -9.82,-21.931 -21.931,-21.931 -12.112,0 -21.931,9.819 -21.931,21.931 10e-4,12.114 9.82,21.931 21.931,21.931 z m -13.762,-24.744 11.293,0 0,-11.294 5.306,0 0,11.294 11.288,0 0,5.307 -11.288,0 0,11.282 -5.306,0 0,-11.282 -11.293,0 0,-5.307 z"
|
||||||
inkscape:connector-curvature="0"
|
inkscape:connector-curvature="0"
|
||||||
|
@ -70,30 +71,30 @@
|
||||||
font-size="61.5872"
|
font-size="61.5872"
|
||||||
letter-spacing="-3"
|
letter-spacing="-3"
|
||||||
id="tspan21"
|
id="tspan21"
|
||||||
style="font-size:61.58720016000000186px;letter-spacing:-3;fill:#ffffff;font-family:Overpass-Bold">SUBSCRIBE </tspan><tspan
|
style="font-size:61.58720016px;font-family:Overpass-Bold;letter-spacing:-3;fill:#ffffff">SUBSCRIBE 9</tspan><tspan
|
||||||
x="338.88"
|
x="338.88"
|
||||||
y="0"
|
y="0"
|
||||||
font-size="61.5872"
|
font-size="61.5872"
|
||||||
letter-spacing="-3"
|
letter-spacing="-3"
|
||||||
id="tspan23"
|
id="tspan23"
|
||||||
style="font-size:61.58720016000000186px;letter-spacing:-3;fill:#ffffff;font-family:Overpass-Light">8</tspan></text>
|
style="font-size:61.58720016px;font-family:Overpass-Light;letter-spacing:-3;fill:#ffffff" /></text>
|
||||||
</g><flowRoot
|
</g><flowRoot
|
||||||
xml:space="preserve"
|
xml:space="preserve"
|
||||||
id="flowRoot3344"
|
id="flowRoot3344"
|
||||||
style="font-size:46px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;display:inline;font-family:Overpass;-inkscape-font-specification:Overpass"
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:46px;line-height:125%;font-family:Overpass;-inkscape-font-specification:Overpass;text-align:center;writing-mode:lr-tb;text-anchor:middle;display:inline;fill:#ffffff"
|
||||||
transform="translate(-47.65625,129.46774)"><flowRegion
|
transform="translate(41.22168,129.46774)"><flowRegion
|
||||||
id="flowRegion3346"><rect
|
id="flowRegion3346"><rect
|
||||||
id="rect3348"
|
id="rect3348"
|
||||||
width="1413.1884"
|
width="1235.4078"
|
||||||
height="536.98633"
|
height="639.49005"
|
||||||
x="301.07437"
|
x="301.07437"
|
||||||
y="151.82379"
|
y="151.82379"
|
||||||
style="font-size:46px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Overpass;-inkscape-font-specification:Overpass" /></flowRegion><flowPara
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:46px;line-height:125%;font-family:Overpass;-inkscape-font-specification:Overpass;text-align:center;writing-mode:lr-tb;text-anchor:middle" /></flowRegion><flowPara
|
||||||
id="flowPara3354"
|
id="flowPara3354"
|
||||||
style="font-size:70px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;text-transform:uppercase;fill:#ffffff;font-family:Overpass;-inkscape-font-specification:Overpass Bold">$title</flowPara><flowPara
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:110px;line-height:110.00000238%;font-family:Overpass;-inkscape-font-specification:'Overpass, Bold';text-align:center;text-transform:uppercase;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff">$title</flowPara><flowPara
|
||||||
id="flowPara3360"
|
id="flowPara3360"
|
||||||
style="font-size:40px;line-height:125%">$subtitle</flowPara><flowPara
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:60px;line-height:110.00000238%;font-family:Overpass;-inkscape-font-specification:'Overpass, Normal';text-align:center;writing-mode:lr-tb;text-anchor:middle">$subtitle</flowPara><flowPara
|
||||||
style="font-size:40px;line-height:125%"
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.5px;line-height:125%;font-family:Overpass;-inkscape-font-specification:'Overpass, Normal';text-align:center;writing-mode:lr-tb;text-anchor:middle"
|
||||||
id="flowPara3003" /><flowPara
|
id="flowPara4165"> </flowPara><flowPara
|
||||||
id="flowPara3362"
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:60px;line-height:110.00000238%;font-family:Overpass;-inkscape-font-specification:'Overpass, Normal';text-align:center;writing-mode:lr-tb;text-anchor:middle"
|
||||||
style="font-size:40px;line-height:125%">$personnames</flowPara></flowRoot></g></svg>
|
id="flowPara4169">$personnames</flowPara></flowRoot></g></svg>
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5.6 KiB |
Loading…
Add table
Reference in a new issue