From e8da2296553aded8ccdd88ce7ee94a0b2accf0ed Mon Sep 17 00:00:00 2001 From: xaloc Date: Sun, 3 May 2020 03:23:14 +0200 Subject: [PATCH] fixes #1 --- skilldown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skilldown.py b/skilldown.py index 6b650c0..fe0705f 100755 --- a/skilldown.py +++ b/skilldown.py @@ -27,7 +27,7 @@ while True: print('\n end \n') break - os.system("cat segment"+str(v)+".ts >> all.ts") + os.system("cat *"+str(v)+".ts >> all.ts") os.system("ffmpeg -i all.ts -acodec copy -vcodec copy video.mp4") os.system("rm *.ts") @@ -54,7 +54,7 @@ while True: print('\n end \n') break - os.system("cat segment"+str(v)+".ts >> all.ts") + os.system("cat *"+str(v)+".ts >> all.ts") os.system("ffmpeg -i all.ts -acodec copy -vcodec copy so.mp4") os.system("rm *.ts")