From 211b915396ba3f6ec8df1467f1473353a67101c5 Mon Sep 17 00:00:00 2001 From: msglm Date: Sun, 17 Aug 2025 19:53:51 -0500 Subject: itoddlers need h.264 --- comedyGenerator | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/comedyGenerator b/comedyGenerator index a5206b1..3e31e95 100755 --- a/comedyGenerator +++ b/comedyGenerator @@ -221,7 +221,7 @@ for tags in args.tags: name = name[0:200] name = name.replace('"', "") outputPath = args.output + tags + " - " + name + "." + urlsplit[len(urlsplit)-1] - convertedOutputPath = args.output + tags + " - " + name + "." + "webm" + convertedOutputPath = args.output + tags + " - " + name + "." + "mp4" if args.verbose: print("name read as: " + name) if os.path.exists(outputPath): @@ -231,7 +231,8 @@ for tags in args.tags: urllib.request.urlretrieve(video, outputPath) if args.verbose: print("converting " + outputPath + " to " + convertedOutputPath) - os.system("ffmpeg -i \"" + outputPath + "\" \"" + convertedOutputPath + "\"") + os.system("ffmpeg -y -i \"" + outputPath + "\" \"" + convertedOutputPath + "\"") + os.remove(outputPath) if args.verbose: print("converting complete!") if args.jobs > 1 and args.noDownload == False: -- cgit v1.2.3