2026-03-02T07-55-39_auto_memory/memories.db-wal
This commit is contained in:
parent
45db3d5172
commit
3556d2e416
Binary file not shown.
@ -307,13 +307,17 @@ class MeetingNotesBot {
|
||||
const fs = await import('fs');
|
||||
fs.writeFileSync(rawFile, combined);
|
||||
|
||||
// Discord voice receiver outputs raw opus packets, wrap in ogg for ffmpeg
|
||||
const ffmpeg = spawn('ffmpeg', [
|
||||
'-f', 'opus',
|
||||
'-f', 'ogg',
|
||||
'-i', rawFile,
|
||||
'-ar', '16000',
|
||||
'-ac', '1',
|
||||
'-y', wavFile,
|
||||
]);
|
||||
|
||||
let ffmpegErr = '';
|
||||
ffmpeg.stderr.on('data', (d: Buffer) => { ffmpegErr += d.toString(); });
|
||||
|
||||
ffmpeg.on('close', async (code) => {
|
||||
unlinkSync(rawFile);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user