strict=-2
This commit is contained in:
parent
dae591ada3
commit
f433db0e7b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue