strict=-2

This commit is contained in:
j 2017-02-17 22:51:54 +01:00
parent dae591ada3
commit f433db0e7b

View file

@ -11,7 +11,7 @@ for xml in glob('output/*/*.xml'):
audio = mp4 + '.wav' audio = mp4 + '.wav'
if not os.path.exists(mp4) or os.path.getmtime(xml) > os.path.getmtime(mp4): if not os.path.exists(mp4) or os.path.getmtime(xml) > os.path.getmtime(mp4):
subprocess.call([ subprocess.call([
'qmelt', xml, '-consumer', 'avformat:' + video, 'vcodec=libx264' 'qmelt', xml, '-consumer', 'avformat:' + video, 'vcodec=libx264', 'strict=-2'
]) ])
subprocess.call([ subprocess.call([
'qmelt', xml, '-consumer', 'avformat:' + audio, 'qmelt', xml, '-consumer', 'avformat:' + audio,