Dadangdut33 / Speech-Translate

A realtime speech transcription and translation application using Whisper OpenAI and free translation API. Interface made using Tkinter. Code written fully in Python.
MIT License
423 stars 55 forks source link

[REQ] Add support for OPUS files #70

Open bannert1337 opened 5 months ago

bannert1337 commented 5 months ago

Is your feature request related to a problem? Please describe. Yes, the current limitation of the Speech-Translate application is its inability to process OPUS audio files directly. Many online communication platforms and audio recording tools use the OPUS format for its superior compression efficiency and audio quality, especially in low-bandwidth situations. I frequently encounter the need to transcribe and translate content from OPUS files. Having to convert these files to a compatible format before processing adds an unnecessary step and can result in quality loss.

Describe the solution you'd like I would like the application to support OPUS audio files natively. This means adding functionality that allows users to upload OPUS files directly into the Speech-Translate application for real-time transcription and translation. Ideally, this should work seamlessly within the existing interface and workflow, without the need for external conversion tools or significant changes to the user experience.

Describe alternatives you've considered As an alternative, I've considered using third-party software to convert OPUS files to a supported format before uploading them to Speech-Translate. However, this is not only cumbersome but also time-consuming and can degrade the audio quality, impacting the accuracy of the transcription and translation.

Additional context Adding OPUS file support would significantly enhance the utility and user-friendliness of Speech-Translate, especially for users dealing with audio content from a variety of sources, including online meetings, podcasts, and interviews recorded in OPUS format. This feature would streamline the workflow for a broad user base, making the application more versatile and appealing.

Dadangdut33 commented 4 months ago

Thanks for the suggestion, I'll add it in the next update.

For now you can use the "all files" selection, sorry for the Inconvenience