Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for .m4a file format #7

Open
ericsharma opened this issue Oct 6, 2024 · 4 comments
Open

Support for .m4a file format #7

ericsharma opened this issue Oct 6, 2024 · 4 comments

Comments

@ericsharma
Copy link

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
Copy link
Owner

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 ?

@phillipjf
Copy link
Contributor

I had this issue as well. It was failing at the audiowaveform ... step. My file was .mp4 and AudioWaveform v1.10.1 only supports input file name (.mp3, .wav, .flac, .ogg, .oga, .opus, .dat, .json). After converting the upload to .mp3, the job processed successfully.

@rishikanthc
Copy link
Owner

Ahhhh... strictly speaking audiowaveform isn't needed for transcribing. It's used for generating the peaks for the audio visializer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@rishikanthc @phillipjf @ericsharma and others