ffmpeg-ausgabe auch im Abspann verstecken

This commit is contained in:
MaZderMind 2014-03-06 10:37:15 +01:00
parent f5abcc92d1
commit cd3712582f

View file

@ -131,7 +131,7 @@ def abspann(lizenz, workdir='artwork', outdir='..'):
os.system('cd {0} && rsvg-convert .gen.svg > .frames/{1:04d}.png'.format(workdir, frameNr)) os.system('cd {0} && rsvg-convert .gen.svg > .frames/{1:04d}.png'.format(workdir, frameNr))
ensure_files_removed(filename) ensure_files_removed(filename)
os.system('cd {0} && avconv -f image2 -i .frames/%04d.png -c:v libx264 -preset veryslow -qp 0 "{1}"'.format(workdir, filename)) os.system('cd {0} && avconv -f image2 -i .frames/%04d.png -c:v libx264 -preset veryslow -qp 0 "{1}"'.format(workdir, filename) + ('' if debug else '>/dev/null 2>&1'))
if debug: if debug:
print "aufräumen" print "aufräumen"