fix: reduce font size to 16, improve TTS sync (3 words/chunk, 0.3s/word)

This commit is contained in:
Jacques committed 2026-01-22 21:39:06 +01:00
1 parent 3ce30e71f0
commit fe638b9895
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -185,7 +185,7 @@ reelsRouter.post('/reels/preview', async (req: Request, res: Response) => {
ttsEnabled,
ttsVoice,
wordDuration = 0.6,
fontSize = 24,
fontSize = 16,
musicVolume = 0.25,
drawText = true,
} = req.body;
@@ -255,7 +255,7 @@ reelsRouter.post('/reels', async (req: Request, res: Response) => {
pageIds,
scheduledFor,
wordDuration = 0.6,
fontSize = 24,
fontSize = 16,
musicVolume = 0.25,
drawText = true,
} = req.body;
+2 -2
View File
@@ -83,7 +83,7 @@ export class FFmpegService {
tts_enabled: options.ttsEnabled,
tts_voice: options.ttsVoice,
word_duration: options.wordDuration ?? 0.6,
font_size: options.fontSize ?? 24,
font_size: options.fontSize ?? 16,
music_volume: options.musicVolume ?? 0.25,
draw_text: options.drawText ?? true,
};
@@ -176,7 +176,7 @@ export class FFmpegService {
tts_enabled: options.ttsEnabled,
tts_voice: options.ttsVoice,
word_duration: options.wordDuration ?? 0.6,
font_size: options.fontSize ?? 24,
font_size: options.fontSize ?? 16,
music_volume: options.musicVolume ?? 0.25,
draw_text: options.drawText ?? true,
};