remove background watermark and fixes "streamingData" Error

pull/1613/head
sans4lyf 2 years ago
parent f2d89a10dd
commit 83a15b8a44

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -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)

@ -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

Loading…
Cancel
Save