{"id":13572315,"url":"https://github.com/agermanidis/autosub","last_synced_at":"2025-05-13T23:05:09.358Z","repository":{"id":34310341,"uuid":"38227349","full_name":"agermanidis/autosub","owner":"agermanidis","description":"[NO LONGER MAINTAINED] Command-line utility for auto-generating subtitles for any video file","archived":false,"fork":false,"pushed_at":"2024-03-22T15:28:35.000Z","size":74,"stargazers_count":4190,"open_issues_count":132,"forks_count":1651,"subscribers_count":132,"default_branch":"master","last_synced_at":"2025-05-11T12:49:02.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agermanidis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-06-29T04:15:09.000Z","updated_at":"2025-05-03T10:18:43.000Z","dependencies_parsed_at":"2024-06-18T18:18:03.739Z","dependency_job_id":null,"html_url":"https://github.com/agermanidis/autosub","commit_stats":{"total_commits":58,"total_committers":22,"mean_commits":"2.6363636363636362","dds":0.6379310344827587,"last_synced_commit":"d32389cb76e63ec6959111c3f989a72f36f726fe"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agermanidis%2Fautosub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agermanidis%2Fautosub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agermanidis%2Fautosub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agermanidis%2Fautosub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agermanidis","download_url":"https://codeload.github.com/agermanidis/autosub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254040624,"owners_count":22004582,"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":[],"created_at":"2024-08-01T14:01:19.888Z","updated_at":"2025-05-13T23:05:04.346Z","avatar_url":"https://github.com/agermanidis.png","language":"Python","funding_links":[],"categories":["HarmonyOS","Python","Automation"],"sub_categories":["Windows Manager","Subtitles Automation"],"readme":"# Autosub \u003ca href=\"https://pypi.python.org/pypi/autosub\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/autosub.svg\"\u003e\u003c/img\u003e\u003c/a\u003e\n  \n### Auto-generated subtitles for any video\n\nAutosub is a utility for automatic speech recognition and subtitle generation. It takes a video or an audio file as input, performs voice activity detection to find speech regions, makes parallel requests to Google Web Speech API to generate transcriptions for those regions, (optionally) translates them to a different language, and finally saves the resulting subtitles to disk. It supports a variety of input and output languages (to see which, run the utility with the argument `--list-languages`) and can currently produce subtitles in either the [SRT format](https://en.wikipedia.org/wiki/SubRip) or simple [JSON](https://en.wikipedia.org/wiki/JSON).\n\n### Installation\n\n1. Install [ffmpeg](https://www.ffmpeg.org/).\n2. Run `pip install autosub`.\n\n### Usage\n\n```\n$ autosub -h\nusage: autosub [-h] [-C CONCURRENCY] [-o OUTPUT] [-F FORMAT] [-S SRC_LANGUAGE]\n               [-D DST_LANGUAGE] [-K API_KEY] [--list-formats]\n               [--list-languages]\n               [source_path]\n\npositional arguments:\n  source_path           Path to the video or audio file to subtitle\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -C CONCURRENCY, --concurrency CONCURRENCY\n                        Number of concurrent API requests to make\n  -o OUTPUT, --output OUTPUT\n                        Output path for subtitles (by default, subtitles are\n                        saved in the same directory and name as the source\n                        path)\n  -F FORMAT, --format FORMAT\n                        Destination subtitle format\n  -S SRC_LANGUAGE, --src-language SRC_LANGUAGE\n                        Language spoken in source file\n  -D DST_LANGUAGE, --dst-language DST_LANGUAGE\n                        Desired language for the subtitles\n  -K API_KEY, --api-key API_KEY\n                        The Google Translate API key to be used. (Required for\n                        subtitle translation)\n  --list-formats        List all available subtitle formats\n  --list-languages      List all available source/destination languages\n```\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagermanidis%2Fautosub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagermanidis%2Fautosub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagermanidis%2Fautosub/lists"}