[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-28 10:57:15 +03:00
parent fd4b04d186
commit 69f3a7655c

@ -1683,6 +1683,8 @@ def kernel_27():
t2 = os.path.join(t3, 'slice-%d' % i) t2 = os.path.join(t3, 'slice-%d' % i)
os.makedirs(t2, exist_ok=True) os.makedirs(t2, exist_ok=True)
t4 = os.path.join(t2, 'output.mp4') t4 = os.path.join(t2, 'output.mp4')
if os.path.exists(t4):
os.unlink(t4)
with subprocess.Popen([ with subprocess.Popen([
'ffmpeg', 'ffmpeg',
'-i', '-i',