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

Include transcription availability for mp3 audios #3

Open
kojomensahonums opened this issue Aug 6, 2024 · 3 comments
Open

Include transcription availability for mp3 audios #3

kojomensahonums opened this issue Aug 6, 2024 · 3 comments

Comments

@kojomensahonums
Copy link

The system currently does not work for files other than .wav files. I tried manually changing the extensions in the codebase but ended up with Error: Audio file does not contain RIFF_id. What changes need to be made to allow for mp3 or any other audio file type?

@gongouveia
Copy link
Owner

@kojomensahonums Hello, in the menu, I use the "wave" library. It has no support for MP3 (so the trick of adding the extension does not work, I think). Later today or at the end of the week, I will add support for MP3 files.
In the meantime, you can change the code by contributing to the project using pydub or convert wav files to mp3 using FFmpeg, for example.

@gongouveia
Copy link
Owner

Hello @kojomensahonums, lately I have not had much time to do this feature, i would need much code refactor.
You can use bath conversion of mp3 to wav files using https://ottverse.com/convert-all-files-inside-folder-ffmpeg-batch-convert/

@kojomensahonums
Copy link
Author

@gongouveia Running the batch conversion command now. Working nicely, thank you.

@gongouveia gongouveia reopened this Sep 4, 2024
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

2 participants