{"id":15044093,"url":"https://github.com/labrijisaad/youtube-video-transcriptor","last_synced_at":"2025-10-24T01:30:27.262Z","repository":{"id":50319485,"uuid":"518123889","full_name":"labrijisaad/Youtube-video-transcriptor","owner":"labrijisaad","description":"In this notebook, I implemented a script to transcribe YouTube videos (and audio files in general) using Google's speech-to-text API.","archived":false,"fork":false,"pushed_at":"2022-12-19T09:15:12.000Z","size":60,"stargazers_count":12,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T22:06:58.571Z","etag":null,"topics":["audio-split","general-idea-summarization","googletranslateapi","puthon","speech-recognition","speech-to-text","text-translation","transcript","youtube","youtube-transcripts","youtube-video"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/labrijisaad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-26T15:48:11.000Z","updated_at":"2024-12-23T21:27:05.000Z","dependencies_parsed_at":"2023-01-29T21:01:07.758Z","dependency_job_id":null,"html_url":"https://github.com/labrijisaad/Youtube-video-transcriptor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labrijisaad%2FYoutube-video-transcriptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labrijisaad%2FYoutube-video-transcriptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labrijisaad%2FYoutube-video-transcriptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labrijisaad%2FYoutube-video-transcriptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labrijisaad","download_url":"https://codeload.github.com/labrijisaad/Youtube-video-transcriptor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237896853,"owners_count":19383597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio-split","general-idea-summarization","googletranslateapi","puthon","speech-recognition","speech-to-text","text-translation","transcript","youtube","youtube-transcripts","youtube-video"],"created_at":"2024-09-24T20:50:04.220Z","updated_at":"2025-10-24T01:30:21.953Z","avatar_url":"https://github.com/labrijisaad.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🎥 `Youtube-video-transcriptor in Python` 🐍\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/74627083/181471696-3de07398-b0d3-4a78-9fb9-06c49528b5c6.png\" width=\"70%\"/\u003e\n\u003c/p\u003e\n\nIn this project, I developed a script in Python that uses Google's speech-to-text technology to transcribe audio from YouTube videos.\n\n- ⚠️ Please note the following before using the script:\n\u003e   - 1️⃣ **`The script is intended to be run on Google Colaboratory!`**  \u003ca href=\"https://colab.research.google.com/github/labrijisaad/Youtube-video-transcriptor\" target=\"_parent\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\u003c/a\u003e\n\u003e   - 2️⃣ The script may not always accurately transcribe text due to noise or the way the speaker talks in the video (e.g. speaking too fast or too slow).\n\u003e   - 3️⃣ **`The summary model`** used in the script is a community model available on [Huggingface](https://huggingface.co/) that **`only supports English text`**. It may not always accurately capture the general idea of the transcription, especially if there is a lack of data.\n \n\n\u003cp align=\"center\"\u003e❓❓❓ HOW TO USE ❓❓❓\u003c/p\u003e\n\n```\n\u003e\u003e\u003e 1️⃣ Run the notebook in Colab (make sure you are logged into Colab with your Google account).\n\u003e\u003e\u003e 2️⃣ Paste the URL of the youtube video you want to transcribe into the `url` variable.\n\u003e\u003e\u003e 3️⃣ Replace the `lang` variable with the language spoken in the video (all instructions are provided in the notebook).\n\u003e\u003e\u003e 4️⃣ Run all cells (shortcut: `CTRL + F9`)\n\u003e\u003e\u003e 5️⃣ Download the generated TXT files (there will be two in total: one for the transcription and one for the translated transcription).\n```\n\n\u003cp align=\"center\"\u003e⚠️⚠️⚠️ UPDATE ⚠️⚠️⚠️\u003c/p\u003e\n\n```\n\u003e\u003e\u003e To optimize transcription time, I have updated the script to use `Python threads`, which helps to fully utilize the CPU resources provided by Colab. \n\u003e\u003e\u003e As a result, the performance has significantly improved - a 30-minute video can now be transcribed in approximately 35 seconds, compared to the previous time of 2 minutes and 30 seconds. \n\u003e\u003e\u003e You can find the updated script with threads in the accompanying notebook. 😁\n```\n\n\u003e - 🙌 Notebook made by [@labriji_saad](https://github.com/labrijisaad)\n\u003e - 🔗 Linledin [@labriji_saad](https://www.linkedin.com/in/labrijisaad/)\n- 📫 Feel free to contact me if anything is wrong or if anything needs to be changed 😎!  **labrijisaad@gmail.com**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabrijisaad%2Fyoutube-video-transcriptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabrijisaad%2Fyoutube-video-transcriptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabrijisaad%2Fyoutube-video-transcriptor/lists"}