From 85f7ca4e73195db17bc8505eaa6ed059332d8827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Mon, 16 Jan 2017 01:45:39 +0100 Subject: [PATCH] minor cosmetic changes to improve readibility --- coub-dl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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],