Skip to content

Commit

Permalink
tq, font size
Browse files Browse the repository at this point in the history
  • Loading branch information
theSoberSobber committed Mar 2, 2024
1 parent d97a541 commit 1554fb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion captions.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layer_captions(background_video_path, captions_data, output_path):
end_time = time_to_seconds(end_time_str)

# Create a TextClip with the extracted text
text_clip = TextClip(text, fontsize=15, font='font.ttf', color='white', align='center', method='caption', size=background_clip.size)
text_clip = TextClip(text, fontsize=25, font='font.ttf', color='white', align='center', method='caption', size=background_clip.size)
# Set the duration of the text clip
text_clip = text_clip.set_duration(end_time - start_time)

Expand Down
2 changes: 1 addition & 1 deletion consolidator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
from datetime import datetime, timedelta

threshold = timedelta(seconds=2)
threshold = timedelta(seconds=1.43)

def subtract_timestamps(timestamp1_str, timestamp2_str):
# Convert timestamp strings to datetime objects
Expand Down

0 comments on commit 1554fb6

Please sign in to comment.