mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
Gemini returns raw PCM (audio/L16;codec=pcm;rate=24000), not a real WAV file with a header, so FFmpeg fails to auto-detect the format. Pass -f s16le, -ar (from mime type), and -ac 1 explicitly so FFmpeg can decode the byte stream. Also surface FFmpeg stderr on failure instead of swallowing it. https://claude.ai/code/session_01QBvwHAMZzVYfWvy1U5paat