minor cosmetic changes to improve readibility

This commit is contained in:
Kjistóf 2017-01-16 01:45:39 +01:00
parent daf033d355
commit 85f7ca4e73
1 changed files with 3 additions and 1 deletions

View File

@ -128,11 +128,13 @@ with open(FILES[File.LIST], 'w') as f:
for i in range(timesLoop):
print("file '{}'".format(shorterFile), file=f)
# loop & mux
# loop shorter stream
print_opt('Looping shorter stream... ', end='', flush=True)
call(('/usr/bin/env', 'ffmpeg', '-f', 'concat', '-i', FILES[File.LIST], '-c', 'copy', FILES[File.LOOP]),
stdout=DEVNULL, stderr=DEVNULL)
print_opt('Done!')
# mux with audio
print_opt('Muxing streams... ', end='', flush=True)
call(('/usr/bin/env', 'ffmpeg', '-i', FILES[File.LOOP],
'-i', FILES[Stream.AUDIO],