From d95c14c9007ebe79b722b236cfe79582261643c5 Mon Sep 17 00:00:00 2001 From: Shafil Alam Date: Fri, 2 Aug 2024 15:02:10 -0400 Subject: [PATCH] Fix topic vid font size with new subtitle gen --- src/types/topicVid.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/topicVid.ts b/src/types/topicVid.ts index 5d7b7d7..f74aede 100644 --- a/src/types/topicVid.ts +++ b/src/types/topicVid.ts @@ -166,14 +166,14 @@ export class TopicVideo extends VideoGen { fontFamily: [(this.jsonData.fontName ?? 'Bangers')], color: '#fff', stroke: '#000000', - strokeThickness: 20, + strokeThickness: 8, } const subObj = new FFSubtitle({ path: path.join(this.tempPath, 'audio16k.wav.srt'), x: 1080 / 2, y: (1920 / 2) + 200, - fontSize: this.jsonData.fontSize ?? 40, + fontSize: this.jsonData.fontSize ?? 30, backgroundColor: '#000000', color: '#fff', comma: true,