diff --git a/fonts/Montserrat-Bold.ttf b/fonts/Montserrat-Bold.ttf new file mode 100644 index 0000000..58dbd49 Binary files /dev/null and b/fonts/Montserrat-Bold.ttf differ diff --git a/fonts/Montserrat-Medium.ttf b/fonts/Montserrat-Medium.ttf new file mode 100644 index 0000000..c854b8e Binary files /dev/null and b/fonts/Montserrat-Medium.ttf differ diff --git a/fonts/Montserrat-Regular.ttf b/fonts/Montserrat-Regular.ttf new file mode 100644 index 0000000..f8fbbfe Binary files /dev/null and b/fonts/Montserrat-Regular.ttf differ diff --git a/main.py b/main.py index b7a1b7f..4c81434 100755 --- a/main.py +++ b/main.py @@ -51,7 +51,7 @@ def main(POST_ID=None) -> None: length = math.ceil(length) get_screenshots_of_reddit_posts(reddit_object, number_of_comments) bg_config = get_background_config() - download_background(bg_config) + #download_background(bg_config) chop_background_video(bg_config, length, reddit_object) make_final_video(number_of_comments, length, reddit_object, bg_config) diff --git a/video_creation/final_video.py b/video_creation/final_video.py index 4838574..1485da4 100644 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -300,15 +300,15 @@ def make_final_video( f"Thumbnail - Building Thumbnail in assets/temp/{reddit_id}/thumbnail.png" ) - text = f"Background by {background_config[2]}" + text = f"" background_clip = ffmpeg.drawtext( background_clip, text=text, - x=f"(w-text_w)", + x=f"(w-text_w)/2", y=f"(h-text_h)", fontsize=12, fontcolor="White", - fontfile=os.path.join("fonts", "Roboto-Regular.ttf"), + fontfile=os.path.join("fonts", "Montserrat-Regular.ttf"), ) print_step("Rendering the video 🎥") from tqdm import tqdm