diff --git a/coub-dl.py b/coub-dl.py index fb80d2f..ed4f131 100644 --- a/coub-dl.py +++ b/coub-dl.py @@ -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],