{"id":17321963,"url":"https://github.com/petercorke/vtt-clean","last_synced_at":"2025-03-27T03:21:22.369Z","repository":{"id":46299366,"uuid":"329819740","full_name":"petercorke/vtt-clean","owner":"petercorke","description":"Python script to clean VTT files generated by Microsoft Stream","archived":false,"fork":false,"pushed_at":"2021-01-15T05:52:16.000Z","size":2,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-01T08:45:43.616Z","etag":null,"topics":["captioning","microsoft-stream","timecode","vtt","vtt-subtitles"],"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/petercorke.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":"2021-01-15T05:40:52.000Z","updated_at":"2023-02-04T22:32:43.000Z","dependencies_parsed_at":"2022-09-19T08:50:16.433Z","dependency_job_id":null,"html_url":"https://github.com/petercorke/vtt-clean","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/petercorke%2Fvtt-clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petercorke%2Fvtt-clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petercorke%2Fvtt-clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petercorke%2Fvtt-clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petercorke","download_url":"https://codeload.github.com/petercorke/vtt-clean/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773377,"owners_count":20669765,"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":["captioning","microsoft-stream","timecode","vtt","vtt-subtitles"],"created_at":"2024-10-15T13:40:29.218Z","updated_at":"2025-03-27T03:21:22.346Z","avatar_url":"https://github.com/petercorke.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VTT-clean\n\nRemove cruft from a Microsoft Stream generated transcript file.\n\nTurns this\n\n```\nWEBVTT\n\nNOTE duration:\"00:09:50.5320000\"\n\nNOTE language:en-us\n\nNOTE Confidence: 0.892255544662476\n\n6c478ecc-cbcd-4c6b-9a25-df9adba3799f\n00:00:05.510 --\u003e 00:00:08.516\nLet's discuss intelligence here.\nExamples of two organisms, both\n\nNOTE Confidence: 0.892255544662476\n\nde8e238d-692c-472c-9200-e502e9bd2825\n00:00:08.516 --\u003e 00:00:12.190\nof which are intelligent but in\nvery different ways. We use\n\nNOTE Confidence: 0.892255544662476\n\naa265655-5aef-4fb2-987f-1da913dda503\n00:00:12.190 --\u003e 00:00:15.530\nAlbert Einstein as an example\nfor all human beings, and\n\nNOTE Confidence: 0.892255544662476\n```\n\ninto this\n\n```\nWEBVTT\n\n00:00:05.510 --\u003e 00:00:08.516\nLet's discuss intelligence here. Examples of two organisms, both\n\n00:00:08.516 --\u003e 00:00:12.190\nof which are intelligent but in very different ways. We use\n\n00:00:12.190 --\u003e 00:00:15.530\nAlbert Einstein as an example for all human beings, and\n```\n\n* removes the `NOTE` lines\n* remove duplicated blank lines\n* removes the big hex strings which I think are some kind of autogenerated cue identifier or label for the following time coded text.\n* merges the short lines into longer ones with proper text wrapping\n\n## Run it\n\n```\npython original.vtt \u003e vtt_clean.vtt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetercorke%2Fvtt-clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetercorke%2Fvtt-clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetercorke%2Fvtt-clean/lists"}