Add pause image
Signed-off-by: Dennis Morhardt <info@dennismorhardt.de>
This commit is contained in:
parent
a2ba02c04f
commit
359316bf2c
2 changed files with 252 additions and 0 deletions
|
@ -37,6 +37,11 @@ def outroFrames(parameters):
|
|||
for i in range(0, frames):
|
||||
yield ()
|
||||
|
||||
def pauseFrames(parameters):
|
||||
frames = 5*fps
|
||||
for i in range(0, frames):
|
||||
yield ()
|
||||
|
||||
def debug():
|
||||
render(
|
||||
'intro.svg',
|
||||
|
@ -55,6 +60,12 @@ def debug():
|
|||
outroFrames
|
||||
)
|
||||
|
||||
render(
|
||||
'pause.svg',
|
||||
'../pause.dv',
|
||||
pauseFrames
|
||||
)
|
||||
|
||||
def tasks(queue, parameters):
|
||||
# iterate over all events extracted from the schedule xml-export
|
||||
for event in events(scheduleUrl):
|
||||
|
@ -79,3 +90,9 @@ def tasks(queue, parameters):
|
|||
outfile = 'outro.ts',
|
||||
sequence = outroFrames
|
||||
))
|
||||
|
||||
queue.put(Rendertask(
|
||||
infile = 'pause.svg',
|
||||
outfile = 'pause.dv',
|
||||
sequence = pauseFrames
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue