Skip to content

Commit

Permalink
Fix topic vid font size with new subtitle gen
Browse files Browse the repository at this point in the history
  • Loading branch information
alamshafil committed Aug 2, 2024
1 parent 6d3731e commit d95c14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/topicVid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d95c14c

Please sign in to comment.