mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-19 21:18:18 +02:00
fix
This commit is contained in:
1 parent
81baafd295
commit
77a6dd7188
6 files changed
+306
-5
No files matched your search
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user