From 7b45191e781b228e6427d2991a934ff56688fd21 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 30 Mar 2014 18:37:28 +0200 Subject: [PATCH] mux silence into the pre-/postroll DVs --- 2014/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2014/make.py b/2014/make.py index e07116a..e87ab2b 100755 --- a/2014/make.py +++ b/2014/make.py @@ -236,7 +236,7 @@ def render(infile, outfile, sequence, parameters={}, workdir='artwork'): # invoke avconv aka ffmpeg and renerate a lossles-mp4 from the frames # if we're not in debug-mode, suppress all output - os.system('cd {0} && avconv -f image2 -i .frames/%04d.png -target pal-dv "{1}"'.format(workdir, outfile) + ('' if debug else '>/dev/null 2>&1')) + os.system('cd {0} && avconv -ar 48000 -ac 2 -f s16le -i /dev/zero -f image2 -i .frames/%04d.png -target pal-dv "{1}"'.format(workdir, outfile) + ('' if debug else '>/dev/null 2>&1')) # as before, in non-debug-mode the thread-worker does all progress messages if debug: