rishikanthc / Scriberr

Self-hosted AI audio transcription
MIT License
231 stars 6 forks source link

Support for .m4a file format #7

Open ericsharma opened 10 hours ago

ericsharma commented 10 hours ago

I got the docker image running on my M1 mac and after some initial trouble shooting (manually creating /audio and /transcripts subdirectories) I've had success with transcribing .mp3 file format!

Was wondering if I could get a list of supported file formats. I would like to upload .m4a files ( the file format used for voice memos) but I have not had any success.

Looking at the processed jobs on http://localhost:9243/admin/queues/queue/transcriptionQueue?status=failed I see the .m4a files fail with the following:


Error: Command failed with exit code 1
    at ChildProcess.<anonymous> (file:///app/build/server/chunks/queue-C2m1Jwu2.js:43875:16)
    at ChildProcess.emit (node:events:531:35)
    at maybeClose (node:internal/child_process:1104:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:519:28)
    at Pipe.<anonymous> (node:net:343:12)
rishikanthc commented 5 hours ago

In theory it should work for any format. It runs ffmpeg to convert all audio to 16bit wav. There are no restrictions on the audio format. So I'm not sure why m4a isn't working. Can you post the logs as well from the job queue dashboard ?