This commit is contained in:
Michael committed 2026-01-22 16:58:12 +01:00
1 parent 81baafd295
commit 77a6dd7188
6 files changed
+306 -5

No files matched your search

+4 -1
View File
@@ -292,7 +292,10 @@ reelsRouter.post('/reels', async (req: Request, res: Response) => {
videoMediaId,
hasMusic: !!finalMusicUrl,
hasText: !!overlayText,
hasTTS: !!ttsEnabled,
textPreview: overlayText?.substring(0, 50),
ttsEnabled: ttsEnabled,
ttsVoice: ttsVoice,
drawText: drawText,
pageCount: pageIds.length,
});
+6 -1
View File
@@ -191,11 +191,16 @@ export class FFmpegService {
console.log('🎬 Processing Reel from URL:', {
videoUrl,
hasText: !!options.text,
textLength: options.text?.length || 0,
hasMusicId: !!options.musicId,
hasMusicUrl: !!options.musicUrl,
hasTTS: options.ttsEnabled,
ttsEnabled: options.ttsEnabled,
ttsVoice: options.ttsVoice,
drawText: options.drawText,
});
console.log('📤 Sending to FFmpeg API:', JSON.stringify(requestBody, null, 2).substring(0, 500) + '...');
try {
const response = await fetch(`${config.apiUrl}/process-reel`, {
method: 'POST',