OpenAPI Whisper support only files that are less than 25 MB. Écoute will break the audio file into chunks of 25 MB's or less.
https://platform.openai.com/docs/guides/speech-to-text/longer-inputs
Écoute will also compute the correct timing of the subtitle when merging the output of Whisper. So once you export the subtitle the timestamp of the subtitle will be right.
You can open and save WAV files with pure python. For opening and saving non-wav files – like mp3 – you'll need ffmpeg or libav.
Raw data
{
"_id": null,
"home_page": "https://github.com/julien-duponchelle/ecoute",
"name": "ecoute",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "ecoute",
"author": "Julien Duponchelle",
"author_email": "julien@duponchelle.info",
"download_url": "https://files.pythonhosted.org/packages/e5/25/1fbf1fc7a704eb1d6a7e7385f72b4b9ff2a7c8a256656fef086cd65689c9/ecoute-0.1.2.tar.gz",
"platform": null,
"description": "OpenAPI Whisper support only files that are less than 25 MB. \u00c9coute will break the audio file into chunks of 25 MB's or less.\n\nhttps://platform.openai.com/docs/guides/speech-to-text/longer-inputs\n\u00c9coute will also compute the correct timing of the subtitle when merging the output of Whisper. So once you export the subtitle the timestamp of the subtitle will be right.\nYou can open and save WAV files with pure python. For opening and saving non-wav files \u2013 like mp3 \u2013 you'll need ffmpeg or libav.\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "\u00c9coute is a wrapper on OpenAPI Whisper API. It's provide support for long audio files.",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/julien-duponchelle/ecoute"
},
"split_keywords": [
"ecoute"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e5251fbf1fc7a704eb1d6a7e7385f72b4b9ff2a7c8a256656fef086cd65689c9",
"md5": "1259995587877ccebd389040125c1b0d",
"sha256": "d2b9e5a269ed4fca5710a18503cf47e990d5eed506118ed33e88c337c13e1950"
},
"downloads": -1,
"filename": "ecoute-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1259995587877ccebd389040125c1b0d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 5467,
"upload_time": "2023-08-27T18:25:59",
"upload_time_iso_8601": "2023-08-27T18:25:59.595450Z",
"url": "https://files.pythonhosted.org/packages/e5/25/1fbf1fc7a704eb1d6a7e7385f72b4b9ff2a7c8a256656fef086cd65689c9/ecoute-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-27 18:25:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "julien-duponchelle",
"github_project": "ecoute",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "ecoute"
}