{"id":20185030,"url":"https://github.com/hasferrr/video-chapter-generator","last_synced_at":"2025-08-11T17:10:51.871Z","repository":{"id":154687631,"uuid":"573999221","full_name":"hasferrr/video-chapter-generator","owner":"hasferrr","description":"XML file chapter generator for MKV video file.","archived":false,"fork":false,"pushed_at":"2024-06-06T02:37:18.000Z","size":411,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T13:50:44.262Z","etag":null,"topics":["mkvtoolnix","python","xml-generator"],"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/hasferrr.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":"2022-12-04T04:56:39.000Z","updated_at":"2024-09-05T17:29:06.000Z","dependencies_parsed_at":"2023-08-18T02:46:34.474Z","dependency_job_id":null,"html_url":"https://github.com/hasferrr/video-chapter-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hasferrr/video-chapter-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fvideo-chapter-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fvideo-chapter-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fvideo-chapter-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fvideo-chapter-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasferrr","download_url":"https://codeload.github.com/hasferrr/video-chapter-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fvideo-chapter-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269922906,"owners_count":24496999,"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-08-11T02:00:10.019Z","response_time":75,"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":["mkvtoolnix","python","xml-generator"],"created_at":"2024-11-14T03:10:44.797Z","updated_at":"2025-08-11T17:10:51.812Z","avatar_url":"https://github.com/hasferrr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video Chapter Generator\n\n(Python Script) This script consumes **input.csv** file and produces a video chapter file for the MKV format video **output.xml**\n\n![chapters](example/chapter-file.jpg)\n\n## Usage\n\n```bash\npython app.py file.csv output.xml\n```\n\n## Description\n\n### Input\n\nThe contents of the input file must be exactly as in the file [test.csv](example/test.csv)\n\n- 1st column: timestamp\n- 2nd column: chapters name\n\n```c\n00:00:00,Introduction\n00:00:24,Object-Oriented Programming\n00:01:00,Tuples\n00:18:39,Dictionaries\n00:26:45,Classes and Objects\n00:39:18,Instance Methods\n00:59:49,Validating Attributes\n01:04:25,The String Method\n01:11:13,Custom Methods\n01:20:43,\"Properties, Getters, and Setters\"\n01:42:33,Types and Classes\n01:50:29,Class Methods\n02:21:10,Inheritance\n02:35:29,Operator Overloading\n02:50:03,Conclusion\n```\n\n### Process\n\n**input.csv** file will be processed or formatted into an **output.xml** file for the chapter file.\n\n### Output\n\nExample output file: [test-output.xml](example/test-output.xml)\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003c!-- \u003c!DOCTYPE Chapters SYSTEM \"matroskachapters.dtd\"\u003e --\u003e\n\u003cChapters\u003e\n  \u003cEditionEntry\u003e\n    \u003cEditionFlagDefault\u003e1\u003c/EditionFlagDefault\u003e\n    \u003cEditionUID\u003e123456789012345678\u003c/EditionUID\u003e\n    \u003cChapterAtom\u003e\n      \u003cChapterUID\u003e3000000001\u003c/ChapterUID\u003e\n      \u003cChapterTimeStart\u003e00:00:00.000000000\u003c/ChapterTimeStart\u003e\n      \u003cChapterDisplay\u003e\n        \u003cChapterString\u003eIntroduction\u003c/ChapterString\u003e\n        \u003cChapterLanguage\u003eund\u003c/ChapterLanguage\u003e\n        \u003cChapLanguageIETF\u003eund\u003c/ChapLanguageIETF\u003e\n      \u003c/ChapterDisplay\u003e\n    \u003c/ChapterAtom\u003e\n\n    ...\n\n    \u003cChapterAtom\u003e\n      \u003cChapterUID\u003e3000000015\u003c/ChapterUID\u003e\n      \u003cChapterTimeStart\u003e02:50:03.000000000\u003c/ChapterTimeStart\u003e\n      \u003cChapterDisplay\u003e\n        \u003cChapterString\u003eConclusion\u003c/ChapterString\u003e\n        \u003cChapterLanguage\u003eund\u003c/ChapterLanguage\u003e\n        \u003cChapLanguageIETF\u003eund\u003c/ChapLanguageIETF\u003e\n      \u003c/ChapterDisplay\u003e\n    \u003c/ChapterAtom\u003e\n  \u003c/EditionEntry\u003e\n\u003c/Chapters\u003e\n```\n\n### MKV\n\nThe output is in the form of an **output.xml** file that can be embedded/merged into an **MKV** format video file.\n\nSee :\n\n- [MKVToolNix GUI](https://mkvtoolnix.download/)\n- [mkvmerge documentation](https://mkvtoolnix.download/doc/mkvmerge.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasferrr%2Fvideo-chapter-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasferrr%2Fvideo-chapter-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasferrr%2Fvideo-chapter-generator/lists"}