{"id":24926128,"url":"https://github.com/codeonthespectrum/aisubs","last_synced_at":"2025-04-09T20:07:20.266Z","repository":{"id":274889726,"uuid":"901918523","full_name":"codeonthespectrum/AISubs","owner":"codeonthespectrum","description":"A subtitle generator for videos up to 10GB, automatically transcribing and translating spoken content into Brazilian Portuguese. Ideal for multilingual content, this tool creates accurate `.srt` files for seamless integration with video players.","archived":false,"fork":false,"pushed_at":"2025-04-01T12:34:23.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T20:07:14.218Z","etag":null,"topics":["automation","ffmpeg","language-detection","moviepy","multilingual-translations","openai","python","speech-to-text","subtitles-generator","translation","video-processing","video-subtitles","video-transcription","whisper-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/codeonthespectrum.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-11T15:01:05.000Z","updated_at":"2025-04-01T12:34:27.000Z","dependencies_parsed_at":"2025-04-01T13:28:53.889Z","dependency_job_id":"d184d38b-c000-4024-a804-46bb6f331844","html_url":"https://github.com/codeonthespectrum/AISubs","commit_stats":null,"previous_names":["codeonthespectrum/aisubs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeonthespectrum%2FAISubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeonthespectrum%2FAISubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeonthespectrum%2FAISubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeonthespectrum%2FAISubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeonthespectrum","download_url":"https://codeload.github.com/codeonthespectrum/AISubs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"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":["automation","ffmpeg","language-detection","moviepy","multilingual-translations","openai","python","speech-to-text","subtitles-generator","translation","video-processing","video-subtitles","video-transcription","whisper-api"],"created_at":"2025-02-02T12:25:58.069Z","updated_at":"2025-04-09T20:07:20.245Z","avatar_url":"https://github.com/codeonthespectrum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Video Subtitle Generator with Language Detection and Translation**  \n\nThis project is a **Python-based** application that automates the process of generating subtitles for videos in any spoken language. It uses OpenAI's Whisper model for accurate transcription and automatically translates the generated subtitles into *Brazilian Portuguese*. The result is exported as a `.srt` file, which can be easily added to videos using media players or video editing software.  \n\nThe application is designed to handle *large video files* (up to 10GB) and is ideal for filmmakers, educators, or anyone working with multilingual content.  \n\n---\n\u003e \u003ca href=\"https://doi.org/10.5281/zenodo.15119680\"\u003e\u003cimg src=\"https://zenodo.org/badge/901918523.svg\" alt=\"DOI\"\u003e\u003c/a\u003e\n\n\n### **The Fina Look**  \n\nBelow are some visuals to help you understand how the subs are supposed to look\n\n#### **1. Exported Subtitle File**  \n*Generated `.srt` files are accurate and can be used directly with most media players. In this example I used VLC*\n![vlcsnap-2024-12-11-10h07m48s985](https://github.com/user-attachments/assets/500c5044-6248-4f1a-bf55-4f570f375223)\n![vlcsnap-2024-12-11-12h19m52s493](https://github.com/user-attachments/assets/a31f4f6f-5ca5-4a33-8231-4a81efd93362)\n![vlcsnap-2024-12-11-12h19m42s374](https://github.com/user-attachments/assets/2491b20e-1e35-4916-8edb-9c64d16642cf)\n\n\n---\n\n## **Features**  \n- Automatic language detection using Whisper.  \n- High-accuracy subtitle generation.  \n- Subtitle translation to Brazilian Portuguese (or any specified language).  \n- Handles large video files (up to 10GB).  \n- Easy-to-use and extensible for API or GUI integration.  \n\n---\n\n## **Technologies Used**  \n- **Python**  \n- [Whisper](https://github.com/openai/whisper): For speech-to-text processing.  \n- [FFmpeg](https://ffmpeg.org/): For audio extraction from video files.  \n- [mTranslate](https://pypi.org/project/mtranslate/): For subtitle translation.  \n- [MoviePy](https://zulko.github.io/moviepy/): For video processing and management.  \n\n---\n\n## **Installation**  \n\n### **Prerequisites**  \n- Python 3.8+  \n- FFmpeg installed on your system ([Installation Guide](https://ffmpeg.org/download.html)).  \n- GPU support (optional) for faster processing.  \n\n\n## ** Support the Project\nIf you find this project useful, consider supporting its development:\n\n- USDT (TRC20):\n\n`TLpSee85pWMz9uTCSG3UyPdyWBuzNdKmYA`\n\n- Pix (Brazil):\n\n`f1d8f782-5046-4306-825b-27faa53bc7d4`\n\n## ** License ** \n\n*This project is licensed under the MIT License.*\n\n*Feel free to contribute to this project by submitting pull requests or opening issues. Feedback and suggestions are always welcome! 😊*\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeonthespectrum%2Faisubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeonthespectrum%2Faisubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeonthespectrum%2Faisubs/lists"}