This Flask project allows you to transcribe videos easily. It provides a web interface where you can upload video files, and the application will transcribe the spoken content within the video into text. The transcription is then made available for download in plain text format.
- Upload video files in various formats.
- Transcribe the audio content from uploaded videos.
- Download the transcription in plain text or other popular formats.
- User-friendly web interface.
-
Clone this repository:
git clone https://github.com/al-chris/Video_Transcriber.git cd Video_Transcriber
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the project dependencies:
pip install -r requirements.txt
-
Start the Flask application:
flask run
-
Open your web browser and go to
http://localhost:5000
to use the application.
-
Open the web application by navigating to
http://localhost:5000
in your browser. -
Click the "Upload Video" button to select and upload your video file.
-
Once the video is uploaded, click the "Transcribe" button to start the transcription process.
-
Wait for the transcription to complete. This may take some time depending on the length of the video.
-
Once the transcription is ready, you will be able to download it as a .txt file.
You can configure the application by editing the __init__.py
file. Here are some of the available configuration options:
UPLOAD_FOLDER
: The folder where uploaded videos are stored.TRANSCRIPTION_FOLDER
: The folder where transcriptions are saved.ALLOWED_EXTENSIONS
: A list of allowed file extensions for video uploads.MAX_CONTENT_LENGTH
: The maximum allowed file size for uploads.
This project relies on the following Python libraries:
- Flask: A micro web framework for building web applications.
- OpenAI: A library for using the OpenAI API.
- moviepy: A Python library for video editing.
Please refer to the requirements.txt
file for a complete list of dependencies.
We welcome contributions to this project! If you have any ideas, bug reports, or feature requests, please open an issue on the GitHub repository. If you'd like to contribute code, feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
This project was built with the help of various open-source libraries and resources. We would like to express our gratitude to the contributors of these projects.
Enjoy transcribing your videos with Flask! If you have any questions or need assistance, please don't hesitate to reach out.