{"id":24702997,"url":"https://github.com/jsonzilla/vtt_to_srt3","last_synced_at":"2025-10-26T12:02:57.829Z","repository":{"id":40570892,"uuid":"197797655","full_name":"jsonzilla/vtt_to_srt3","owner":"jsonzilla","description":"python script to convert all SIMPLE vtt files in a directory and all of its subdirectories to srt subtitle format ","archived":false,"fork":false,"pushed_at":"2024-10-21T11:31:05.000Z","size":107,"stargazers_count":66,"open_issues_count":0,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-17T00:40:51.410Z","etag":null,"topics":["srt","srt-subtitle-format","vtt","vtt-files"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/vtt-to-srt3/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsonzilla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jsonzilla"}},"created_at":"2019-07-19T15:23:56.000Z","updated_at":"2025-06-24T19:07:55.000Z","dependencies_parsed_at":"2024-06-21T16:53:20.787Z","dependency_job_id":"77e4cde7-3c6c-41bc-ba35-38c8d2d23147","html_url":"https://github.com/jsonzilla/vtt_to_srt3","commit_stats":{"total_commits":74,"total_committers":11,"mean_commits":"6.7272727272727275","dds":0.7162162162162162,"last_synced_commit":"00ce11751cae7e654aa22e35c6b4441580b067d0"},"previous_names":["jsonzilla/vtt-to-srt.py"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jsonzilla/vtt_to_srt3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fvtt_to_srt3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fvtt_to_srt3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fvtt_to_srt3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fvtt_to_srt3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsonzilla","download_url":"https://codeload.github.com/jsonzilla/vtt_to_srt3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fvtt_to_srt3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281092779,"owners_count":26442440,"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","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["srt","srt-subtitle-format","vtt","vtt-files"],"created_at":"2025-01-27T05:51:49.994Z","updated_at":"2025-10-26T12:02:57.801Z","avatar_url":"https://github.com/jsonzilla.png","language":"Python","funding_links":["https://github.com/sponsors/jsonzilla"],"categories":[],"sub_categories":[],"readme":"# vtt_to_srt3\r\nConvert vtt files to srt subtitle format\r\n\u003e For Python 3.x\r\n  * [you can get a new version for Python 2.7 here](https://github.com/jsonzilla/vtt_to_srt2)\r\n  * [you can get the old version for Python 2.7 here](https://github.com/jansenicus/vtt-to-srt.py)\r\n\r\n## Docs\r\n[https://jsonzilla.github.io/vtt_to_srt3/](https://jsonzilla.github.io/vtt_to_srt3/)\r\n\r\n\r\n## Installation\r\n```shell\r\npip install vtt_to_srt3\r\n```\r\n\r\n```cmd\r\npython -m pip install vtt_to_srt3\r\n```\r\n\r\n## Usage from terminal\r\n\r\n```shell\r\nusage: vtt_to_srt [-h] [-r] [-e ENCODING] [-rf] pathname\r\n\r\nConvert vtt files to srt files\r\n\r\npositional arguments:\r\n  pathname              a file or directory with files to be converted\r\n\r\noptions:\r\n  -h, --help            show this help message and exit\r\n  -r, --recursive       walk path recursively\r\n  -e ENCODING, --encoding ENCODING\r\n                        encoding format for input and output files\r\n  -rf, --remove_format  remove the format tags like bold \u0026 italic from output files\r\n```\r\n\r\n## Usage as a lib\r\n\r\nConvert vtt file\r\n```python\r\nfrom vtt_to_srt.vtt_to_srt import ConvertFile\r\n\r\nconvert_file = ConvertFile(\"input_utf8.vtt\", \"utf-8\")\r\nconvert_file.convert()\r\n```\r\n\r\nRecursively convert all vtt files in directory\r\n```python\r\nfrom vtt_to_srt.vtt_to_srt import ConvertDirectories\r\n\r\nrecursive = False\r\nconvert_file = ConvertDirectories(\".\", recursive, \"utf-8\")\r\nconvert_file.convert()\r\n```\r\n\r\n## Manual build\r\n\r\nGenerate wheel\r\n```shell\r\npython -m pip install --upgrade setuptools wheel build\r\npython -m build\r\n```\r\n\r\n## Generate documentation\r\n\r\nGenerate documentation\r\n```shell\r\npython -m pip install pdoc3\r\npdoc --html vtt_to_srt/vtt_to_srt.py -o docs\r\nmv docs/vtt_to_srt.html docs/index.html\r\nrm -rm docs/vtt_to_srt\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonzilla%2Fvtt_to_srt3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonzilla%2Fvtt_to_srt3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonzilla%2Fvtt_to_srt3/lists"}