remove audio special case
This commit is contained in:
parent
4faef5e1dd
commit
12c27dbb48
1 changed files with 0 additions and 14 deletions
14
render.py
14
render.py
|
|
@ -573,20 +573,6 @@ def render_all(options):
|
|||
if needs_update(timeline, out):
|
||||
subprocess.call(cmd)
|
||||
shutil.move(tmp_out, out)
|
||||
if ext == '.wav' and timeline.endswith('audio.kdenlive'):
|
||||
cmd = [
|
||||
'ffmpeg', '-y',
|
||||
'-nostats', '-loglevel', 'error',
|
||||
'-i',
|
||||
timeline.replace('.kdenlive', ext),
|
||||
timeline.replace('.kdenlive', '.mp4')
|
||||
]
|
||||
wav = timeline.replace('.kdenlive', ext)
|
||||
mp4 = timeline.replace('.kdenlive', '.mp4')
|
||||
if needs_update(wav, mp4):
|
||||
subprocess.call(cmd)
|
||||
if not options.get("keep_parts"):
|
||||
os.unlink(wav)
|
||||
|
||||
cmds = []
|
||||
fragment_prefix = Path(fragment_prefix)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue