add support for background audio during intro
This commit is contained in:
parent
7b19aa5b20
commit
c593a0dd07
3 changed files with 22 additions and 5 deletions
|
@ -98,7 +98,7 @@ def pauseFrames(p):
|
|||
|
||||
def debug():
|
||||
render(
|
||||
'intro.svg',
|
||||
['intro.svg', 'intro_audio.ts'],
|
||||
'../intro.ts',
|
||||
introFrames,
|
||||
{
|
||||
|
@ -127,8 +127,8 @@ def tasks(queue, args):
|
|||
|
||||
# generate a task description and put them into the queue
|
||||
queue.put(Rendertask(
|
||||
infile = 'intro.svg',
|
||||
outfile = str(event['id'])+".ts",
|
||||
infile = ['intro.svg', 'intro_audio.ts'],
|
||||
outfile = str(event['id']) + ".ts",
|
||||
sequence = introFrames,
|
||||
parameters = {
|
||||
'$id': event['id'],
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
ffmpeg -i session_opener-25fps.mp4 given-frames/frame%04d.png
|
||||
ffmpeg -i session_opener-25fps.mp4 -map 0:a -ar 48000 -ac 1 -f s16le -shortest -f mpegts intro_audio.ts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue