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:
pip install copypy
Usage
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.
Metadata
Release files for copypy 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| copypy-0.0.9.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| copypy-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / copypy-0.0.9.tar.gz
| Download URL | copypy-0.0.9.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84c5c27bd32f6e620d4ae3a2d0cc25f69a421d3105c23dfc6429cff54f0e9a86
|
|
BLAKE2b-256 checksum How to use checksums |
14dc966aca58dbb210e11cd6962651adbc25a2c31c3a770c065ef59549bedd22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / copypy-0.0.9-py3-none-any.whl
| Download URL | copypy-0.0.9-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01faefc1aca1a46dd98bac13ca9a21fe9107926e4bed7acf50331c7d3a98585a
|
|
BLAKE2b-256 checksum How to use checksums |
51c8a58575f7bdc781f13e667b3351eadb0321a0f68e9e86910a47b2c22f0a55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|