# Video Transcription Script - COPYPy
This script extracts audio from a video file, transcribes the audio into text using Google's Speech Recognition API And OpenAi Whisper Model, and writes the transcribed text to a file.
## Dependencies
- pydub
- speech_recognition
You can install these packages using pip:
```bash
pip install copypy
```
## Usage
```bash
python -m copypy <video_path> <output_path>
```
Where:
- `<video_path>` is the path to the video file you want to transcribe.
- `<output_path>` is the path where the transcribed text will be written to.
The script currently supports MP4 video files and transcribes audio to Spanish. You can modify the script to support other video formats or languages.
```
Next, you might want to add more details to your README, such as a section on how to contribute to your project, or a section detailing any known issues or limitations of your script.
```
Raw data
{
"_id": null,
"home_page": "",
"name": "copypy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "Juan Rojas <jfernandorojasc@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/14/dc/966aca58dbb210e11cd6962651adbc25a2c31c3a770c065ef59549bedd22/copypy-0.0.9.tar.gz",
"platform": null,
"description": "# Video Transcription Script - COPYPy\n\nThis script extracts audio from a video file, transcribes the audio into text using Google's Speech Recognition API And OpenAi Whisper Model, and writes the transcribed text to a file.\n\n## Dependencies\n\n- pydub\n- speech_recognition\n\nYou can install these packages using pip:\n\n```bash\npip install copypy\n```\n\n## Usage\n\n```bash\npython -m copypy <video_path> <output_path>\n```\n\nWhere:\n\n- `<video_path>` is the path to the video file you want to transcribe.\n- `<output_path>` is the path where the transcribed text will be written to.\n\nThe script currently supports MP4 video files and transcribes audio to Spanish. You can modify the script to support other video formats or languages.\n\n```\n\nNext, you might want to add more details to your README, such as a section on how to contribute to your project, or a section detailing any known issues or limitations of your script.\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Video Transcription",
"version": "0.0.9",
"project_urls": {
"Bug Tracker": "https://github.com/DevArKaDiA/transpy",
"Homepage": "https://github.com/DevArKaDiA/transpy"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51c8a58575f7bdc781f13e667b3351eadb0321a0f68e9e86910a47b2c22f0a55",
"md5": "ec24a74cd966b1b3d53750983bd3ec70",
"sha256": "01faefc1aca1a46dd98bac13ca9a21fe9107926e4bed7acf50331c7d3a98585a"
},
"downloads": -1,
"filename": "copypy-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ec24a74cd966b1b3d53750983bd3ec70",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3521,
"upload_time": "2023-11-17T13:53:27",
"upload_time_iso_8601": "2023-11-17T13:53:27.001516Z",
"url": "https://files.pythonhosted.org/packages/51/c8/a58575f7bdc781f13e667b3351eadb0321a0f68e9e86910a47b2c22f0a55/copypy-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "14dc966aca58dbb210e11cd6962651adbc25a2c31c3a770c065ef59549bedd22",
"md5": "1ef74628ec3eeaed18114c43edbd3e55",
"sha256": "84c5c27bd32f6e620d4ae3a2d0cc25f69a421d3105c23dfc6429cff54f0e9a86"
},
"downloads": -1,
"filename": "copypy-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "1ef74628ec3eeaed18114c43edbd3e55",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3028,
"upload_time": "2023-11-17T13:53:35",
"upload_time_iso_8601": "2023-11-17T13:53:35.240799Z",
"url": "https://files.pythonhosted.org/packages/14/dc/966aca58dbb210e11cd6962651adbc25a2c31c3a770c065ef59549bedd22/copypy-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-17 13:53:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DevArKaDiA",
"github_project": "transpy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "certifi",
"specs": [
[
"==",
"2023.7.22"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.4"
]
]
},
{
"name": "invoke",
"specs": [
[
"==",
"2.2.0"
]
]
},
{
"name": "mypy",
"specs": [
[
"==",
"1.7.0"
]
]
},
{
"name": "mypy-extensions",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "pydub",
"specs": [
[
"==",
"0.25.1"
]
]
},
{
"name": "pydub-stubs",
"specs": [
[
"==",
"0.25.1.1"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "SpeechRecognition",
"specs": [
[
"==",
"3.10.0"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.8.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.1.0"
]
]
}
],
"lcname": "copypy"
}