diff options
author | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
commit | 211b915396ba3f6ec8df1467f1473353a67101c5 (patch) | |
tree | 60ea918c0ed3eea9138bf26bce324e2389944c2c | |
parent | 5fcf8729c1d3aa6fc6137ae4b34c18cd89834318 (diff) | |
download | comedyGenerator-211b915396ba3f6ec8df1467f1473353a67101c5.tar.gz comedyGenerator-211b915396ba3f6ec8df1467f1473353a67101c5.tar.bz2 comedyGenerator-211b915396ba3f6ec8df1467f1473353a67101c5.zip |
itoddlers need h.264
-rwxr-xr-x | comedyGenerator | 5 |
1 files 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: |