minor cosmetic changes to improve readibility
This commit is contained in:
parent
daf033d355
commit
85f7ca4e73
@ -128,11 +128,13 @@ with open(FILES[File.LIST], 'w') as f:
|
|||||||
for i in range(timesLoop):
|
for i in range(timesLoop):
|
||||||
print("file '{}'".format(shorterFile), file=f)
|
print("file '{}'".format(shorterFile), file=f)
|
||||||
|
|
||||||
# loop & mux
|
# loop shorter stream
|
||||||
print_opt('Looping shorter stream... ', end='', flush=True)
|
print_opt('Looping shorter stream... ', end='', flush=True)
|
||||||
call(('/usr/bin/env', 'ffmpeg', '-f', 'concat', '-i', FILES[File.LIST], '-c', 'copy', FILES[File.LOOP]),
|
call(('/usr/bin/env', 'ffmpeg', '-f', 'concat', '-i', FILES[File.LIST], '-c', 'copy', FILES[File.LOOP]),
|
||||||
stdout=DEVNULL, stderr=DEVNULL)
|
stdout=DEVNULL, stderr=DEVNULL)
|
||||||
print_opt('Done!')
|
print_opt('Done!')
|
||||||
|
|
||||||
|
# mux with audio
|
||||||
print_opt('Muxing streams... ', end='', flush=True)
|
print_opt('Muxing streams... ', end='', flush=True)
|
||||||
call(('/usr/bin/env', 'ffmpeg', '-i', FILES[File.LOOP],
|
call(('/usr/bin/env', 'ffmpeg', '-i', FILES[File.LOOP],
|
||||||
'-i', FILES[Stream.AUDIO],
|
'-i', FILES[Stream.AUDIO],
|
||||||
|
Loading…
Reference in New Issue
Block a user