mux silence into the pre-/postroll DVs

This commit is contained in:
MaZderMind 2014-03-30 18:37:28 +02:00
parent cd9d665970
commit 7b45191e78

View file

@ -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: