putting it all togeather
This commit is contained in:
+10
-6
@@ -33,7 +33,7 @@ def build_chat_video():
|
||||
print(f"🚀 Transcribe: {title}")
|
||||
print("====================================================")
|
||||
|
||||
twitch_chat_vod.combine_twitch_vod_and_chat(f"download/videos/{id}/{id}.mp4")
|
||||
twitch_chat_vod.combine_twitch_vod_and_chat(f"download/videos/{id}/{id}.mp4", "side-by-side", True)
|
||||
|
||||
|
||||
def build_transcribe():
|
||||
@@ -68,7 +68,7 @@ def build_transcribe():
|
||||
print(f"🚀 Transcribe: {title}")
|
||||
print("====================================================")
|
||||
|
||||
transcribe_video.transcribe_to_srt(f"{target_dir}/{id}/{id}.mp4")
|
||||
transcribe_video.transcribe_to_srt(f"{target_dir}/{id}/{id}.mp4", True)
|
||||
|
||||
|
||||
def build_shorts():
|
||||
@@ -102,10 +102,14 @@ def build_shorts():
|
||||
print(f"🚀 Processing: Clip to Youtube Short {title}")
|
||||
print("====================================================")
|
||||
|
||||
youtube_short.fit_to_9_16_letterbox(target_dir, top_txt, f"Clipped By: {creator_name}.", True)
|
||||
youtube_short.fit_to_9_16_letterbox(target_dir, top_txt, f"Clipped By: {creator_name}.", True)
|
||||
|
||||
if __name__ =="__main__":
|
||||
def main():
|
||||
global DB
|
||||
DB = database.Database()
|
||||
#build_shorts()
|
||||
build_shorts()
|
||||
build_transcribe()
|
||||
build_chat_video()
|
||||
build_chat_video()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user